CVE-2004-1308 Integer overflow in n/a

Critical 10.0 Published Updated

Remote attackers can execute arbitrary code by tricking users into opening a malicious TIFF file with a crafted directory entry count.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2004-1308?

CVE-2004-1308 is a critical vulnerability in Libtiff Libtiff, published on 22 Dec 2004. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

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

Which versions are affected by CVE-2004-1308?

It affects 1 product.

Products include Libtiff Libtiff.

How do I fix CVE-2004-1308?

Upgrade to a fixed version.

Is CVE-2004-1308 being exploited?

There is no known exploitation of CVE-2004-1308 in the wild and no public exploit code.

All Libtiff Libtiff vulnerabilities

Sources

Also known as DEBIAN-CVE-2004-1308, DSA-617-1, GHSA-6prx-h64j-5pw3.

Is CVE-2004-1308 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free