CVE Catalog

CVE-2004-1308

High
Published: Translated: NVD NIST

Summary

An integer overflow in libtiff versions 3.5.7 and 3.7.0 in tif_dirread.c and tif_fax3.c allows remote attackers to execute arbitrary code via a crafted TIFF file with a TIFF_ASCII or TIFF_UNDEFINED directory entry having an entry count of -1, leading to a heap-based buffer overflow.

Risk Assessment

The risk to the organization is remote code execution without authentication, potentially leading to system compromise, data theft, or service disruption.

Recommendation

Immediately update libtiff to a version newer than 3.7.0 that includes the fix. If updating is not possible, restrict processing of TIFF files from untrusted sources.

Related vulnerabilities

Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS