CVE-2004-0642 Double Free
No CVSS score yet. EPSS 8.3% estimated probability of exploitation activity in the next 30 days.
On this page
Double free vulnerabilities in the error handling code for ASN.1 decoders in the (1) Key Distribution Center (KDC) library and (2) client library for MIT Kerberos 5 (krb5) 1.3.4 and earlier may allow remote attackers to execute arbitrary code.
- EPSS
- 8.3% (unchanged from 8.3% a week ago; 8.3% 30 days ago) estimated probability of exploitation activity in the next 30 days; 95th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
- CWE
- CWE-415 Double Free
- 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://web.mit.edu/kerberos/www/advisories/MITKRB5-SA-2004-002-dblfree.txt
- Vendor advisory: http://web.mit.edu/kerberos/www/advisories/MITKRB5-SA-2004-002-dblfree.txt
Ask an AI about this CVE
Show the prompt
Explain CVE-2004-0642 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2004-0642?via=ask-ai-copy and https://cve.bz/cve/CVE-2004-0642?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-0642 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
- debian:debian_linux
- mit:kerberos_5
- redhat:enterprise_linux_desktop
- redhat:enterprise_linux_server
- redhat:enterprise_linux_workstation
Versions
From the NVD's CPE matches.
| Product | Affected |
|---|---|
| mit:kerberos_5 | through 1.3.4 |
| debian:debian_linux | 3.0 |
| redhat:enterprise_linux_desktop | 3.0 |
| redhat:enterprise_linux_server | 3.0 |
| redhat:enterprise_linux_workstation | 3.0 |
Linux distributions
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Debian | 3.0 | krb5 | 1.2.4-5woody6 | DSA-543-1 |
| Debian | 12, 13, 14 | krb5 | 1.3.4-3 | DEBIAN-CVE-2004-0642 |
| Red Hat | enterprise_linux:3::as, enterprise_linux:3::desktop, enterprise_linux:3::es and 1 more | krb5, krb5-libs, krb5-devel and 3 more | 0:1.2.7-28 | RHSA-2004:350 |
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
Red Hat rates this Critical.
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 3 | krb5-0:1.2.7-28 | Fixed 2004-08-31 | RHSA-2004:350 |
| Red Hat Enterprise Linux AS (Advanced Server) version 2.1 | Fixed 2004-08-31 | RHSA-2004:448 | |
| Red Hat Enterprise Linux ES version 2.1 | Fixed 2004-08-31 | RHSA-2004:448 | |
| Red Hat Enterprise Linux WS version 2.1 | Fixed 2004-08-31 | RHSA-2004:448 | |
| Red Hat Linux Advanced Workstation 2.1 | Fixed 2004-08-31 | RHSA-2004:448 |
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-0642.
References
- http://web.mit.edu/kerberos/www/advisories/MITKRB5-SA-2004-002-dblfree.txt
- http://distro.conectiva.com.br/atualizacoes/?id=a&anuncio=000860
- http://marc.info/?l=bugtraq&m=109508872524753&w=2
- http://rhn.redhat.com/errata/RHSA-2004-350.html
- http://www.debian.org/security/2004/dsa-543
- http://www.gentoo.org/security/en/glsa/glsa-200409-09.xml
- http://www.kb.cert.org/vuls/id/795632
- http://www.securityfocus.com/bid/11078
- http://www.trustix.net/errata/2004/0045/
- http://www.us-cert.gov/cas/techalerts/TA04-247A.html
- https://exchange.xforce.ibmcloud.com/vulnerabilities/17157
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10709
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A4936