CVE-2004-0804 libtiff libtiff: Divide By Zero
libtiff libtiff: no CVSS score yet. EPSS 4.3% estimated probability of exploitation activity in the next 30 days.
On this page
Vulnerability in tif_dirread.c for libtiff allows remote attackers to cause a denial of service (application crash) via a TIFF image that causes a divide-by-zero error when the number of row bytes is zero, a different vulnerability than CVE-2005-2452.
- EPSS
- 4.3% (unchanged from 4.3% a week ago; 4.3% 30 days ago) estimated probability of exploitation activity in the next 30 days; 91st percentile. Scored 2026-11-24. A forecast for this CVE across the internet, not for your own systems.
- CWE
- CWE-369 Divide By Zero
- OWASP Top 10
- A10:2025 Mishandling of Exceptional Conditions
- Published
- Modified
- NVD analysis
- Analyzed, since modified
- Record from
- the NVD, synced
Fix and patched versions
- Debian, Red Hat: fixed package versions per release
- Patch: http://www.redhat.com/support/errata/RHSA-2004-577.html
- Vendor advisory: http://www.debian.org/security/2004/dsa-567
- Vendor advisory: http://www.redhat.com/support/errata/RHSA-2004-577.html
Ask an AI about this CVE
Show the prompt
Explain CVE-2004-0804 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2004-0804?via=ask-ai-copy and https://cve.bz/cve/CVE-2004-0804?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2004-0804 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
Affected
Versions
From the NVD's CPE matches.
| Product | Affected |
|---|---|
| libtiff:libtiff | before 3.7.0 |
Linux distributions
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Debian | 3.0 | tiff | 3.5.5-6woody1 | DSA-567-1 |
| Debian | 12, 13, 14 | tiff | 3.6.1-2 | DEBIAN-CVE-2004-0804 |
| Red Hat | enterprise_linux:3::as, enterprise_linux:3::desktop, enterprise_linux:3::es and 1 more | kdegraphics, kdegraphics-devel, kdegraphics-debuginfo | 7:3.1.3-3.7 | RHSA-2005:021 |
| Red Hat | enterprise_linux:3::as, enterprise_linux:3::desktop, enterprise_linux:3::es and 1 more | libtiff, libtiff-devel, libtiff-debuginfo | 0:3.5.7-20.1 | RHSA-2004:577 |
| Red Hat | enterprise_linux:3::as, enterprise_linux:3::desktop, enterprise_linux:3::es and 1 more | tetex, tetex-afm, tetex-xdvi and 4 more | 0:1.0.7-67.7 | RHSA-2005:354 |
From the distributions' data via OSV.dev: the Debian Security Tracker; Red Hat Security Data © Red Hat, Inc., CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Red Hat.
Red Hat
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 3 | libtiff-0:3.5.7-20.1 | Fixed 2004-10-22 | RHSA-2004:577 |
| Red Hat Enterprise Linux 3 | kdegraphics-7:3.1.3-3.7 | Fixed 2005-04-12 | RHSA-2005:021 |
| Red Hat Enterprise Linux 3 | tetex-0:1.0.7-67.7 | Fixed 2005-04-01 | RHSA-2005:354 |
Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2004-0804.
References
- http://www.redhat.com/support/errata/RHSA-2004-577.html
- http://www.debian.org/security/2004/dsa-567
- http://bugzilla.remotesensing.org/show_bug.cgi?id=111
- http://distro.conectiva.com.br/atualizacoes/index.php?id=a&anuncio=000888
- 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.kb.cert.org/vuls/id/555304
- http://www.kde.org/info/security/advisory-20041209-2.txt
- http://www.mandriva.com/security/advisories?name=MDKSA-2004:109
- http://www.mandriva.com/security/advisories?name=MDKSA-2005:052
- http://www.novell.com/linux/security/advisories/2004_38_libtiff.html
- http://www.redhat.com/support/errata/RHSA-2005-021.html
- http://www.redhat.com/support/errata/RHSA-2005-354.html
- https://exchange.xforce.ibmcloud.com/vulnerabilities/17755
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A100115
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A11711