CVE-2012-3401 json
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 st…
published 2012-08-13 14 y ago modified 2026-06-16 4 mo ago also EUVD-2012-3372
- cvss
- 6.8
- version 2.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 4.1%
- EPSS 4.1% chance of exploitation in 30 days, percentile 90%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- tiff Debian 14, Debian 13, Debian 12 4.0.2-2
debian advisories DEBIAN-CVE-2012-3401
- libtiff RHEL 5 3.8.2-18.el5_8
- libtiff RHEL 6 3.9.4-9.el6_3
red hat advisories RHSA-2012:1590
- tiff openSUSE Tumbleweed 4.0.7-1.1
opensuse advisories openSUSE-SU-2024:10554-1
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2012-3401 updated cvss 6.8
(tiff2pdf): Heap-based buffer overflow due to improper initialization of T2P context struct pointer
-
Red Hat Enterprise Linux (v. 5 server) libtiff 3.8.2-18.el5_8 Red Hat Enterprise Linux Desktop (v. 5 client) libtiff 3.8.2-18.el5_8 Red Hat Enterprise Linux Desktop (v. 6) libtiff 3.9.4-9.el6_3 Red Hat Enterprise Linux Desktop Optional (v. 6) libtiff 3.9.4-9.el6_3 Red Hat Enterprise Linux HPC Node (v. 6) libtiff 3.9.4-9.el6_3 Red Hat Enterprise Linux HPC Node Optional (v. 6) libtiff 3.9.4-9.el6_3fixed: vendor fix RHSA-2012:1590
+5 more productsfewer
Red Hat Enterprise Linux Server (v. 6) libtiff 3.9.4-9.el6_3 Red Hat Enterprise Linux Server Optional (v. 6) libtiff 3.9.4-9.el6_3 Red Hat Enterprise Linux Workstation (v. 6) libtiff 3.9.4-9.el6_3 Red Hat Enterprise Linux Workstation Optional (v. 6) libtiff 3.9.4-9.el6_3 Red Hat RHEL Desktop Workstation (v. 5 client) libtiff 3.8.2-18.el5_8
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
4.07% chance of exploitation in the next 30 days, higher than 90% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 2.0 | 6.8 | AV:N/AC:M/Au:N/C:P/I:P/A:P |
Classification
- Weakness
-
- CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer
References
-
lists.opensuse.org
/opensuse-updates/2012-08/msg00011.html
vendor-advisory
-
debian.org
/security/2012/dsa-2552
vendor-advisory
-
ubuntu.com
/usn/USN-1511-1
vendor-advisory
-
security.gentoo.org
/glsa/glsa-201209-02.xml
vendor-advisory
-
mandriva.com
/security/advisories?name=MDVSA-2012:127
vendor-advisory
-
rhn.redhat.com
/errata/RHSA-2012-1590.html
vendor-advisory
-
secunia.com
/advisories/49938
third-party-advisory, vendor-advisory
-
secunia.com
/advisories/50007
third-party-advisory, vendor-advisory
- bugzilla.redhat.com /show_bug.cgi?id=837577
-
openwall.com
/lists/oss-security/2012/07/19/1
mailing-list
- libjpeg-turbo.svn.sourceforge.net /viewvc/libjpeg-turbo?view=revision&revision=830
-
securityfocus.com
/bid/54601
vdb-entry
-
openwall.com
/lists/oss-security/2012/07/19/4
mailing-list
-
osvdb.org
/84090
vdb-entry
-
exchange.xforce.ibmcloud.com
/vulnerabilities/77088
vdb-entry
- bugzilla.redhat.com /attachment.cgi?id=596457
- xerox.com /download/security/security-bulletin/16287-4d6b7b0c81f7b/cert_XRX13-003_v1.0.pdf
-
secunia.com
/advisories/50726
third-party-advisory
Sources
- CVE List CVE-2012-3401
- NVD CVE-2012-3401
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.