CVE-2016-3991

NameCVE-2016-3991
DescriptionHeap-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 (out-of-bounds write) or execute arbitrary code via a crafted TIFF image with zero tiles.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDLA-606-1, DLA-610-1, DSA-3762-1

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
tiff (PTS)bullseye (security), bullseye4.2.0-1+deb11u5fixed
bookworm, bookworm (security)4.5.0-6+deb12u1fixed
sid, trixie4.5.1+git230720-5fixed

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

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
tiffsourcewheezy4.0.2-6+deb7u6DLA-606-1
tiffsourcejessie4.0.3-12.3+deb8u2DSA-3762-1
tiffsource(unstable)4.0.7-1
tiff3sourcewheezy3.9.6-11+deb7u1DLA-610-1
tiff3source(unstable)(unfixed)unimportant

Notes

src:tiff3: built binary packages do not contain the TIFF tools
http://bugzilla.maptools.org/show_bug.cgi?id=2543
Reproducer http://bugs.fi/media/afl/libtiff/CVE-2016-3991.tif

Search for package or bug name: Reporting problems