Name | CVE-2014-8127 |
Description | LibTIFF 4.0.3 allows remote attackers to cause a denial of service (out-of-bounds read and crash) via a crafted TIFF image to the (1) checkInkNamesString function in tif_dir.c in the thumbnail tool, (2) compresscontig function in tiff2bw.c in the tiff2bw tool, (3) putcontig8bitCIELab function in tif_getimage.c in the tiff2rgba tool, LZWPreDecode function in tif_lzw.c in the (4) tiff2ps or (5) tiffdither tool, (6) NeXTDecode function in tif_next.c in the tiffmedian tool, or (7) TIFFWriteDirectoryTagLongLong8Array function in tif_dirwrite.c in the tiffset tool. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
References | DSA-3273-1 |
Debian Bugs | 776185 |
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|---|---|---|
tiff (PTS) | bullseye (security), bullseye | 4.2.0-1+deb11u5 | fixed |
bookworm, bookworm (security) | 4.5.0-6+deb12u1 | fixed | |
sid, trixie | 4.5.1+git230720-5 | fixed |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|---|---|---|---|---|---|
tiff | source | wheezy | 4.0.2-6+deb7u4 | DSA-3273-1 | ||
tiff | source | (unstable) | 4.0.6-3 | unimportant | 776185 | |
tiff3 | source | (unstable) | (not affected) |
- tiff3 <not-affected> (The tiff3 source package doesn't build the TIFF tools)
Advisory: http://www.conostix.com/pub/adv/CVE-2014-8127-LibTIFF-Out-of-bounds_Reads.txt
http://bugzilla.maptools.org/show_bug.cgi?id=2484 (thumbnail)
Fix https://github.com/vadz/libtiff/commit/3996fa0f84f4a8b7e65fe4b8f0681711022034ea
http://bugzilla.maptools.org/show_bug.cgi?id=2485 (tiff2bw)
http://bugzilla.maptools.org/show_bug.cgi?id=2486 (tiff2rgba)
http://bugzilla.maptools.org/show_bug.cgi?id=2496 (tiff2ps and tiffdither)
http://bugzilla.maptools.org/show_bug.cgi?id=2497 (tiffmedian)
http://bugzilla.maptools.org/show_bug.cgi?id=2500 (tiffset) [not fixed yet in CVS HEAD]
4.0.3-12.1 fixes all issues except 2500
2500 is fixed by upstream as per 2016-10-25
Crash in a frontend tool w/o potential for code injection, marked as unimportant