CVE-2012-3401

Summary

CVECVE-2012-3401
StatePUBLISHED
Assignerredhat
Source PriorityCVE Program / NVD first with legacy fallback
Published2012-08-13 20:55:08 UTC
Updated2026-04-29 01:13:23 UTC
DescriptionThe 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.

Risk And Classification

Primary CVSS: v2.0 6.8 from [email protected]

AV:N/AC:M/Au:N/C:P/I:P/A:P

Problem Types: CWE-119 | n/a

CVSS v2.0 Breakdown

Access Vector
Network
Access Complexity
Medium
Authentication
None
Confidentiality
Partial
Integrity
Partial
Availability
Partial

AV:N/AC:M/Au:N/C:P/I:P/A:P

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Application Libtiff Libtiff 3.4 All All All
Application Libtiff Libtiff 3.4 beta18 All All
Application Libtiff Libtiff 3.4 beta24 All All
Application Libtiff Libtiff 3.4 beta28 All All
Application Libtiff Libtiff 3.4 beta29 All All
Application Libtiff Libtiff 3.4 beta31 All All
Application Libtiff Libtiff 3.4 beta32 All All
Application Libtiff Libtiff 3.4 beta34 All All
Application Libtiff Libtiff 3.4 beta35 All All
Application Libtiff Libtiff 3.4 beta36 All All
Application Libtiff Libtiff 3.4 beta37 All All
Application Libtiff Libtiff 3.5.1 All All All
Application Libtiff Libtiff 3.5.2 All All All
Application Libtiff Libtiff 3.5.3 All All All
Application Libtiff Libtiff 3.5.4 All All All
Application Libtiff Libtiff 3.5.5 All All All
Application Libtiff Libtiff 3.5.6 All All All
Application Libtiff Libtiff 3.5.6 beta All All
Application Libtiff Libtiff 3.5.7 All All All
Application Libtiff Libtiff 3.5.7 alpha All All
Application Libtiff Libtiff 3.5.7 alpha2 All All
Application Libtiff Libtiff 3.5.7 alpha3 All All
Application Libtiff Libtiff 3.5.7 alpha4 All All
Application Libtiff Libtiff 3.5.7 beta All All
Application Libtiff Libtiff 3.6.0 All All All
Application Libtiff Libtiff 3.6.0 beta All All
Application Libtiff Libtiff 3.6.0 beta2 All All
Application Libtiff Libtiff 3.6.1 All All All
Application Libtiff Libtiff 3.7.0 All All All
Application Libtiff Libtiff 3.7.0 alpha All All
Application Libtiff Libtiff 3.7.0 beta All All
Application Libtiff Libtiff 3.7.0 beta2 All All
Application Libtiff Libtiff 3.7.1 All All All
Application Libtiff Libtiff 3.7.2 All All All
Application Libtiff Libtiff 3.7.3 All All All
Application Libtiff Libtiff 3.7.4 All All All
Application Libtiff Libtiff 3.8.0 All All All
Application Libtiff Libtiff 3.8.1 All All All
Application Libtiff Libtiff 3.8.2 All All All
Application Libtiff Libtiff 3.9 All All All
Application Libtiff Libtiff 3.9.0 All All All
Application Libtiff Libtiff 3.9.0 beta All All
Application Libtiff Libtiff 3.9.1 All All All
Application Libtiff Libtiff 3.9.2 All All All
Application Libtiff Libtiff 3.9.2-5.2.1 All All All
Application Libtiff Libtiff 3.9.3 All All All
Application Libtiff Libtiff 3.9.4 All All All
Application Libtiff Libtiff 4.0 All All All
Application Libtiff Libtiff 4.0 alpha All All
Application Libtiff Libtiff 4.0 beta1 All All
Application Libtiff Libtiff 4.0 beta2 All All
Application Libtiff Libtiff 4.0 beta3 All All
Application Libtiff Libtiff 4.0 beta4 All All
Application Libtiff Libtiff 4.0 beta5 All All
Application Libtiff Libtiff 4.0 beta6 All All
Application Libtiff Libtiff 4.0.1 All All All
Application Libtiff Libtiff All All All All

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Na N/a affected n/a Not specified

References

ReferenceSourceLinkTags
Debian -- Security Information -- DSA-2552-1 tiff af854a3a-2127-422b-91ae-364da2661108 www.debian.org
bugzilla.redhat.com/attachment.cgi af854a3a-2127-422b-91ae-364da2661108 bugzilla.redhat.com
oss-security - Re: tiff2pdf: Heap-based buffer overflow due to improper initialization of T2P context struct pointer af854a3a-2127-422b-91ae-364da2661108 www.openwall.com
Security Alerts - Secunia af854a3a-2127-422b-91ae-364da2661108 secunia.com Vendor Advisory
oss-security - tiff2pdf: Heap-based buffer overflow due to improper initialization of T2P context struct pointer af854a3a-2127-422b-91ae-364da2661108 www.openwall.com
Security Alerts - Secunia af854a3a-2127-422b-91ae-364da2661108 secunia.com Vendor Advisory
404 Not Found af854a3a-2127-422b-91ae-364da2661108 libjpeg-turbo.svn.sourceforge.net
USN-1511-1: tiff vulnerability | Ubuntu af854a3a-2127-422b-91ae-364da2661108 www.ubuntu.com
openSUSE-SU-2012:0955-1: moderate: tiff (CVE-2012-3401) af854a3a-2127-422b-91ae-364da2661108 lists.opensuse.org
IBM X-Force Exchange af854a3a-2127-422b-91ae-364da2661108 exchange.xforce.ibmcloud.com
Support / Security / Advisories / / MDVSA-2012:127 | Mandriva af854a3a-2127-422b-91ae-364da2661108 www.mandriva.com
837577 – (CVE-2012-3401) CVE-2012-3401 libtiff (tiff2pdf): Heap-based buffer overflow due to improper initialization of T2P context struct pointer af854a3a-2127-422b-91ae-364da2661108 bugzilla.redhat.com
LibTIFF 't2p_read_tiff_init()' Function Heap-based Buffer Overflow Vulnerability af854a3a-2127-422b-91ae-364da2661108 www.securityfocus.com
osvdb.org/84090 af854a3a-2127-422b-91ae-364da2661108 osvdb.org
Red Hat Customer Portal af854a3a-2127-422b-91ae-364da2661108 rhn.redhat.com
Security Advisory SA50726 - Gentoo update for tiff - Secunia af854a3a-2127-422b-91ae-364da2661108 secunia.com
Gentoo Linux Documentation -- libTIFF: Multiple vulnerabilities af854a3a-2127-422b-91ae-364da2661108 security.gentoo.org
www.xerox.com/download/security/security-bulletin/16287-4d6b7b0c81f7b/cert_... af854a3a-2127-422b-91ae-364da2661108 www.xerox.com
Red Hat Customer Portal MITRE access.redhat.com
access.redhat.com | CVE-2012-3401 MITRE access.redhat.com
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report