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

 

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

Published: August 13, 2012 / Updated: July 28, 2020


Vulnerability identifier: #VU32773
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-2012-3401
CWE-ID: CWE-122
Exploitation vector: Remote access
Exploit availability: No public exploit 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 The t2p_read_tiff_init function in tiff2pdf (tools/tiff2pdf.c) in LibTIFF 4.0.2 and earlier does not properly initialize the T2P context struct pointer in certain error conditions, which. A remote attacker can use a crafted TIFF image that triggers a heap-based buffer 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

LibTIFF
Amazon Linux AMI
tiff (Alpine package)

How to mitigate CVE-2012-3401

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

tiff (Alpine package) - update to 3.9.6-r1

External References

Related Security Bulletins