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…
Noroxi assessment
Priority: Monitor (action score 28/100)
- The sources we track (CISA KEV, Exploit-DB, Metasploit, Nuclei, GitHub) show no public exploit code or exploitation in the wild.
- Probability of exploitation in the next 30 days: 4% (FIRST EPSS); higher than 90.8% of all records.
- Fixed version: tiff (Debian:12) 4.0.2-2; tiff (Debian:6.0) 3.9.4-5+squeeze5; tiff (openSUSE:Tumbleweed) 4.0.7-1.1.
Low priority for now. Upgrade to tiff (Debian:12) 4.0.2-2; tiff (Debian:6.0) 3.9.4-5+squeeze5; tiff (openSUSE:Tumbleweed) 4.0.7-1.1 or later.
Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it
Primary sources: NVD · CVE.org · FIRST EPSS
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.
- Published
- Aug 13, 2012
- Updated
- Jun 16, 2026
- EPSS
- 4.0% · 90th percentile
- CWE
- CWE-119
Report tools
Action score
28
Low priority for now.
- CVSS
- 27 / 40 · 6.8 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 1 / 30 · 4.0%
Get told when this record changes
- Not in KEV: no record of exploitation in the wild
- No public exploit code on record
- A fix has been released
If any of these changes, we'll tell you in the daily email digest.
Is your version affected? Check itNoroxi analysis
What does it mean in your environment?
The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.
We use this product, ask for helpAffected systems
Is your version affected?
Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.
| Vendor | Product | CPE |
|---|---|---|
| libtiff | libtiff | cpe:2.3:a:libtiff:libtiff |
Affected versions
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- libtiff libtiffup to 4.0.2 inclusive
- libtiff libtiff3.4
- libtiff libtiff3.5.1
- libtiff libtiff3.5.2
- libtiff libtiff3.5.3
- libtiff libtiff3.5.4
- libtiff libtiff3.5.5
- libtiff libtiff3.5.6
+12 more rows
- libtiff libtiff3.5.7
- libtiff libtiff3.6.0
- libtiff libtiff3.6.1
- libtiff libtiff3.7.0
- libtiff libtiff3.7.1
- libtiff libtiff3.7.2
- libtiff libtiff3.7.3
- libtiff libtiff3.7.4
- libtiff libtiff3.8.0
- libtiff libtiff3.8.1
- libtiff libtiff3.8.2
- libtiff libtiff3.9
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| Debian:12 | tiff | before 4.0.2-2 | 4.0.2-2 |
| Debian:6.0 | tiff | before 3.9.4-5+squeeze5 | 3.9.4-5+squeeze5 |
| openSUSE:Tumbleweed | tiff | before 4.0.7-1.1 | 4.0.7-1.1 |
| Red Hat:enterprise_linux:5::client | libtiff | before 0:3.8.2-18.el5_8 | 0:3.8.2-18.el5_8 |
| Red Hat:enterprise_linux:5::client | libtiff-debuginfo | before 0:3.8.2-18.el5_8 | 0:3.8.2-18.el5_8 |
| Red Hat:enterprise_linux:5::client_workstation | libtiff-devel | before 0:3.8.2-18.el5_8 | 0:3.8.2-18.el5_8 |
| Red Hat:enterprise_linux:6::client | libtiff | before 0:3.9.4-9.el6_3 | 0:3.9.4-9.el6_3 |
| Red Hat:enterprise_linux:6::client | libtiff-debuginfo | before 0:3.9.4-9.el6_3 | 0:3.9.4-9.el6_3 |
| Red Hat:enterprise_linux:6::client | libtiff-devel | before 0:3.9.4-9.el6_3 | 0:3.9.4-9.el6_3 |
| Red Hat:enterprise_linux:6::client | libtiff-static | before 0:3.9.4-9.el6_3 | 0:3.9.4-9.el6_3 |
Same product
libtiff: all recordsOther highest-scoring records for the same primary product.
- CVE-2006-3459Multiple stack-based buffer overflows in the TIFF library (libtiff) before 3.8.2, as used in Adobe Reader 9.3.0 and other products, allow…47Plan
- CVE-2004-1308Integer overflow in (1) tif_dirread.c and (2) tif_fax3.c for libtiff 3.5.7 and 3.7.0 allows remote attackers to execute arbitrary code via…44Plan
- CVE-2015-8668Heap-based buffer overflow in the PackBitsPreEncode function in tif_packbits.c in bmp2tiff in libtiff 4.0.6 and earlier allows remote…43Plan
Published before and after this one in the same product
- ← EarlierCVE-2012-2088Jul 22, 2012 · Integer signedness error in the TIFFReadDirectory function in tif_dirread.c in libtiff 3.9.4 and earlier allows remote attackers to cause a…32Monitor
- ← EarlierCVE-2012-2113Jul 22, 2012 · Multiple integer overflows in tiff2pdf in libtiff before 4.0.2 allow remote attackers to cause a denial of service (application crash) or…29Monitor
- Later →CVE-2012-4447Oct 28, 2012 · Heap-based buffer overflow in tif_pixarlog.c in LibTIFF before 4.0.3 allows remote attackers to cause a denial of service (application…29Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| debian:tiff | 4.0.2-2 · Debian:12 | Package registry (OSV) |
| opensuse:tiff | 4.0.7-1.1 · openSUSE:Tumbleweed | Package registry (OSV) |
| red hat:libtiff | 0:3.8.2-18.el5_8 · Red Hat:enterprise_linux:5::client | Package registry (OSV) |
| red hat:libtiff-debuginfo | 0:3.8.2-18.el5_8 · Red Hat:enterprise_linux:5::client | Package registry (OSV) |
| red hat:libtiff-devel | 0:3.8.2-18.el5_8 · Red Hat:enterprise_linux:5::client_workstation | Package registry (OSV) |
| red hat:libtiff-static | 0:3.9.4-9.el6_3 · Red Hat:enterprise_linux:6::client | Package registry (OSV) |
Exploit status
No known public exploit
No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
No dated events beyond publication.
Not on record for this CVE: EPSS history · patch commit or PR link · researcher credit · variant or chain candidate · public bounty program.
Technical details
Attack conditions
If successful
- Confidentiality
- P · data can be read
- Integrity
- P · data or configuration can be modified
- Availability
- P · the service can be disrupted
- Attack complexity
- M
- Confidentiality impact
- P
- Integrity impact
- P
- Availability impact
- P
Weakness class (CWE)
CWE-119 · Improper Restriction of Operations within the Bounds of a Memory BufferCVSS vector
AV:N/AC:M/Au:N/C:P/I:P/A:P
nvd-primary
Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
Attack patterns (CAPEC)
- Buffer Overflow via Environment VariablesCAPEC-10likelihood: High · High
- Overflow BuffersCAPEC-100likelihood: High · Very High
- Buffer ManipulationCAPEC-123likelihood: High · Very High
- Client-side Injection-induced Buffer OverflowCAPEC-14likelihood: Medium · High
- Filter Failure through Buffer OverflowCAPEC-24likelihood: High · High
- MIME ConversionCAPEC-42likelihood: High · High
- Overflow Binary Resource FileCAPEC-44likelihood: High · Very High
- Buffer Overflow via Symbolic LinksCAPEC-45likelihood: High · High
ATT&CK techniques
—
Change log (1)
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Show all references (17 more)Show less
- lists.opensuse.org/opensuse-updates/2012-08/msg00011.html
- osvdb.org/84090
- rhn.redhat.com/errata/RHSA-2012-1590.html
- secunia.com/advisories/49938
- secunia.com/advisories/50007
- secunia.com/advisories/50726
- security.gentoo.org/glsa/glsa-201209-02.xml
- www.debian.org/security/2012/dsa-2552
- www.mandriva.com/security/advisories?name=MDVSA-2012:127
- www.openwall.com/lists/oss-security/2012/07/19/1
- www.openwall.com/lists/oss-security/2012/07/19/4
- www.securityfocus.com/bid/54601
- www.ubuntu.com/usn/USN-1511-1
- www.xerox.com/download/security/security-bulletin/16287-4d6b7b0c81f7b/cert_XRX13-003_v1.0.pdf
- bugzilla.redhat.com/attachment.cgi?id=596457
- bugzilla.redhat.com/show_bug.cgi?id=837577
- exchange.xforce.ibmcloud.com/vulnerabilities/77088
Vendor advisories and official records. Exploit/PoC links are deliberately left out.