CVE-2016-9297

NameCVE-2016-9297
DescriptionThe TIFFFetchNormalTag function in LibTiff 4.0.6 allows remote attackers to cause a denial of service (out-of-bounds read) via crafted TIFF_SETGET_C16ASCII or TIFF_SETGET_C32_ASCII tag values.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, bugtraq, EDB, Metasploit, Red Hat, Ubuntu, Gentoo, SuSE, Mageia, GitHub code/issues, web search, more)
ReferencesDLA-716-1, DSA-3762-1
NVD severitymedium (attack range: remote)
Debian Bugs844226

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
tiff (PTS)wheezy4.0.2-6+deb7u5vulnerable
wheezy (security)4.0.2-6+deb7u16fixed
jessie (security), jessie4.0.3-12.3+deb8u4fixed
stretch (security), stretch4.0.8-2+deb9u1fixed
buster, sid4.0.8-5fixed
tiff3 (PTS)wheezy3.9.6-11fixed
wheezy (security)3.9.6-11+deb7u8fixed

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

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
tiffsource(unstable)4.0.7-1medium844226
tiffsourcejessie4.0.3-12.3+deb8u2mediumDSA-3762-1
tiffsourcewheezy4.0.2-6+deb7u8mediumDLA-716-1
tiff3source(unstable)(unfixed)medium
tiff3sourcewheezy(not affected)

Notes

[wheezy] - tiff3 <not-affected> (Unreproducible)
http://bugzilla.maptools.org/show_bug.cgi?id=2590
http://www.openwall.com/lists/oss-security/2016/11/12/2
Patch https://github.com/vadz/libtiff/commit/30c9234c7fd0dd5e8b1e83ad44370c875a0270ed
Reproducible with valgrind in wheezy with 4.0.2-6+deb7u7
Reproducible with valgrind in jessie with 4.0.3-12.3+deb8u1
When fixing this CVE make sure to make the fix complete and not
introduce CVE-2016-9448 / http://bugzilla.maptools.org/show_bug.cgi?id=2593
Fix in 4.0.7 is complete.
Patch CVE-2016-9448: https://github.com/vadz/libtiff/commit/89406285f318ffad27af4b200204394b2ee6ba5e

Search for package or bug name: Reporting problems