Heap-based buffer overflow in LibTIFF - CVE-2009-5022
Published: May 3, 2011 / Updated: May 21, 2022
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 Heap-based buffer overflow in tif_ojpeg.c in the OJPEG decoder in LibTIFF before 3.9.5. A remote attacker can use a crafted TIFF file. 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
Ubuntu
libtiff4 (Ubuntu package)
How to mitigate CVE-2009-5022
libtiff4 (Ubuntu package) - addressed in versions 3.9.2-2ubuntu0.7, 3.9.4-2ubuntu0.4
Links to Public Exploits and PoC-codes
External References
- http://bugzilla.maptools.org/show_bug.cgi?id=1999
- http://lists.fedoraproject.org/pipermail/package-announce/2011-April/058478.html
- http://openwall.com/lists/oss-security/2011/04/12/10
- http://secunia.com/advisories/44271
- http://secunia.com/advisories/50726
- http://security.gentoo.org/glsa/glsa-201209-02.xml
- http://securitytracker.com/id?1025380
- http://www.debian.org/security/2011/dsa-2256
- http://www.mandriva.com/security/advisories?name=MDVSA-2011:078
- http://www.redhat.com/support/errata/RHSA-2011-0452.html
- http://www.remotesensing.org/libtiff/v3.9.5.html
- http://www.securityfocus.com/bid/47338
- http://www.ubuntu.com/usn/USN-1120-1
- http://www.vupen.com/english/advisories/2011/1014
- http://www.vupen.com/english/advisories/2011/1082
- https://bugzilla.redhat.com/show_bug.cgi?id=695885
- https://exchange.xforce.ibmcloud.com/vulnerabilities/66774