CVE-2015-8668

NameCVE-2015-8668
DescriptionHeap-based buffer overflow in the PackBitsPreEncode function in tif_packbits.c in bmp2tiff in libtiff 4.0.6 and earlier allows remote attackers to execute arbitrary code or cause a denial of service via a large width field in a BMP image.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, bugtraq, EDB, Metasploit, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, Mageia, GitHub code/issues, web search, more)
ReferencesDLA-693-1
NVD severityhigh
Debian Bugs842046

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
tiff (PTS)stretch4.0.8-2+deb9u5fixed
stretch (security)4.0.8-2+deb9u7fixed
buster, buster (security)4.1.0+git191117-2~deb10u2fixed
bullseye4.2.0-1fixed
bookworm, sid4.3.0-2fixed

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

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
tiffsourcewheezy4.0.2-6+deb7u7DLA-693-1
tiffsourcejessie4.0.3-12.3+deb8u2
tiffsource(unstable)4.0.6-3842046
tiff3sourcewheezy(not affected)
tiff3source(unstable)(unfixed)

Notes

[wheezy] - tiff3 <not-affected> (Does not ship libtiff tools)
http://bugzilla.maptools.org/show_bug.cgi?id=2563
Red Hat say it's only OOB read: https://bugzilla.redhat.com/show_bug.cgi?id=1294425#c1
Red Hat's patch is partially incorrect according to upstream
Issue was also marked as wontfix, because bmp2tiff utility has been removed
http://bugzilla.maptools.org/show_bug.cgi?id=2563#c4
Reproducer file here: http://bugzilla.maptools.org/attachment.cgi?id=677
bmp2tiff was removed in 4.0.6-3 and DSA 3762, marking as fixed although technically still present in the source package

Search for package or bug name: Reporting problems