Heap-based buffer overflow in LibTIFF - CVE-2012-4564
Published: November 11, 2012 / Updated: July 28, 2020
Vulnerability details
The vulnerability allows a remote attacker to execute arbitrary code on the target system.
The vulnerability exists due to a boundary error in ppm2tiff does not check the return value of the TIFFScanlineSize function, which. A remote attacker can use a crafted PPM image that triggers an integer overflow to trigger heap-based buffer overflow and execute arbitrary code on the target system.
Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.
Affected software
Amazon Linux AMI
Gentoo Linux
Slackware Linux
tiff (Alpine package)
How to mitigate CVE-2012-4564
External References
- http://lists.opensuse.org/opensuse-updates/2013-01/msg00076.html
- http://rhn.redhat.com/errata/RHSA-2012-1590.html
- http://secunia.com/advisories/51133
- http://www.debian.org/security/2012/dsa-2575
- http://www.openwall.com/lists/oss-security/2012/11/02/3
- http://www.openwall.com/lists/oss-security/2012/11/02/7
- http://www.osvdb.org/86878
- http://www.securityfocus.com/bid/56372
- http://www.ubuntu.com/usn/USN-1631-1
- https://bugzilla.redhat.com/show_bug.cgi?id=871700
- https://exchange.xforce.ibmcloud.com/vulnerabilities/79750