DescriptionStack-based buffer overflow in the _TIFFVGetField function in libtiff 4.0.6 and earlier allows remote attackers to crash the application via a crafted tiff.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDLA-692-1, DLA-693-1

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
tiff (PTS)buster4.1.0+git191117-2~deb10u4fixed
buster (security)4.1.0+git191117-2~deb10u8fixed
bullseye (security), bullseye4.2.0-1+deb11u4fixed
sid, trixie4.5.1+git230720-1fixed

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

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs


thumbnail(1) was removed in 4.0.6-3 and DSA 3762, marking as fixed although technically still present in the source package
_TIFFVGetField isn't specific to thumbnail tool, there's to enhance that,
but treating this bug (as related to thumbmail) as fixed.
This seems a duplicate of CVE-2015-7554 ( ). At the very least, a generic fix for CVE-2015-7554 would also fix this one as the illegal write is at the exact same location in the code.
Reproducer file here:
With 4.0.6-2 (sid), I get a segfault.
With 4.0.3-12.3+deb8u1 (jessie), I get a segfault.
With 3.9.6-11+deb7u1 (wheezy), I get a failure: MissingRequired: ../CVE-2016-5318.tiff: TIFF directory is missing required "StripOffsets" field.

Search for package or bug name: Reporting problems