Vulnerabilities · 2004 · Libtiff
CVE-2004-1308
Libtiff vulnerability
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.
High priority: this vulnerability is rated critical and can be attacked over the network without a login.
Affected products
Libtiff. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Libtiff runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- www.idefense.com/application/poi/display?id=174&type=vulnerabilities · Exploit
- distro.conectiva.com.br/atualizacoes/?id=a&anuncio=000920
- lists.apple.com/archives/security-announce/2005/May/msg00001.html
- secunia.com/advisories/13776
- sunsolve.sun.com/search/document.do?assetkey=1-26-101677-1
- sunsolve.sun.com/search/document.do?assetkey=1-66-201072-1
- www.debian.org/security/2004/dsa-617
- www.kb.cert.org/vuls/id/125598
- nvd.nist.gov/vuln/detail/CVE-2004-1308
- cve.org/CVERecord?id=CVE-2004-1308
More vulnerabilities in Libtiff products
CVE-2025-9165CVE-2025-8961CVE-2025-8851CVE-2025-8534CVE-2025-8177CVE-2025-8176CVE-2024-13978CVE-2024-7006All 258
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.