Public Date:
837577: CVE-2012-3401 libtiff (tiff2pdf): Heap-based buffer overflow due to improper initialization of T2P context struct pointer

The MITRE CVE dictionary describes this issue as:

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.

Find out more about CVE-2012-3401 from the MITRE CVE dictionary dictionary and NIST NVD.


The Red Hat Security Response Team has rated this issue as having moderate security impact. A future libtiff package update may address this issue in Red Hat Enterprise Linux 5 and 6. For additional information, refer to the Issue Severity Classification:

CVSS v2 metrics

Base Score 6.8
Base Metrics AV:N/AC:M/Au:N/C:P/I:P/A:P
Access Vector Network
Access Complexity Medium
Authentication None
Confidentiality Impact Partial
Integrity Impact Partial
Availability Impact Partial

Find out more about Red Hat support for the Common Vulnerability Scoring System (CVSS).

Red Hat Security Errata

Platform Errata Release Date
Red Hat Enterprise Linux 6 (libtiff) RHSA-2012:1590 2012-12-18
Red Hat Enterprise Linux 5 (libtiff) RHSA-2012:1590 2012-12-18


This issue was discovered by Huzaifa Sidhpurwala of the Red Hat Security Response Team.
Last Modified

CVE description copyright © 2017, The MITRE Corporation