Every CVE Search/ Get API key

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...

10.0 HighFix available

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

15.0%Up 2.7 points since Feb 4, 2022
90%50%10%1%

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 HighAV: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

Affected packages
PackageAffectedFixed
tiff
Debian:12
before 3.6.1-4
3.6.1-4
tiff
Debian:13
before 3.6.1-4
3.6.1-4
tiff
Debian:14
before 3.6.1-4
3.6.1-4
tiff
Debian:3.0
before 3.5.5-6.woody3
3.5.5-6.woody3
libtiff
Red 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-debuginfo
Red 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-devel
Red 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
Red 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-debuginfo
Red 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-devel
Red 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
Affected packages
PackageAffectedFixed
libtiff
Red 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-debuginfo
Red 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-devel
Red 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
Red 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-debuginfo
Red 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-devel
Red Hat:enterprise_linux:3::ws
From an advisory covering 2 CVEs
before 0:3.5.7-22.el3
0:3.5.7-22.el3
kdegraphics
Red 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-debuginfo
Red 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-devel
Red 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
Red 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-debuginfo
Red 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-devel
Red 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
Red 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-debuginfo
Red 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-devel
Red 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
Red 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-debuginfo
Red 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-devel
Red Hat:enterprise_linux:3::ws
From an advisory covering 5 CVEs
before 7:3.1.3-3.7
7:3.1.3-3.7
libtiff
Red Hat:enterprise_linux:4::as
From an advisory covering 2 CVEs
before 0:3.6.1-8
0:3.6.1-8
libtiff-debuginfo
Red Hat:enterprise_linux:4::as
From an advisory covering 2 CVEs
before 0:3.6.1-8
0:3.6.1-8
libtiff-devel
Red Hat:enterprise_linux:4::as
From an advisory covering 2 CVEs
before 0:3.6.1-8
0:3.6.1-8
libtiff
Red Hat:enterprise_linux:4::desktop
From an advisory covering 2 CVEs
before 0:3.6.1-8
0:3.6.1-8
libtiff-debuginfo
Red Hat:enterprise_linux:4::desktop
From an advisory covering 2 CVEs
before 0:3.6.1-8
0:3.6.1-8
libtiff-devel
Red Hat:enterprise_linux:4::desktop
From an advisory covering 2 CVEs
before 0:3.6.1-8
0:3.6.1-8
libtiff
Red Hat:enterprise_linux:4::es
From an advisory covering 2 CVEs
before 0:3.6.1-8
0:3.6.1-8
libtiff-debuginfo
Red Hat:enterprise_linux:4::es
From an advisory covering 2 CVEs
before 0:3.6.1-8
0:3.6.1-8
libtiff-devel
Red Hat:enterprise_linux:4::es
From an advisory covering 2 CVEs
before 0:3.6.1-8
0:3.6.1-8
libtiff
Red Hat:enterprise_linux:4::ws
From an advisory covering 2 CVEs
before 0:3.6.1-8
0:3.6.1-8
libtiff-debuginfo
Red Hat:enterprise_linux:4::ws
From an advisory covering 2 CVEs
before 0:3.6.1-8
0:3.6.1-8
libtiff-devel
Red Hat:enterprise_linux:4::ws
From an advisory covering 2 CVEs
before 0:3.6.1-8
0:3.6.1-8

History

History
RecordedChangedSources
affected, facts
aliasesEUVD
first indexedCVE 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

Show 49 moreShow less
MoveEnter Open