CVE-2004-1308

CVE-2004-1308 is a critical-severity vulnerability in Libtiff with a CVSS 2.0 base score of 10.0. Its EPSS exploit-prediction score of 15% places it in the 96th percentile, indicating an elevated likelihood of exploitation.

Key facts

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.

Frequently asked questions

What is 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 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.
How severe is CVE-2004-1308?
CVE-2004-1308 has a CVSS 2.0 base score of 10.0, rated critical severity.
Is CVE-2004-1308 being actively exploited?
It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 15% (96th percentile), an estimate of the probability of exploitation in the next 30 days.
What products are affected by CVE-2004-1308?
CVE-2004-1308 primarily affects Libtiff. In total, 10 product configurations (CPEs) are listed as vulnerable; see the affected-products list for the exact versions.
How do I fix CVE-2004-1308?
Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its critical severity, prioritise patching exposed systems.
When was CVE-2004-1308 published?
CVE-2004-1308 was published on 2005-01-10 and last updated on 2026-06-16.

References

Affected products (10)

More vulnerabilities in Libtiff

All CVEs affecting Libtiff →