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 bugzilla/CVE, Mageia, GitHub code/issues, web search, more)
ReferencesDLA-1093-1, DSA-4100-1
NVD severitymedium (attack range: remote)
Debian Bugs872607

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
tiff (PTS)jessie4.0.3-12.3+deb8u5fixed
jessie (security)4.0.3-12.3+deb8u7fixed
stretch4.0.8-2+deb9u2fixed
stretch (security)4.0.8-2+deb9u4fixed
buster, sid4.0.10-3fixed

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

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
tiffsource(unstable)4.0.8-6medium872607
tiffsourcejessie4.0.3-12.3+deb8u5mediumDSA-4100-1
tiffsourcestretch4.0.8-2+deb9u2mediumDSA-4100-1
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