CVE-2016-9540: Buffer Overflow

Published Nov 22, 2016
·
Updated

It was found that tools/tiffcp.c in libtiff 4.0.6 has an out-of-bounds write on tiled images with odd tile width versus image width

Upstream patch:

https://github.com/vadz/libtiff/commit/5ad9d8016fbb60109302d558f7edb2cb2a3bb8e3

Other sources

tools/tiffcp.c in libtiff 4.0.6 has an out-of-bounds write on tiled images with odd tile width versus image width. Reported as MSVR 35103, aka "cpStripToTile heap-buffer-overflow."

Affected Software

2 affected componentsFixes available
LibTIFF libtiff=4.0.6
debian/tiff
4.0.2-6+deb7u94.0.3-12.3+deb8u24.0.7-1

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+deb7u9Fixed in 4.0.3-12.3+deb8u2Fixed in 4.0.7-1

Event History

Nov 22, 2016
CVE Published
via MITRE·07:00 PM
Data Sourced
via MITRE·07:00 PM
Description
Data Sourced
07:59 PM
RemedyDescriptionSeverityWeaknessAffected Software
Nov 23, 2016
Data Sourced
via Red Hat·10:29 AM
DescriptionSeverityAffected 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-9540?

CVE-2016-9540 is classified as a high severity vulnerability due to its potential for heap buffer overflow exploitation.

2

How do I fix CVE-2016-9540?

To mitigate CVE-2016-9540, update libtiff to version 4.1.0+git191117-2~deb10u4 or later.

3

Which versions of libtiff are affected by CVE-2016-9540?

CVE-2016-9540 affects libtiff version 4.0.6 and potentially earlier versions.

4

What type of vulnerability is CVE-2016-9540?

CVE-2016-9540 is an out-of-bounds write vulnerability occurring on tiled images with specific dimensions.

5

What are the consequences of exploiting CVE-2016-9540?

Exploitation of CVE-2016-9540 could allow an attacker to execute arbitrary code or crash the application.

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