CVE-2016-5652: Buffer Overflow
An exploitable heap based buffer overflow exists in the handling of TIFF images in LibTIFF’s TIFF2PDF tool. A crafted TIFF document can lead to a heap based buffer overflow resulting in remote code execution. Vulnerability can be triggered via a saved TIFF file delivered by other means.
External References:
http://www.talosintelligence.com/reports/TALOS-2016-0187/
Upstream fix:
https://github.com/vadz/libtiff/commit/b5d6803f0898e931cf772d3d0755704ab8488e63
Other sources
An exploitable heap-based buffer overflow exists in the handling of TIFF images in LibTIFF's TIFF2PDF tool. A crafted TIFF document can lead to a heap-based buffer overflow resulting in remote code execution. Vulnerability can be triggered via a saved TIFF file delivered by other means.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
debian/tiffto a version that resolves this vulnerability.Fixed in 4.0.2-6+deb7u7Fixed in 4.0.3-12.3+deb8u2Fixed in 4.0.6-3 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Patch b5d6803f0898e931cf772d3d0755704ab8488e63
Event History
Frequently Asked Questions
What is the severity of CVE-2016-5652?
CVE-2016-5652 is classified as a critical vulnerability due to its potential for remote code execution.
How do I fix CVE-2016-5652?
To mitigate CVE-2016-5652, update affected LibTIFF packages to the latest versions provided by your distribution.
What kind of attack is possible with CVE-2016-5652?
CVE-2016-5652 enables attackers to execute arbitrary code on a system through a specially crafted TIFF image.
Which versions of LibTIFF are affected by CVE-2016-5652?
CVE-2016-5652 affects LibTIFF version 4.0.6 and earlier versions.
Can CVE-2016-5652 be exploited through email attachments?
Yes, CVE-2016-5652 can be exploited by delivering a malicious TIFF file via email or other means.