LibTIFF vulnerabilities
64 known CVE vulnerabilities in LibTIFF, translated and rated.
- 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.
- CVE-2017-7599High
LibTIFF version 4.0.7 has an undefined behavior issue when values are outside the range of representable values of type short. This may allow remote attackers to cause a denial of service (application crash) or possibly have unspecified other impact via a crafted image.
- CVE-2017-7598High
The tif_dirread.c file in LibTIFF 4.0.7 may have a divide-by-zero error that allows remote attackers to cause application crashes via a crafted image.
- CVE-2017-7597High
The tif_dirread.c in LibTIFF 4.0.7 has an undefined behavior issue related to 'outside the range of representable values of type float', 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-7596High
LibTIFF version 4.0.7 has an undefined behavior issue related to 'outside the range of representable values of type float', which may lead to application crashes or other unspecified impacts via a crafted image.
- CVE-2017-7592High
The putagreytile function in tif_getimage.c in LibTIFF 4.0.7 has a left-shift undefined behavior issue, which might allow remote attackers to cause a denial of service (application crash) or possibly have unspecified other impact via a crafted image.
- CVE-2016-10272High
LibTIFF version 4.0.7 allows remote attackers to cause a denial of service (heap-based buffer overflow) or possibly have unspecified other impact via a crafted TIFF image.
- CVE-2016-10271High
LibTIFF version 4.0.7 contains a vulnerability that allows remote attackers to cause a denial of service through a crafted TIFF image. The issue relates to buffer over-read and buffer overflow errors.
- CVE-2016-10270High
LibTIFF version 4.0.7 allows remote attackers to cause a denial of service (heap-based buffer over-read) or possibly have unspecified other impact via a crafted TIFF image.
- CVE-2016-10269High
LibTIFF versions from 4.0.0alpha4 to 4.0.7 allow remote attackers to cause a denial of service (heap-based buffer over-read) or possibly have unspecified other impact via a crafted TIFF image.
- CVE-2016-10268High
LibTIFF version 4.0.7 contains a vulnerability that allows remote attackers to cause a denial of service through a crafted TIFF image. The issue relates to an integer underflow and heap-based buffer under-read.
- CVE-2016-10094High
Off-by-one error in the t2p_readwrite_pdf_image_tile function in tools/tiff2pdf.c in LibTIFF 4.0.7 allows remote attackers to have unspecified impact via a crafted image.
- CVE-2016-10093High
Integer overflow in tools/tiffcp.c in LibTIFF versions 4.0.7 and 3.9.x allows remote attackers to have unspecified impact via a crafted image, leading to a heap-based buffer overflow.
- CVE-2016-10092High
Heap-based buffer overflow in the readContigStripsIntoBuffer function in tif_unix.c in LibTIFF allows remote attackers to have unspecified impact via a crafted image. Versions 4.0.7 and 3.9.x up to 4.0.6 are affected.
- CVE-2016-9453High
The t2p_readwrite_pdf_image_tile function in LibTIFF allows remote attackers to cause a denial of service (out-of-bounds write and crash) or possibly execute arbitrary code via a JPEG file with a TIFFTAG_JPEGTABLES of length one.
- CVE-2016-9448High
The TIFFFetchNormalTag function in LibTiff 4.0.6 allows remote attackers to cause a denial of service (NULL pointer dereference and crash) by setting the tags TIFF_SETGET_C16ASCII or TIFF_SETGET_C32_ASCII to values that access 0-byte arrays.
- CVE-2017-5563High
LibTIFF version 4.0.7 is vulnerable to a heap-based buffer over-read in tif_lzw.c, resulting in DoS or code execution via a crafted bmp image to tools/bmp2tiff.
- CVE-2016-5323High
The _TIFFFax3fillruns function in libtiff before version 4.0.6 allows remote attackers to cause a denial of service (divide-by-zero error and application crash) via a crafted Tiff image.
- CVE-2016-9297High
The TIFFFetchNormalTag function in LibTiff 4.0.6 allows remote attackers to cause a denial of service (out-of-bounds read) via crafted TIFF_SETGET_C16ASCII or TIFF_SETGET_C32_ASCII tag values.
- CVE-2017-5225High
LibTIFF version 4.0.7 is vulnerable to a heap buffer overflow in the tools/tiffcp resulting in DoS or code execution via a crafted BitsPerSample value.
- CVE-2015-8870High
Integer overflow in tools/bmp2tiff.c in LibTIFF before 4.0.4 allows remote attackers to cause a denial of service (heap-based buffer over-read), or possibly obtain sensitive information from process memory, via crafted width and length values in RLE4 or RLE8 data in a BMP file.
- CVE-2016-3658High
The TIFFWriteDirectoryTagLongLong8Array function in the tiffset tool in LibTIFF 4.0.6 and earlier allows remote attackers to cause a denial of service (out-of-bounds read) via vectors involving the ma variable.
- CVE-2016-3634High
The tagCompare function in tif_dirinfo.c in the thumbnail tool in LibTIFF 4.0.6 and earlier allows remote attackers to cause a denial of service (out-of-bounds read) via vectors related to field_tag matching.
- CVE-2016-3633High
The setrow function in the thumbnail tool in LibTIFF 4.0.6 and earlier allows remote attackers to cause a denial of service (out-of-bounds read) via vectors related to the src variable.
- CVE-2016-3631High
The cpStrips and cpTiles functions in the thumbnail tool in LibTIFF 4.0.6 and earlier allow remote attackers to cause a denial of service (out-of-bounds read) via vectors related to the bytecounts[] array variable.
- CVE-2016-3624High
The cvtClump function in the rgb2ycbcr tool in LibTIFF 4.0.6 and earlier allows remote attackers to cause a denial of service (out-of-bounds write) by setting the "-v" option to -1.
- CVE-2016-3623High
The rgb2ycbcr tool in LibTIFF 4.0.6 and earlier allows remote attackers to cause a denial of service (divide-by-zero) by setting the (1) v or (2) h parameter to 0.
- CVE-2016-3621High
The LZWEncode function in the bmp2tiff tool in LibTIFF 4.0.6 and earlier, when the '-c lzw' option is used, allows remote attackers to cause a denial of service (buffer over-read) via a crafted BMP image.
- CVE-2016-3620High
The ZIPEncode function in the bmp2tiff tool in LibTIFF 4.0.6 and earlier, when the '-c zip' option is used, allows remote attackers to cause a denial of service (buffer over-read) via a crafted BMP image.
- CVE-2016-3991High
A heap-based buffer overflow in the loadImage function in the tiffcrop tool in LibTIFF 4.0.6 and earlier allows remote attackers to cause a denial of service or execute arbitrary code via a crafted TIFF image with zero tiles.
- CVE-2016-3990High
A heap-based buffer overflow in the horizontalDifference8 function in tif_pixarlog.c in LibTIFF 4.0.6 and earlier can be exploited by remote attackers. Attackers can cause a denial of service (crash) or execute arbitrary code via a crafted TIFF image to tiffcp.
- CVE-2016-3945High
Multiple integer overflows in the cvt_by_strip and cvt_by_tile functions in the tiff2rgba tool in LibTIFF 4.0.6 and earlier, when -b mode is enabled, allow remote attackers to cause a denial of service (crash) or execute arbitrary code via a crafted TIFF image, which triggers an out-of-bounds write.
- CVE-2016-3632High
The _TIFFVGetField function in tif_dirinfo.c in LibTIFF version 4.0.6 and earlier allows remote attackers to cause a denial of service (out-of-bounds write) or execute arbitrary code via a crafted TIFF image.
- CVE-2023-3164Low
A heap-buffer-overflow vulnerability was found in LibTIFF in the extractImageSection() function at tools/tiffcrop.c:7916 and tools/tiffcrop.c:7801, which can lead to denial of service via a crafted TIFF file.
- CVE-2024-7006Medium
A null pointer dereference flaw was found in Libtiff via `tif_dirinfo.c`. This may allow an attacker to trigger memory allocation failures, causing a segmentation fault and application crash.
- CVE-2026-52490Critical
A vulnerability in the libtiff library allows an attacker to execute arbitrary code via the process_command_opts() function in tools/tiffcrop.c.
- CVE-2016-6223Critical
The TIFFReadRawStrip1 and TIFFReadRawTile1 functions in libtiff before version 4.0.7 allow remote attackers to cause a denial of service (crash) or possibly obtain sensitive information via a negative index in a file-content buffer.
- CVE-2016-9540Critical
In libtiff version 4.0.6, there is an out-of-bounds write in the tiffcp tool that affects tiled images with odd tile width versus image width. This issue was reported as MSVR 35103, also known as 'cpStripToTile heap-buffer-overflow.'
- CVE-2016-9539Critical
The libtiff library version 4.0.6 has an out-of-bounds read in the readContigTilesIntoBuffer() function.
- CVE-2016-9538Critical
In libtiff version 4.0.6, there is a vulnerability related to a buffer overflow in the readContigStripsIntoBuffer() function, leading to reading an undefined buffer.
- CVE-2016-9537Critical
The libtiff library version 4.0.6 has out-of-bounds write vulnerabilities in the tiffcrop.c tool. Reported as MSVR 35093, MSVR 35096, and MSVR 35097.

