CVE-2004-1307
Integer overflow in the TIFFFetchStripThing function in tif_dirread.c for libtiff 3.6.1 allows...
CVE-2004-1307 is a high vulnerability (CVSS 7.5) in Libtiff, published December 21, 2004. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 6.34%, the 93rd percentile. Fixed in tiff 3.7.0.
- Severity
- 7.5 HighCVSS 2.0, NVD
- Exploit chance
- 6.34%EPSS, 93rd percentile
- Exploitation
- None knownNot on CISA’s or ENISA’s lists
- Fixed in
3.7.0tiff +26 more
Description
Integer overflow in the TIFFFetchStripThing function in tif_dirread.c for libtiff 3.6.1 allows remote attackers to execute arbitrary code via a TIFF file with the STRIPOFFSETS flag and a large number of strips, which causes a zero byte buffer to be allocated and leads to a heap-based buffer overflow.
Exploit likelihood
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
tiffDebian:12 | before 3.7.0 | 3.7.0 |
tiffDebian:13 | before 3.7.0 | 3.7.0 |
tiffDebian:14 | before 3.7.0 | 3.7.0 |
libtiffRed Hat:enterprise_linux:3::as From an advisory covering 4 CVEs | before 0:3.5.7-20.1 | 0:3.5.7-20.1 |
libtiff-debuginfoRed Hat:enterprise_linux:3::as From an advisory covering 4 CVEs | before 0:3.5.7-20.1 | 0:3.5.7-20.1 |
libtiff-develRed Hat:enterprise_linux:3::as From an advisory covering 4 CVEs | before 0:3.5.7-20.1 | 0:3.5.7-20.1 |
libtiffRed Hat:enterprise_linux:3::desktop From an advisory covering 4 CVEs | before 0:3.5.7-20.1 | 0:3.5.7-20.1 |
libtiff-debuginfoRed Hat:enterprise_linux:3::desktop From an advisory covering 4 CVEs | before 0:3.5.7-20.1 | 0:3.5.7-20.1 |
libtiff-develRed Hat:enterprise_linux:3::desktop From an advisory covering 4 CVEs | before 0:3.5.7-20.1 | 0:3.5.7-20.1 |
libtiffRed Hat:enterprise_linux:3::es From an advisory covering 4 CVEs | before 0:3.5.7-20.1 | 0:3.5.7-20.1 |
Show 17 moreShow less
| Package | Affected | Fixed |
|---|---|---|
libtiff-debuginfoRed Hat:enterprise_linux:3::es From an advisory covering 4 CVEs | before 0:3.5.7-20.1 | 0:3.5.7-20.1 |
libtiff-develRed Hat:enterprise_linux:3::es From an advisory covering 4 CVEs | before 0:3.5.7-20.1 | 0:3.5.7-20.1 |
libtiffRed Hat:enterprise_linux:3::ws From an advisory covering 4 CVEs | before 0:3.5.7-20.1 | 0:3.5.7-20.1 |
libtiff-debuginfoRed Hat:enterprise_linux:3::ws From an advisory covering 4 CVEs | before 0:3.5.7-20.1 | 0:3.5.7-20.1 |
libtiff-develRed Hat:enterprise_linux:3::ws From an advisory covering 4 CVEs | before 0:3.5.7-20.1 | 0:3.5.7-20.1 |
kdegraphicsRed Hat:enterprise_linux:3::as From an advisory covering 5 CVEs | before 7:3.1.3-3.7 | 7:3.1.3-3.7 |
kdegraphics-debuginfoRed Hat:enterprise_linux:3::as From an advisory covering 5 CVEs | before 7:3.1.3-3.7 | 7:3.1.3-3.7 |
kdegraphics-develRed Hat:enterprise_linux:3::as From an advisory covering 5 CVEs | before 7:3.1.3-3.7 | 7:3.1.3-3.7 |
kdegraphicsRed Hat:enterprise_linux:3::desktop From an advisory covering 5 CVEs | before 7:3.1.3-3.7 | 7:3.1.3-3.7 |
kdegraphics-debuginfoRed Hat:enterprise_linux:3::desktop From an advisory covering 5 CVEs | before 7:3.1.3-3.7 | 7:3.1.3-3.7 |
kdegraphics-develRed Hat:enterprise_linux:3::desktop From an advisory covering 5 CVEs | before 7:3.1.3-3.7 | 7:3.1.3-3.7 |
kdegraphicsRed Hat:enterprise_linux:3::es From an advisory covering 5 CVEs | before 7:3.1.3-3.7 | 7:3.1.3-3.7 |
kdegraphics-debuginfoRed Hat:enterprise_linux:3::es From an advisory covering 5 CVEs | before 7:3.1.3-3.7 | 7:3.1.3-3.7 |
kdegraphics-develRed Hat:enterprise_linux:3::es From an advisory covering 5 CVEs | before 7:3.1.3-3.7 | 7:3.1.3-3.7 |
kdegraphicsRed Hat:enterprise_linux:3::ws From an advisory covering 5 CVEs | before 7:3.1.3-3.7 | 7:3.1.3-3.7 |
kdegraphics-debuginfoRed Hat:enterprise_linux:3::ws From an advisory covering 5 CVEs | before 7:3.1.3-3.7 | 7:3.1.3-3.7 |
kdegraphics-develRed Hat:enterprise_linux:3::ws From an advisory covering 5 CVEs | before 7:3.1.3-3.7 | 7:3.1.3-3.7 |
What each source reports
NVD Score used 7.5
Integer overflow in the TIFFFetchStripThing function in tif_dirread.c for libtiff 3.6.1 allows remote attackers to execute arbitrary code via a TIFF file with the STRIPOFFSETS flag and a large number of strips, which causes a zero byte buffer to be allocated and leads to a heap-based buffer overflow.
- Record
CVE-2004-1307- CVSS 2.0
- 7.5 High
AV:N/AC:L/Au:N/C:P/I:P/A:P - Updated
- 2026-11-02
CVE ListNo score
Integer overflow in the TIFFFetchStripThing function in tif_dirread.c for libtiff 3.6.1 allows remote attackers to execute arbitrary code via a TIFF file with the STRIPOFFSETS flag and a large number of strips, which causes a zero byte buffer to be allocated and leads to a heap-based buffer overflow.
- Record
CVE-2004-1307- Updated
- 2026-11-02
EUVDEUVD-2004-1304No score
Integer overflow in the TIFFFetchStripThing function in tif_dirread.c for libtiff 3.6.1 allows remote attackers to execute arbitrary code via a TIFF file with the STRIPOFFSETS flag and a large number of strips, which causes a zero byte buffer to be allocated and leads to a heap-based buffer overflow.
- Record
EUVD-2004-1304- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-j2r4-vwhq-m2ggNo score
Integer overflow in the TIFFFetchStripThing function in tif_dirread.c for libtiff 3.6.1 allows...
Integer overflow in the TIFFFetchStripThing function in tif_dirread.c for libtiff 3.6.1 allows remote attackers to execute arbitrary code via a TIFF file with the STRIPOFFSETS flag and a large number of strips, which causes a zero byte buffer to be allocated and leads to a heap-based buffer overflow.
- Record
GHSA-j2r4-vwhq-m2gg- Updated
- 2026-11-02
OSVNo score
Integer overflow in the TIFFFetchStripThing function in tif_dirread.c for libtiff 3.6.1 allows remote attackers to execute arbitrary code via a TIFF file with the STRIPOFFSETS flag and a large number of strips, which causes a zero byte buffer to be allocated and leads to a heap-based buffer overflow.
- Record
CVE-2004-1307- Updated
- 2026-11-02
OSVDEBIAN-CVE-2004-1307No score
Integer overflow in the TIFFFetchStripThing function in tif_dirread.c for libtiff 3.6.1 allows remote attackers to execute arbitrary code via a TIFF file with the STRIPOFFSETS flag and a large number of strips, which causes a zero byte buffer to be allocated and leads to a heap-based buffer overflow.
- Record
DEBIAN-CVE-2004-1307- Updated
- 2026-11-02
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, facts | ||
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
References
us-cert.gov/cas/techalerts/TA05-136A.html
kb.cert.org/vuls/id/539110
sunsolve.sun.com/search/document.do?assetkey=1-66-201072-1
sunsolve.sun.com/search/document.do?assetkey=1-26-101677-1
idefense.com/application/poi/display?id=173&type=vulnerabilities&flashstatus=true
lists.apple.com/archives/security-announce/2005/May/msg00001.html
Show 32 moreShow less
oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A11175
nvd.nist.gov/vuln/detail/CVE-2004-1307
github.com/advisories/GHSA-j2r4-vwhq-m2gg
security-tracker.debian.org/tracker/CVE-2004-1307
access.redhat.com/errata/RHSA-2004:577
access.redhat.com/security/updates/classification
bugzilla.redhat.com/show_bug.cgi?id=134847
bugzilla.redhat.com/show_bug.cgi?id=134850
security.access.redhat.com/data/csaf/v2/advisories/2004/rhsa-2004_577.json
access.redhat.com/security/cve/CVE-2004-0803
bugzilla.redhat.com/show_bug.cgi?id=1617294
cve.org/CVERecord?id=CVE-2004-0803
nvd.nist.gov/vuln/detail/CVE-2004-0803
access.redhat.com/security/cve/CVE-2004-0804
bugzilla.redhat.com/show_bug.cgi?id=1617295
cve.org/CVERecord?id=CVE-2004-0804
nvd.nist.gov/vuln/detail/CVE-2004-0804
access.redhat.com/security/cve/CVE-2004-0886
bugzilla.redhat.com/show_bug.cgi?id=1617314
cve.org/CVERecord?id=CVE-2004-0886
nvd.nist.gov/vuln/detail/CVE-2004-0886
access.redhat.com/security/cve/CVE-2004-1307
bugzilla.redhat.com/show_bug.cgi?id=1617405
cve.org/CVERecord?id=CVE-2004-1307
access.redhat.com/errata/RHSA-2005:021
bugzilla.redhat.com/show_bug.cgi?id=135466
bugzilla.redhat.com/show_bug.cgi?id=135470
security.access.redhat.com/data/csaf/v2/advisories/2005/rhsa-2005_021.json
access.redhat.com/security/cve/CVE-2004-1308
bugzilla.redhat.com/show_bug.cgi?id=1617406
cve.org/CVERecord?id=CVE-2004-1308
nvd.nist.gov/vuln/detail/CVE-2004-1308