Buffer overflow in Libtiff
CVE-2012-3401
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 allows context-dependent attackers to cause a denial of service (crash) and possibly execute arbitrary code via a crafted TIFF image that triggers a heap-based buffer overflow.
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v2 metric
CVSS v2 base score 6.8 (Medium). Vector: AV:N/AC:M/Au:N/C:P/I:P/A:P. This CVE predates CVSS v3 and has no v3 score from NVD.
EPSS exploit prediction
EPSS 0.041, 90.8th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Libtiff — versions 3.4, 3.5.1, 3.5.2
Weakness classification (CWE)
References
- bugzilla.redhat.com/show_bug.cgi
- openSUSE-SU-2012:0955 (vendor-advisory)
- [oss-security] 20120719 tiff2pdf: Heap-based buffer overflow due to improper initialization of T2P context struct pointer (mailing-list)
- libjpeg-turbo.svn.sourceforge.net/viewvc/libjpeg-turbo
- www.securityfocus.com/bid/54601 (vdb-entry)
- [oss-security] 20120719 Re: tiff2pdf: Heap-based buffer overflow due to improper initialization of T2P context struct pointer (mailing-list)
- DSA-2552 (vendor-advisory)
- secunia.com/advisories/49938 (third-party-advisory, Vendor Advisory)
- secunia.com/advisories/50007 (third-party-advisory, Vendor Advisory)
- USN-1511-1 (vendor-advisory)