CVE-2004-0642
CVE-2004-0642 is a high-severity vulnerability in Mit Kerberos 5 with a CVSS 2.0 base score of 7.5. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-415.
Key facts
- Severity: High (CVSS 2.0 base score 7.5)
- EPSS exploit prediction: 8% (94th percentile)
- Actively exploited: Not listed in CISA KEV
- Weakness: CWE-415
- Affected product: Mit Kerberos 5
- Published:
- Last modified:
Description
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.
Frequently asked questions
- What is CVE-2004-0642?
- 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.
- How severe is CVE-2004-0642?
- CVE-2004-0642 has a CVSS 2.0 base score of 7.5, rated high severity.
- Is CVE-2004-0642 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 8% (94th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2004-0642?
- CVE-2004-0642 primarily affects Mit Kerberos 5. In total, 5 product configurations (CPEs) are listed as vulnerable; see the affected-products list for the exact versions.
- How do I fix CVE-2004-0642?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its high severity, prioritise patching exposed systems.
- When was CVE-2004-0642 published?
- CVE-2004-0642 was published on 2004-09-28 and last updated on 2026-06-16.
References
- 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://web.mit.edu/kerberos/www/advisories/MITKRB5-SA-2004-002-dblfree.txt
- 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
Affected products (5)
- cpe:2.3:a:mit:kerberos_5:*:*:*:*:*:*:*:*
- cpe:2.3:o:debian:debian_linux:3.0:*:*:*:*:*:*:*
- cpe:2.3:o:redhat:enterprise_linux_desktop:3.0:*:*:*:*:*:*:*
- cpe:2.3:o:redhat:enterprise_linux_server:3.0:*:*:*:*:*:*:*
- cpe:2.3:o:redhat:enterprise_linux_workstation:3.0:*:*:*:*:*:*:*
More vulnerabilities in Mit Kerberos 5
- CVE-2011-0285 — Critical (CVSS 10.0): The process_chpw_request function in schpw.c in the password-changing functionality in kadmind in MIT Kerberos 5 (aka…
- CVE-2009-4212 — Critical (CVSS 10.0): Multiple integer underflows in the (1) AES and (2) RC4 decryption functionality in the crypto library in MIT Kerberos 5…
- CVE-2009-0846 — Critical (CVSS 10.0): The asn1_decode_generaltime function in lib/krb5/asn.1/asn1_decode.c in the ASN.1 GeneralizedTime decoder in MIT…
- CVE-2008-0947 — Critical (CVSS 10.0): Buffer overflow in the RPC library used by libgssrpc and kadmind in MIT Kerberos 5 (krb5) 1.4 through 1.6.3 allows…
- CVE-2007-5902 — Critical (CVSS 10.0): Integer overflow in the svcauth_gss_get_principal function in lib/rpc/svc_auth_gss.c in MIT Kerberos 5 (krb5) allows…
- CVE-2007-4743 — Critical (CVSS 10.0): The original patch for CVE-2007-3999 in svc_auth_gss.c in the RPCSEC_GSS RPC library in MIT Kerberos 5 (krb5) 1.4…
All CVEs affecting Mit Kerberos 5 →
Other CWE-415 (Double Free) vulnerabilities
- CVE-2018-0101 — Critical (CVSS 10.0): A vulnerability in the Secure Sockets Layer (SSL) VPN functionality of the Cisco Adaptive Security Appliance (ASA)…
- CVE-2026-8925 — Critical (CVSS 9.8): The curl logic that works with SASL authentication could end up cleaning up the GSASL context *twice* without clearing…
- CVE-2020-37239 — Critical (CVSS 9.8): libbabl 0.1.62 contains a broken double free detection vulnerability that allows attackers to bypass memory safety…
- CVE-2026-43011 — Critical (CVSS 9.8): In the Linux kernel, the following vulnerability has been resolved: net/x25: Fix potential double free of skb When…
- CVE-2026-31609 — Critical (CVSS 9.8): In the Linux kernel, the following vulnerability has been resolved: smb: client: avoid double-free in…
- CVE-2026-31608 — Critical (CVSS 9.8): In the Linux kernel, the following vulnerability has been resolved: smb: server: avoid double-free in…