CVE-2004-0642 in Debian Linux and 4 more products
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.
Affects 5 products from 3 vendors. Facts below cite their sources.
Remotely exploitable over the network, low complexity.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Debian | Debian Linux | 3.0 |
| Mit | Kerberos 5 | ≤ 1.3.4 |
| Redhat | Enterprise Linux Desktop | 3.0 |
| Redhat | Enterprise Linux Server | 3.0 |
| Redhat | Enterprise Linux Workstation | 3.0 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
Vendor PSIRT: [email protected]
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official 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.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2004-0642 |
|---|---|
| BreachSpider ID | BS-2004-GLOBAL-008026-H |
| CVSS vector | AV:N/AC:L/Au:N/C:P/I:P/A:P |
| Published | 2004-09-28 |
| Last modified | 2026-06-16 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-415: CWE-415
Analysis AI-written, not human-reviewed
This vulnerability was disclosed in 2004. A high severity vulnerability affects Debian systems (CVE-2004-0642). No public exploit code is currently available. Isolate affected systems if patching is not feasible.
Vulnerability details: 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. CVSS vector: AV:N/AC:L/Au:N/C:P/I:P/A:P.
Questions
What is CVE-2004-0642?
This vulnerability was disclosed in 2004. A high severity vulnerability affects Debian systems (CVE-2004-0642). No public exploit code is currently available. Isolate affected systems if patching is not feasible.
What is the CVSS score for CVE-2004-0642?
CVE-2004-0642 has CVSS 7.5 (High). Vector: AV:N/AC:L/Au:N/C:P/I:P/A:P. EPSS: 8.3%.
Is CVE-2004-0642 actively exploited?
No confirmed active exploitation of CVE-2004-0642 as of 2026-09-25.
How do I remediate CVE-2004-0642?
Priority: MEDIUM. Advisory: http://web.mit.edu/kerberos/www/advisories/MITKRB5-SA-2004-002-dblfree.txt PSIRT: [email protected]
What systems are affected by CVE-2004-0642?
CVE-2004-0642 affects Debian Debian Linux; Mit Kerberos 5; Redhat Enterprise Linux Desktop, Enterprise Linux Server, Enterprise Linux Workstation.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Debian","product":"Debian Linux","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-16.