CVE-2014-8127

NameCVE-2014-8127
DescriptionLibTIFF 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDSA-3273-1
Debian Bugs776185

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
tiff (PTS)jessie, jessie (lts)4.0.3-12.3+deb8u16vulnerable
stretch (security)4.0.8-2+deb9u8fixed
stretch (lts), stretch4.0.8-2+deb9u11fixed
buster4.1.0+git191117-2~deb10u4fixed
buster (security)4.1.0+git191117-2~deb10u9fixed
bullseye (security), bullseye4.2.0-1+deb11u5fixed
bookworm (security), bookworm4.5.0-6+deb12u1fixed
sid, trixie4.5.1+git230720-4fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
tiffsourcewheezy4.0.2-6+deb7u4DSA-3273-1
tiffsource(unstable)4.0.6-3unimportant776185
tiff3source(unstable)(not affected)

Notes

- 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

Search for package or bug name: Reporting problems