Stack-based buffer overflow in LibTIFF - CVE-2012-5581
Published: January 5, 2013 / 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 when processing a crafted DOTRANGE tag in a TIFF image. A remote unauthenticated attacker can trigger stack-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
tiff (Alpine package)
How to mitigate CVE-2012-5581
tiff (Alpine package) - update to 3.9.6-r2
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/51491
- http://www.debian.org/security/2012/dsa-2589
- http://www.openwall.com/lists/oss-security/2012/11/28/1
- http://www.securityfocus.com/bid/56715
- http://www.ubuntu.com/usn/USN-1655-1
- https://bugzilla.redhat.com/show_bug.cgi?id=867235
- https://exchange.xforce.ibmcloud.com/vulnerabilities/80339