CVE-2012-3401
Summary
| CVE | CVE-2012-3401 |
|---|---|
| State | PUBLISHED |
| Assigner | redhat |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2012-08-13 20:55:08 UTC |
| Updated | 2026-04-29 01:13:23 UTC |
| Description | 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. |
Risk And Classification
CVSS v2.0 Breakdown
Access Vector
NetworkAccess Complexity
MediumAuthentication
NoneConfidentiality
PartialIntegrity
PartialAvailability
PartialAV:N/AC:M/Au:N/C:P/I:P/A:P
NVD Known Affected Configurations (CPE 2.3)
| Type | Vendor | Product | Version | Update | Edition | Language |
|---|---|---|---|---|---|---|
| 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
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| 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 |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.