CVE-2025-9900
HighCVSS 8.8Exploitation Probability (EPSS)
Low risk50th percentile - higher than 50% of all known CVEs
Summary
A flaw was found in Libtiff, a 'write-what-where' condition triggered when processing a specially crafted TIFF image file. By providing an abnormally large image height value in the file's metadata, an attacker can trick the library into writing attacker-controlled color data to an arbitrary memory location.
Risk Assessment
This memory corruption can be exploited to cause a denial of service (application crash) or to achieve arbitrary code execution with the permissions of the user, posing a serious risk to system confidentiality, integrity, and availability.
Recommendation
Immediately update Libtiff to the latest patched version. Until then, avoid processing untrusted TIFF files.
Other vulnerabilities in Libtiff
See all- CVE-2017-17973High
In LibTIFF version 4.0.8, there is a heap-based use-after-free vulnerability in the t2p_writeproc function in tiff2pdf.c.
- CVE-2017-17942High
In LibTIFF version 4.0.9, there is a heap-based buffer over-read in the function PackBitsEncode in tif_packbits.c.
- CVE-2017-17095High
The pal2rgb tool in LibTIFF 4.0.9 has a vulnerability that allows remote attackers to cause application crashes via a crafted TIFF file due to a heap-based buffer overflow.
- CVE-2017-12944High
The TIFFReadDirEntryArray function in LibTIFF 4.0.8 mishandles memory allocation for short files, potentially leading to application crashes during tiff2pdf invocation.
- CVE-2017-11335High
There is a heap based buffer overflow in LibTIFF 4.0.8 in tools/tiff2pdf.c triggered by a PlanarConfig=Contig image. This can lead to an out-of-bounds write and potentially to remote denial of service or arbitrary code execution attacks.
- CVE-2017-10688High
In LibTIFF version 4.0.8, there is an assertion abort in the TIFFWriteDirectoryTagCheckedLong8Array function in tif_dirwrite.c. Crafted input can lead to a remote denial of service attack.
- CVE-2017-9935High
In LibTIFF 4.0.8, there is a heap-based buffer overflow in the t2p_write_pdf function, which could lead to various damages. A crafted TIFF document can lead to out-of-bounds read, invalid free, or memory corruption, potentially allowing arbitrary code execution.
- CVE-2017-7602High
LibTIFF version 4.0.7 has a signed integer overflow, which might allow remote attackers to cause a denial of service (application crash) or possibly have unspecified other impact via a crafted image.
- CVE-2017-7601High
LibTIFF version 4.0.7 has an undefined behavior issue related to 'shift exponent too large for 64-bit type long', which may lead to application crashes.
- CVE-2017-7600High
LibTIFF version 4.0.7 has an undefined behavior issue related to values outside the range of representable values of type unsigned char, which may allow remote attackers to cause application crashes or possibly have unspecified other impacts via a crafted image.
Original NVD description (English source)
A flaw was found in Libtiff. This vulnerability is a "write-what-where" condition, triggered when the library processes a specially crafted TIFF image file. By providing an abnormally large image height value in the file's metadata, an attacker can trick the library into writing attacker-controlled color data to an arbitrary memory location. This memory corruption can be exploited to cause a denial of service (application crash) or to achieve arbitrary code execution with the permissions of the user.

