The add_to_history function in svr_principal.c in libkadm5srv for MIT Kerberos 5 (krb5)…
Key facts
- Attack vector
- Local
- Privileges required
- None
- User interaction
- — Not recorded in CVSS 2.0
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- Complete · Complete · Complete
- Fix status
- Fixed
Attack profile from CVSS 2.0 · NVD. Fix status from CNA and Red Hat. Impact type from CWE-787 and the CVSS impact.
Summary
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.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
- — Vendor— Affected all versions Fixed in — No fix listed CNA
Remediation
Red Hat 2 advisories
- RHSA-2005:045 Released 2005-02-15 · Red Hat rating Moderatekrb5 security update
- Red Hat Enterprise Linux AS version 4 krb5-1.3.4-10, krb5-devel-1.3.4-10, krb5-devel-1.3.4-10.i386 +14
- Red Hat Enterprise Linux Desktop version 4 krb5-1.3.4-10, krb5-devel-1.3.4-10, krb5-devel-1.3.4-10.i386 +6
- Red Hat Enterprise Linux ES version 4 krb5-1.3.4-10, krb5-devel-1.3.4-10, krb5-devel-1.3.4-10.i386 +10
- Red Hat Enterprise Linux WS version 4 krb5-1.3.4-10, krb5-devel-1.3.4-10, krb5-devel-1.3.4-10.i386 +10
- RHSA-2005:012 Released 2005-01-19 · Red Hat rating Moderatekrb5 security update
- Red Hat Desktop version 3 krb5-1.2.7-38, krb5-devel-1.2.7-38, krb5-devel-1.2.7-38.i386 +6
- Red Hat Enterprise Linux AS version 3 krb5-1.2.7-38, krb5-devel-1.2.7-38, krb5-devel-1.2.7-38.i386 +14
- Red Hat Enterprise Linux ES version 3 krb5-1.2.7-38, krb5-devel-1.2.7-38, krb5-devel-1.2.7-38.i386 +10
- Red Hat Enterprise Linux WS version 3 krb5-1.2.7-38, krb5-devel-1.2.7-38, krb5-devel-1.2.7-38.i386 +10
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Desktop version 3 | Fixed | RHSA-2005:012 |
| Red Hat Enterprise Linux AS version 3 | Fixed | RHSA-2005:012 |
| Red Hat Enterprise Linux AS version 4 | Fixed | RHSA-2005:045 |
| Red Hat Enterprise Linux Desktop version 4 | Fixed | RHSA-2005:045 |
| Red Hat Enterprise Linux ES version 3 | Fixed | RHSA-2005:012 |
| Red Hat Enterprise Linux ES version 4 | Fixed | RHSA-2005:045 |
| Red Hat Enterprise Linux WS version 3 | Fixed | RHSA-2005:012 |
| Red Hat Enterprise Linux WS version 4 | Fixed | RHSA-2005:045 |
Timeline
- 2026-10-02 Threatist record created from CVE-2004-1189
- 2026-10-03 Alias added: GHSA-jq9g-4vpq-449j
References
More moos-ivp Kerberos 5 vulnerabilities
- TI-2024-17421 Kerberos 5 (aka krb5) 1.21.2 contains a memory leak vulnerability in /krb5/src/lib/gssapi/krb5/k5sealv3.c. CVSS 3.1HIGH 7.5
- TI-2001-00539 Buffer overflow in BSD-based telnetd telnet daemon on various operating systems allows… CVSS 2.0HIGH 10.0
- TI-2026-29130 NULL pointer dereference in moos-ivp Kerberos 5 CVSS 3.1HIGH 7.5
- TI-2007-00929 The telnet daemon (telnetd) in MIT krb5 before 1.6.1 allows remote attackers to bypass… CVSS 2.0HIGH 10.0
- TI-2011-00268 The process_chpw_request function in schpw.c in the password-changing functionality in… CVSS 2.0HIGH 10.0
- TI-2001-00245 Buffer overflows in BSD-based FTP servers allows remote attackers to execute arbitrary… CVSS 2.0HIGH 10.0
Sources
- CVE-2004-1189 · CVE Program
- CVE-2004-1189 · NVD
- FIRST EPSS
- GHSA-jq9g-4vpq-449j · GitHub Advisory Database · CC BY 4.0
- CVE-2004-1189 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences