Heap-based buffer overflow in LibTIFF - CVE-2012-4564

 

Heap-based buffer overflow in LibTIFF - CVE-2012-4564

Published: November 11, 2012 / Updated: July 28, 2020


Vulnerability identifier: #VU32749
CSH Severity: Medium
CVSS v4.0: 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/E:U/U:Green
CVE-ID: CVE-2012-4564
CWE-ID: CWE-122
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: LibTIFF
Affected software:
LibTIFF

Detailed vulnerability description

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.


How to mitigate CVE-2012-4564

Cybersecurity Help is currently unaware of any official solution to address this vulnerability.

Sources