CVE-2016-5652: Buffer Overflow

Published Oct 27, 2016
·
Updated

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

2 affected componentsFixes available
LibTIFF libtiff=4.0.6
debian/tiff
4.0.2-6+deb7u74.0.3-12.3+deb8u24.0.6-3

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade debian/tiff to 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
  2. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Patch b5d6803f0898e931cf772d3d0755704ab8488e63

Event History

Oct 27, 2016
Data Sourced
via Red Hat·08:35 AM
DescriptionSeverityAffected Software
Jan 6, 2017
CVE Published
via MITRE·09:00 PM
Data Sourced
via MITRE·09:00 PM
DescriptionWeakness
Data Sourced
09:59 PM
DescriptionSeverityWeaknessAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Peer vulnerabilities

Found alongside the following vulnerabilities.

Frequently Asked Questions

1

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.

2

How do I fix CVE-2016-5652?

To mitigate CVE-2016-5652, update affected LibTIFF packages to the latest versions provided by your distribution.

3

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.

4

Which versions of LibTIFF are affected by CVE-2016-5652?

CVE-2016-5652 affects LibTIFF version 4.0.6 and earlier versions.

5

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.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203