CVE-2016-5319

NameCVE-2016-5319
DescriptionHeap-based buffer overflow in tif_packbits.c in libtiff 4.0.6 and earlier allows remote attackers to crash the application via a crafted bmp file.
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-693-1
NVD severitymedium (attack range: remote)
Debian Bugs842046

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.6-3medium842046
tiffsourcejessie4.0.3-12.3+deb8u2medium
tiffsourcewheezy4.0.2-6+deb7u7mediumDLA-693-1
tiff3source(unstable)(unfixed)medium
tiff3sourcewheezy(not affected)

Notes

[wheezy] - tiff3 <not-affected> (tools like bmp2tiff not shipped by tiff3 source package)
http://bugzilla.maptools.org/show_bug.cgi?id=2562
Reproducer http://bugzilla.maptools.org/attachment.cgi?id=652
Utility bmp2tiff has been removed from upstream LibTIFF
No patch available. Marked as wontfix by upstream.
bmp2tiff was removed in 4.0.6-3 and DSA 3762, marking as fixed although technically still present in the source package

Search for package or bug name: Reporting problems