Heap-based buffer overflow in LibTIFF - CVE-2009-5022

 

Heap-based buffer overflow in LibTIFF - CVE-2009-5022

Published: May 3, 2011 / Updated: May 21, 2022


Vulnerability identifier: #VU45090
CSH Severity: Medium
CVSS v4: 6.9 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N]
CVE-ID: CVE-2009-5022
CWE-ID: CWE-122
Exploitation vector: Remote access
Exploit availability: Public exploit is available

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

LibTIFF

How to mitigate CVE-2009-5022

Install update from vendor's website.

LibTIFF - update to 3.9.5

Links to Public Exploits and PoC-codes

External References

Related Security Bulletins