CVE-2004-1308: libtiff - Integer Overflow
- Cve: CVE-2004-1308
- Name: libtiff - Integer Overflow
- Description: Integer 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 a TIFF file containing a TIFF_ASCII or TIFF_UNDEFINED directory entry with a -1 entry count, which leads to a heap-based buffer overflow.
- Impact: Remote attackers can execute arbitrary code or commands by exploiting crafted TIFF files, potentially leading to full system compromise.
- Remediation: Update to the latest version of libtiff that addresses this vulnerability.
- Vulnerability type: integer_overflow
- Vulnerability impact: remote_code_execution
- Requirement type: none
- Labels source: projectdiscovery
- Severity: critical
- Cvss score: 10
- Cvss vector: CVSS:2.0/AV:N/AC:L/Au:N/C:C/I:C/A:C
- Epss score: 0.14972
- Epss percentile: 0.96798
- Assignee: [email protected]
- Published at: 2005-01-10T05:00:00Z
- Age in days: 7988
- Modified at: 2026-06-16T22:07:26Z
- Patch available: yes
- Public exploits total: 1
- References total: 16
- Products total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2004-1308
- Nvd status: modified
- Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, oss, projects total, projects, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| NVD-CWE-Other | — |
Public exploits
| Url | Source | Added date |
|---|---|---|
| http://www.idefense.com/application/poi/display?id=174&type=vulnerabilities | nvd | 2005-01-10 |
References
Same in every row:
- Source: nvd
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| libtiff:libtiff | = 3.7.0, = 3.6.1, = 3.6.0, = 3.5.7, = 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
- Public exploit: yes
- Public exploit count: 1
- Public exploit first date: 2005-01-10
- Remote: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts