CVE-2017-12944

NameCVE-2017-12944
DescriptionThe TIFFReadDirEntryArray function in tif_read.c in LibTIFF 4.0.8 mishandles memory allocation for short files, which allows remote attackers to cause a denial of service (allocation failure and application crash) in the TIFFFetchStripThing function in tif_dirread.c during a tiff2pdf invocation.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, bugtraq, EDB, Metasploit, Red Hat, Ubuntu, Gentoo, SuSE, Mageia, GitHub code/issues, web search, more)
ReferencesDLA-1093-1
NVD severitymedium (attack range: remote)
Debian Bugs872607

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+deb8u4vulnerable
stretch (security), stretch4.0.8-2+deb9u1vulnerable
buster, sid4.0.8-5vulnerable
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)(unfixed)medium872607
tiffsourcewheezy4.0.2-6+deb7u16mediumDLA-1093-1
tiff3source(unstable)(unfixed)medium
tiff3sourcewheezy(not affected)

Notes

[wheezy] - tiff3 <not-affected> (Vulnerable code not present)
http://bugzilla.maptools.org/show_bug.cgi?id=2725
Fixed by: https://github.com/vadz/libtiff/commit/dc02f9050311a90b3c0655147cee09bfa7081cfc

Search for package or bug name: Reporting problems