CVE-2012-3401: LibTIFF - Buffer Overflow
- Cve: CVE-2012-3401
- Name: LibTIFF - Buffer Overflow
- 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.
- Impact: Attackers can cause a denial of service or execute arbitrary code by crafting malicious TIFF images.
- Remediation: Update to the latest version of LibTIFF that addresses this issue or apply patches fixing the initialization bug.
- Vulnerability type: buffer_overflow
- Vulnerability impact: denial_of_service, remote_code_execution
- Requirement type: user_interaction
- Requirements: Attacker needs to provide a crafted TIFF image
- Labels source: projectdiscovery
- Severity: medium
- Cvss score: 6.8
- Cvss vector: CVSS:2.0/AV:N/AC:M/Au:N/C:P/I:P/A:P
- Epss score: 0.0407
- Epss percentile: 0.90935
- Assignee: [email protected]
- Published at: 2012-08-13T20:55:08Z
- Age in days: 5216
- Modified at: 2026-06-16T23:43:08Z
- References total: 18
- Products total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2012-3401
- Nvd status: modified
- Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, oss, projects total, projects, rejected by nvd
- Not known: hackerone
Cwe
| Id | Name |
|---|---|
| CWE-119 | Improper Restriction of Operations within the Bounds of a Memory Buffer |
References
Same in every row:
- Source: nvd
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| libtiff:libtiff | = 3.4 beta37, = 3.4 beta36, = 3.4 beta35, = 3.4 beta34, = 3.4 beta32, = 3.4 beta31, = 3.4 beta29, = 3.4 beta28, = 3.4 beta24, = 3.4 beta18, = 4.0 beta6, = 3.9.2-5.2.1, = 4.0 beta5, <= 4.0.2, = 4.0.1, = 4.0, = 4.0 alpha, = 4.0 beta1, = 4.0 beta2, = 4.0 beta3, = 4.0 beta4, = 3.5.7 alpha4, = 3.9.4, = 3.9.3, = 3.9.2, = 3.9.1, = 3.9.0, = 3.9.0 beta, = 3.9, = 3.8.2, = 3.8.1, = 3.8.0, = 3.7.4, = 3.7.3, = 3.7.2, = 3.7.1, = 3.7.0, = 3.7.0 alpha, = 3.7.0 beta, = 3.7.0 beta2, = 3.6.1, = 3.6.0, = 3.6.0 beta, = 3.6.0 beta2, = 3.5.7, = 3.5.7 alpha, = 3.5.7 alpha2, = 3.5.7 alpha3, = 3.5.7 beta, = 3.5.6, = 3.5.6 beta, = 3.5.5, = 3.5.4, = 3.5.3, = 3.5.2, = 3.5.1, = 3.4 | no | nvd | /v1/products/libtiff/libtiff |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Remote: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts