CVE-2016-9540: Buffer Overflow
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
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+deb7u9Fixed in 4.0.3-12.3+deb8u2Fixed in 4.0.7-1
Event History
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.