CVE-2004-1308
What it is
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.
At a glance
- Exploitability
- Can be exploited over the network without logging in. High risk of data exposure, data tampering, service disruption.
- Exploit odds
- 15.0% chance of exploitation in the next 30 days (EPSS). Higher than most.
- Fix
- A patch, advisory or fixed version is referenced. Upgrade or apply it.
Timeline
- PublishedDisclosed publicly on CVE.org and NVD
- Last updatedMost recent change to the record
Why it ranks here
- Exploited in the wild: no, CISA does not list it.
- Exploit odds: 15.0% in the next 30 days (EPSS).
- Severity: 10.0 HIGH (CVSS).
- Fix: a patch or advisory is linked.
Details
- Published
- Last modified
- Exploit probability
- 15.0% · EPSS, next 30 days
- Record status
- Modified
Affected
- Libtiff 3.4
- Libtiff 3.5.1
- Libtiff 3.5.2
- Libtiff 3.5.3
- Libtiff 3.5.4
- Libtiff 3.5.5
- Libtiff 3.5.7
- Libtiff 3.6.0
Attack profile CVSS 2.0 · 10.0
- Attack vector
- Network
- Complexity
- Low
- Authentication
- None
- Confidentiality
- Complete
- Integrity
- Complete
- Availability
- Complete
Raw vector
AV:N/AC:L/Au:N/C:C/I:C/A:C
Is it in your code?
Hand this to your coding agent. It searches your project for the affected products and checks versions. Nothing leaves your machine.
Read https://cve-list.com/agent/cve/CVE-2004-1308.md and follow it. Check whether this project is affected by CVE-2004-1308. Read only. Don't change anything and don't upload my code. Tell me yes, no or not sure, with the file as proof.
Fix and advisories
- http://www.idefense.com/application/poi/display?id=174&type=vulnerabilities
- http://www.idefense.com/application/poi/display?id=174&type=vulnerabilities
References
- http://distro.conectiva.com.br/atualizacoes/?id=a&anuncio=000920
- http://lists.apple.com/archives/security-announce/2005/May/msg00001.html
- http://secunia.com/advisories/13776
- http://sunsolve.sun.com/search/document.do?assetkey=1-26-101677-1
- http://sunsolve.sun.com/search/document.do?assetkey=1-66-201072-1
- http://www.debian.org/security/2004/dsa-617
- http://www.idefense.com/application/poi/display?id=174&type=vulnerabilities
- http://www.kb.cert.org/vuls/id/125598
- http://www.mandriva.com/security/advisories?name=MDKSA-2005:052
- http://www.novell.com/linux/security/advisories/2005_01_libtiff_tiff.html
- http://www.redhat.com/support/errata/RHSA-2005-019.html
- http://www.redhat.com/support/errata/RHSA-2005-035.html
- http://www.us-cert.gov/cas/techalerts/TA05-136A.html
- https://exchange.xforce.ibmcloud.com/vulnerabilities/18637
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A100117
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A9392
- http://distro.conectiva.com.br/atualizacoes/?id=a&anuncio=000920
- http://lists.apple.com/archives/security-announce/2005/May/msg00001.html
- http://secunia.com/advisories/13776
- http://sunsolve.sun.com/search/document.do?assetkey=1-26-101677-1
- http://sunsolve.sun.com/search/document.do?assetkey=1-66-201072-1
- http://www.debian.org/security/2004/dsa-617
- http://www.idefense.com/application/poi/display?id=174&type=vulnerabilities
- http://www.kb.cert.org/vuls/id/125598
- http://www.mandriva.com/security/advisories?name=MDKSA-2005:052