CWE
119 787
Advisory Published
Updated

CVE-2016-9540: Buffer Overflow

First published: Tue Nov 22 2016(Updated: )

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."

Credit: cve@mitre.org

Affected SoftwareAffected VersionHow to fix
debian/tiff
4.1.0+git191117-2~deb10u4
4.1.0+git191117-2~deb10u8
4.2.0-1+deb11u4
4.5.0-6
4.5.1+git230720-1
libtiff=4.0.6

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • 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.

  • How do I fix CVE-2016-9540?

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

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

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

  • 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.

  • 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.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203