CVE Catalog

CVE-2004-1307

High
Published: Translated: NVD NIST

Summary

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.

Risk Assessment

The risk for the organization includes the possibility of remote code execution by an attacker on a system processing a malicious TIFF file, which could lead to system compromise, data theft, or service disruption.

Recommendation

It is recommended to immediately update the libtiff library to a version newer than 3.6.1 that includes a fix for this vulnerability. Also consider restricting processing of TIFF files from untrusted sources.

Related vulnerabilities

Original NVD description (English source)

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.

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