CVE-2004-0643: Double free vulnerability in the krb5_rd_cred function for MIT Kerberos 5 (krb5) 1.3.1 and earlier may allow local users to execute…
Noroxi assessment
Priority: Monitor (action score 21/100)
- The sources we track (CISA KEV, Exploit-DB, Metasploit, Nuclei, GitHub) show no public exploit code or exploitation in the wild.
- Probability of exploitation in the next 30 days: 8.9% (FIRST EPSS); higher than 95.3% of all records.
- No special conditions are required; it is repeatable.
- Fixed version: krb5 (Debian:12) 1.3.4-3; krb5 (Debian:3.0) 1.2.4-5woody6; krb5 (Red Hat:enterprise_linux:3::as) 0:1.2.7-28.
Low priority for now. Upgrade to krb5 (Debian:12) 1.3.4-3; krb5 (Debian:3.0) 1.2.4-5woody6; krb5 (Red Hat:enterprise_linux:3::as) 0:1.2.7-28 or later.
Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it
Primary sources: NVD · CVE.org · FIRST EPSS
Double free vulnerability in the krb5_rd_cred function for MIT Kerberos 5 (krb5) 1.3.1 and earlier may allow local users to execute arbitrary code.
- Published
- Sep 28, 2004
- Updated
- Jun 16, 2026
- EPSS
- 8.9% · 95th percentile
- CWE
- CWE-415
Report tools
Action score
21
Low priority for now.
- CVSS
- 18 / 40 · 4.6 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 3 / 30 · 8.9%
Get told when this record changes
- Not in KEV: no record of exploitation in the wild
- No public exploit code on record
- A fix has been released
If any of these changes, we'll tell you in the daily email digest.
Is your version affected? Check itNoroxi analysis
What does it mean in your environment?
The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.
We use this product, ask for helpAffected systems
Is your version affected?
Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.
| Vendor | Product | CPE |
|---|---|---|
| mit | kerberos 5 | cpe:2.3:a:mit:kerberos_5 |
| debian | debian linux | cpe:2.3:o:debian:debian_linux |
| redhat | enterprise linux desktop | cpe:2.3:o:redhat:enterprise_linux_desktop |
| redhat | enterprise linux server | cpe:2.3:o:redhat:enterprise_linux_server |
| redhat | enterprise linux workstation | cpe:2.3:o:redhat:enterprise_linux_workstation |
Affected versions
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- debian debian linux3.0
- mit kerberos 5up to 1.3.3 inclusive
- redhat enterprise linux desktop3.0
- redhat enterprise linux server3.0
- redhat enterprise linux workstation3.0
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| Debian:12 | krb5 | before 1.3.4-3 | 1.3.4-3 |
| Debian:3.0 | krb5 | before 1.2.4-5woody6 | 1.2.4-5woody6 |
| Red Hat:enterprise_linux:3::as | krb5 | before 0:1.2.7-28 | 0:1.2.7-28 |
| Red Hat:enterprise_linux:3::as | krb5-debuginfo | before 0:1.2.7-28 | 0:1.2.7-28 |
| Red Hat:enterprise_linux:3::as | krb5-devel | before 0:1.2.7-28 | 0:1.2.7-28 |
| Red Hat:enterprise_linux:3::as | krb5-libs | before 0:1.2.7-28 | 0:1.2.7-28 |
| Red Hat:enterprise_linux:3::as | krb5-server | before 0:1.2.7-28 | 0:1.2.7-28 |
| Red Hat:enterprise_linux:3::as | krb5-workstation | before 0:1.2.7-28 | 0:1.2.7-28 |
Same product
mit: all recordsOther highest-scoring records for the same primary product.
- CVE-2007-0956The telnet daemon (telnetd) in MIT krb5 before 1.6.1 allows remote attackers to bypass authentication and gain system access via a username…49Plan
- CVE-2011-0285The process_chpw_request function in schpw.c in the password-changing functionality in kadmind in MIT Kerberos 5 (aka krb5) 1.7 through 1.9…46Plan
- CVE-2001-0247Buffer overflows in BSD-based FTP servers allows remote attackers to execute arbitrary commands via a long pattern string containing a {}…46Plan
Published before and after this one in the same product
- ← EarlierCVE-2003-0060Feb 19, 2003 · Format string vulnerabilities in the logging routines for MIT Kerberos V5 Key Distribution Center (KDC) before 1.2.5 allow remote attackers…32Monitor
- ← EarlierCVE-2004-0642Sep 28, 2004 · Double free vulnerabilities in the error handling code for ASN.1 decoders in the (1) Key Distribution Center (KDC) library and (2) client…32Monitor
- Later →CVE-2004-0644Sep 28, 2004 · The asn1buf_skiptail function in the ASN.1 decoder library for MIT Kerberos 5 (krb5) 1.2.2 through 1.3.4 allows remote attackers to cause a…22Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| debian:krb5 | 1.3.4-3 · Debian:12 | Package registry (OSV) |
| red hat:krb5 | 0:1.2.7-28 · Red Hat:enterprise_linux:3::as | Package registry (OSV) |
| red hat:krb5-debuginfo | 0:1.2.7-28 · Red Hat:enterprise_linux:3::as | Package registry (OSV) |
| red hat:krb5-devel | 0:1.2.7-28 · Red Hat:enterprise_linux:3::as | Package registry (OSV) |
| red hat:krb5-libs | 0:1.2.7-28 · Red Hat:enterprise_linux:3::as | Package registry (OSV) |
| red hat:krb5-server | 0:1.2.7-28 · Red Hat:enterprise_linux:3::as | Package registry (OSV) |
| red hat:krb5-workstation | 0:1.2.7-28 · Red Hat:enterprise_linux:3::as | Package registry (OSV) |
Exploit status
No known public exploit
No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
No dated events beyond publication.
FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).
Not on record for this CVE: patch commit or PR link · researcher credit · variant or chain candidate · public bounty program.
Technical details
Attack conditions
- No special conditions are required; it is repeatable.
If successful
- Confidentiality
- P · data can be read
- Integrity
- P · data or configuration can be modified
- Availability
- P · the service can be disrupted
- Attack complexity
- Low
- Confidentiality impact
- P
- Integrity impact
- P
- Availability impact
- P
Weakness class (CWE)
CWE-415 · Double FreeCVSS vector
AV:L/AC:L/Au:N/C:P/I:P/A:P
nvd-primary
Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
MITRE has no CAPEC/ATT&CK mapping for this CWE.
Change log (1)
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Show all references (12 more)Show less
- marc.info/?l=bugtraq&m=109508872524753&w=2
- rhn.redhat.com/errata/RHSA-2004-350.html
- web.mit.edu/kerberos/www/advisories/MITKRB5-SA-2004-002-dblfree.txt
- www.debian.org/security/2004/dsa-543
- www.gentoo.org/security/en/glsa/glsa-200409-09.xml
- www.kb.cert.org/vuls/id/866472
- www.securityfocus.com/bid/11078
- www.trustix.net/errata/2004/0045/
- www.us-cert.gov/cas/techalerts/TA04-247A.html
- exchange.xforce.ibmcloud.com/vulnerabilities/17159
- oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10267
- oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A3322
Vendor advisories and official records. Exploit/PoC links are deliberately left out.