CVE-2004-1308
Integer overflow in (1) tif_dirread.c and (2) tif_fax3.c for libtiff 3.5.7 and 3.7.0 allows...
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.
Exploit likelihood
What each source reports
NVD Score used
10.0
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.
- Record
CVE-2004-1308- CVSS 2.0
- 10.0 High
AV:N/AC:L/Au:N/C:C/I:C/A:C - Updated
- 2026-11-02
CVE List No score
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.
- Record
CVE-2004-1308- Updated
- 2026-11-02
EUVDEUVD-2004-1305 No score
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.
- Record
EUVD-2004-1305- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-6prx-h64j-5pw3 No score
Integer overflow in (1) tif_dirread.c and (2) tif_fax3.c for libtiff 3.5.7 and 3.7.0 allows...
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.
- Record
GHSA-6prx-h64j-5pw3- Updated
- 2026-11-02
OSV No score
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.
- Record
CVE-2004-1308- Updated
- 2026-11-02
OSVDEBIAN-CVE-2004-1308 No score
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.
- Record
DEBIAN-CVE-2004-1308- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
tiffDebian:12 |
before 3.6.1-4 | 3.6.1-4 |
tiffDebian:13 |
before 3.6.1-4 | 3.6.1-4 |
tiffDebian:14 |
before 3.6.1-4 | 3.6.1-4 |
tiffDebian:3.0 |
before 3.5.5-6.woody3 | 3.5.5-6.woody3 |
libtiffRed Hat:enterprise_linux:3::as From an advisory covering 2 CVEs |
before 0:3.5.7-22.el3 | 0:3.5.7-22.el3 |
libtiff-debuginfoRed Hat:enterprise_linux:3::as From an advisory covering 2 CVEs |
before 0:3.5.7-22.el3 | 0:3.5.7-22.el3 |
libtiff-develRed Hat:enterprise_linux:3::as From an advisory covering 2 CVEs |
before 0:3.5.7-22.el3 | 0:3.5.7-22.el3 |
libtiffRed Hat:enterprise_linux:3::desktop From an advisory covering 2 CVEs |
before 0:3.5.7-22.el3 | 0:3.5.7-22.el3 |
libtiff-debuginfoRed Hat:enterprise_linux:3::desktop From an advisory covering 2 CVEs |
before 0:3.5.7-22.el3 | 0:3.5.7-22.el3 |
libtiff-develRed Hat:enterprise_linux:3::desktop From an advisory covering 2 CVEs |
before 0:3.5.7-22.el3 | 0:3.5.7-22.el3 |
Show 30 moreShow less
| Package | Affected | Fixed |
|---|---|---|
libtiffRed Hat:enterprise_linux:3::es From an advisory covering 2 CVEs |
before 0:3.5.7-22.el3 | 0:3.5.7-22.el3 |
libtiff-debuginfoRed Hat:enterprise_linux:3::es From an advisory covering 2 CVEs |
before 0:3.5.7-22.el3 | 0:3.5.7-22.el3 |
libtiff-develRed Hat:enterprise_linux:3::es From an advisory covering 2 CVEs |
before 0:3.5.7-22.el3 | 0:3.5.7-22.el3 |
libtiffRed Hat:enterprise_linux:3::ws From an advisory covering 2 CVEs |
before 0:3.5.7-22.el3 | 0:3.5.7-22.el3 |
libtiff-debuginfoRed Hat:enterprise_linux:3::ws From an advisory covering 2 CVEs |
before 0:3.5.7-22.el3 | 0:3.5.7-22.el3 |
libtiff-develRed Hat:enterprise_linux:3::ws From an advisory covering 2 CVEs |
before 0:3.5.7-22.el3 | 0:3.5.7-22.el3 |
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 |
libtiffRed Hat:enterprise_linux:4::as From an advisory covering 2 CVEs |
before 0:3.6.1-8 | 0:3.6.1-8 |
libtiff-debuginfoRed Hat:enterprise_linux:4::as From an advisory covering 2 CVEs |
before 0:3.6.1-8 | 0:3.6.1-8 |
libtiff-develRed Hat:enterprise_linux:4::as From an advisory covering 2 CVEs |
before 0:3.6.1-8 | 0:3.6.1-8 |
libtiffRed Hat:enterprise_linux:4::desktop From an advisory covering 2 CVEs |
before 0:3.6.1-8 | 0:3.6.1-8 |
libtiff-debuginfoRed Hat:enterprise_linux:4::desktop From an advisory covering 2 CVEs |
before 0:3.6.1-8 | 0:3.6.1-8 |
libtiff-develRed Hat:enterprise_linux:4::desktop From an advisory covering 2 CVEs |
before 0:3.6.1-8 | 0:3.6.1-8 |
libtiffRed Hat:enterprise_linux:4::es From an advisory covering 2 CVEs |
before 0:3.6.1-8 | 0:3.6.1-8 |
libtiff-debuginfoRed Hat:enterprise_linux:4::es From an advisory covering 2 CVEs |
before 0:3.6.1-8 | 0:3.6.1-8 |
libtiff-develRed Hat:enterprise_linux:4::es From an advisory covering 2 CVEs |
before 0:3.6.1-8 | 0:3.6.1-8 |
libtiffRed Hat:enterprise_linux:4::ws From an advisory covering 2 CVEs |
before 0:3.6.1-8 | 0:3.6.1-8 |
libtiff-debuginfoRed Hat:enterprise_linux:4::ws From an advisory covering 2 CVEs |
before 0:3.6.1-8 | 0:3.6.1-8 |
libtiff-develRed Hat:enterprise_linux:4::ws From an advisory covering 2 CVEs |
before 0:3.6.1-8 | 0:3.6.1-8 |
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.
In short
CVE-2004-1308 is a high vulnerability (CVSS 10.0) in Libtiff, published December 22, 2004. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 15.0%, the 96th percentile. Fixed in tiff 3.6.1-4.
References
redhat.com/support/errata/RHSA-2005-019.html
exchange.xforce.ibmcloud.com/vulnerabilities/18637
debian.org/security/2004/dsa-617
us-cert.gov/cas/techalerts/TA05-136A.html
novell.com/linux/security/advisories/2005_01_libtiff_tiff.html
sunsolve.sun.com/search/document.do?assetkey=1-66-201072-1
Show 49 moreShow less
sunsolve.sun.com/search/document.do?assetkey=1-26-101677-1
lists.apple.com/archives/security-announce/2005/May/msg00001.html
oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A9392
mandriva.com/security/advisories?name=MDKSA-2005:052
idefense.com/application/poi/display?id=174&type=vulnerabilities
kb.cert.org/vuls/id/125598
oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A100117
redhat.com/support/errata/RHSA-2005-035.html
distro.conectiva.com.br/atualizacoes?id=a&anuncio=000920
secunia.com/advisories/13776
nvd.nist.gov/vuln/detail/CVE-2004-1308
github.com/advisories/GHSA-6prx-h64j-5pw3
security-tracker.debian.org/tracker/CVE-2004-1308
access.redhat.com/errata/RHSA-2005:019
access.redhat.com/security/updates/classification
bugzilla.redhat.com/show_bug.cgi?id=143505
bugzilla.redhat.com/show_bug.cgi?id=143577
security.access.redhat.com/data/csaf/v2/advisories/2005/rhsa-2005_019.json
access.redhat.com/security/cve/CVE-2004-1183
bugzilla.redhat.com/show_bug.cgi?id=1617390
cve.org/CVERecord?id=CVE-2004-1183
nvd.nist.gov/vuln/detail/CVE-2004-1183
access.redhat.com/security/cve/CVE-2004-1308
bugzilla.redhat.com/show_bug.cgi?id=1617406
cve.org/CVERecord?id=CVE-2004-1308
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-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
nvd.nist.gov/vuln/detail/CVE-2004-1307
access.redhat.com/errata/RHSA-2005:035
bugzilla.redhat.com/show_bug.cgi?id=144185
bugzilla.redhat.com/show_bug.cgi?id=144186
security.access.redhat.com/data/csaf/v2/advisories/2005/rhsa-2005_035.json