CVE-2004-1189: The add_to_history function in svr_principal.c in libkadm5srv for MIT Kerberos 5 (krb5) up to 1.3.5, when performing a password change, does…
Noroxi assessment
Priority: Monitor (action score 28/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: 0.73% (FIRST EPSS); higher than 54.9% of all records.
- No special conditions are required; it is repeatable.
- Fixed version: krb5 (Debian:12) 1.3.6-1; krb5 (Debian:3.0) 1.2.4-5woody7; krb5 (Red Hat:enterprise_linux:3::as) 0:1.2.7-38.
Low priority for now. Upgrade to krb5 (Debian:12) 1.3.6-1; krb5 (Debian:3.0) 1.2.4-5woody7; krb5 (Red Hat:enterprise_linux:3::as) 0:1.2.7-38 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
The add_to_history function in svr_principal.c in libkadm5srv for MIT Kerberos 5 (krb5) up to 1.3.5, when performing a password change, does not properly track the password policy's history count and the maximum number of keys, which can cause an array index out-of-bounds error and may allow authenticated users to execute arbitrary code via a heap-based buffer overflow.
- Published
- Dec 31, 2004
- Updated
- Jun 16, 2026
- EPSS
- 0.7% · 54th percentile
- CWE
- CWE-787
Report tools
Action score
28
Low priority for now.
- CVSS
- 28 / 40 · 7.2 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 0 / 30 · 0.7%
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 |
Affected versions
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- mit kerberos 5up to 1.3.5 inclusive
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.6-1 | 1.3.6-1 |
| Debian:3.0 | krb5 | before 1.2.4-5woody7 | 1.2.4-5woody7 |
| Red Hat:enterprise_linux:3::as | krb5 | before 0:1.2.7-38 | 0:1.2.7-38 |
| Red Hat:enterprise_linux:3::as | krb5-debuginfo | before 0:1.2.7-38 | 0:1.2.7-38 |
| Red Hat:enterprise_linux:3::as | krb5-devel | before 0:1.2.7-38 | 0:1.2.7-38 |
| Red Hat:enterprise_linux:3::as | krb5-libs | before 0:1.2.7-38 | 0:1.2.7-38 |
| Red Hat:enterprise_linux:3::as | krb5-server | before 0:1.2.7-38 | 0:1.2.7-38 |
| Red Hat:enterprise_linux:3::as | krb5-workstation | before 0:1.2.7-38 | 0:1.2.7-38 |
| Red Hat:enterprise_linux:4::as | krb5 | before 0:1.3.4-10 | 0:1.3.4-10 |
| Red Hat:enterprise_linux:4::as | krb5-debuginfo | before 0:1.3.4-10 | 0:1.3.4-10 |
| Red Hat:enterprise_linux:4::as | krb5-devel | before 0:1.3.4-10 | 0:1.3.4-10 |
| Red Hat:enterprise_linux:4::as | krb5-libs | before 0:1.3.4-10 | 0:1.3.4-10 |
| Red Hat:enterprise_linux:4::as | krb5-server | before 0:1.3.4-10 | 0:1.3.4-10 |
| Red Hat:enterprise_linux:4::as | krb5-workstation | before 0:1.3.4-10 | 0:1.3.4-10 |
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-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
- ← EarlierCVE-2004-0772Oct 20, 2004 · Double free vulnerabilities in error handling code in krb524d for MIT Kerberos 5 (krb5) 1.2.8 and earlier may allow remote attackers to…41Plan
- Later →CVE-2004-0971Feb 9, 2005 · The krb5-send-pr script in the kerberos5 (krb5) package in Trustix Secure Linux 1.5 through 2.1, and possibly other operating systems…8Monitor
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.6-1 · Debian:12 | Package registry (OSV) |
| red hat:krb5 | 0:1.2.7-38 · Red Hat:enterprise_linux:3::as | Package registry (OSV) |
| red hat:krb5-debuginfo | 0:1.2.7-38 · Red Hat:enterprise_linux:3::as | Package registry (OSV) |
| red hat:krb5-devel | 0:1.2.7-38 · Red Hat:enterprise_linux:3::as | Package registry (OSV) |
| red hat:krb5-libs | 0:1.2.7-38 · Red Hat:enterprise_linux:3::as | Package registry (OSV) |
| red hat:krb5-server | 0:1.2.7-38 · Red Hat:enterprise_linux:3::as | Package registry (OSV) |
| red hat:krb5-workstation | 0:1.2.7-38 · 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.
Not on record for this CVE: EPSS history · 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
- C · data can be read
- Integrity
- C · data or configuration can be modified
- Availability
- C · the service can be disrupted
- Attack complexity
- Low
- Confidentiality impact
- C
- Integrity impact
- C
- Availability impact
- C
Weakness class (CWE)
CWE-787 · Out-of-bounds WriteCVSS vector
AV:L/AC:L/Au:N/C:C/I:C/A:C
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 (11 more)Show less
- lists.apple.com/archives/security-announce/2005//Aug/msg00001.html
- lists.apple.com/archives/security-announce/2005/Aug/msg00000.html
- marc.info/?l=bugtraq&m=110358420909358&w=2
- marc.info/?l=bugtraq&m=110548298407590&w=2
- web.mit.edu/kerberos/advisories/MITKRB5-SA-2004-004-pwhist.txt
- www.mandriva.com/security/advisories?name=MDKSA-2004:156
- www.redhat.com/support/errata/RHSA-2005-012.html
- www.redhat.com/support/errata/RHSA-2005-045.html
- www.trustix.org/errata/2004/0069
- exchange.xforce.ibmcloud.com/vulnerabilities/18621
- oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A11911
Vendor advisories and official records. Exploit/PoC links are deliberately left out.