CVE-2004-1189 json
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, doe…
published 2004-12-31 21 y ago modified 2026-06-16 4 mo ago also EUVD-2004-1186
- cvss
- 7.2
- version 2.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.7%
- EPSS 0.7% chance of exploitation in 30 days, percentile 54%
- public exploits
- 0
- none known
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.
Patch / fix
- krb5 Debian 14, Debian 13, Debian 12 1.3.6-1
debian advisories DEBIAN-CVE-2004-1189
- krb5 RHEL 4 1.3.4-10
- krb5-libs RHEL 4 1.3.4-10
- krb5-server RHEL 4 1.3.4-10
- krb5-workstation RHEL 4 1.3.4-10
- krb5 RHEL 3 1.2.7-38
- krb5-libs RHEL 3 1.2.7-38
- krb5-server RHEL 3 1.2.7-38
- krb5-workstation RHEL 3 1.2.7-38
red hat advisories RHSA-2005:045RHSA-2005:012
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2004-1189 updated
security flaw
-
Red Hat Desktop version 3 krb5 1.2.7-38, krb5-libs 1.2.7-38, krb5-server 1.2.7-38, krb5-workstation 1.2.7-38 Red Hat Enterprise Linux AS version 3 krb5 1.2.7-38, krb5-libs 1.2.7-38, krb5-server 1.2.7-38, krb5-workstation 1.2.7-38fixed: vendor fix RHSA-2005:012
-
Red Hat Enterprise Linux AS version 4 krb5 1.3.4-10, krb5-libs 1.3.4-10, krb5-server 1.3.4-10, krb5-workstation 1.3.4-10 Red Hat Enterprise Linux Desktop version 4 krb5 1.3.4-10, krb5-libs 1.3.4-10, krb5-server 1.3.4-10, krb5-workstation 1.3.4-10fixed: vendor fix RHSA-2005:045
-
Red Hat Enterprise Linux ES version 3 krb5 1.2.7-38, krb5-libs 1.2.7-38, krb5-server 1.2.7-38, krb5-workstation 1.2.7-38fixed: vendor fix RHSA-2005:012
-
Red Hat Enterprise Linux ES version 4 krb5 1.3.4-10, krb5-libs 1.3.4-10, krb5-server 1.3.4-10, krb5-workstation 1.3.4-10fixed: vendor fix RHSA-2005:045
-
Red Hat Enterprise Linux WS version 3 krb5 1.2.7-38, krb5-libs 1.2.7-38, krb5-server 1.2.7-38, krb5-workstation 1.2.7-38fixed: vendor fix RHSA-2005:012
-
Red Hat Enterprise Linux WS version 4 krb5 1.3.4-10, krb5-libs 1.3.4-10, krb5-server 1.3.4-10, krb5-workstation 1.3.4-10fixed: vendor fix RHSA-2005:045
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
0.73% chance of exploitation in the next 30 days, higher than 54% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 2.0 | 7.2 | AV:L/AC:L/Au:N/C:C/I:C/A:C |
Classification
- Weakness
-
- CWE-787 Out-of-bounds Write
References
-
web.mit.edu
/kerberos/advisories/MITKRB5-SA-2004-004-pwhist.txt
patch, vendor-advisory
-
distro.conectiva.com.br
/atualizacoes/?id=a&anuncio=000917
vendor-advisory, broken-link
-
redhat.com
/support/errata/RHSA-2005-012.html
vendor-advisory, third-party-advisory
-
lists.apple.com
/archives/security-announce/2005/Aug/msg00000.html
vendor-advisory, mailing-list, third-party-advisory
-
lists.apple.com
/archives/security-announce/2005//Aug/msg00001.html
vendor-advisory, mailing-list, third-party-advisory
-
trustix.org
/errata/2004/0069
vendor-advisory, broken-link
-
redhat.com
/support/errata/RHSA-2005-045.html
vendor-advisory, third-party-advisory
-
mandriva.com
/security/advisories?name=MDKSA-2004:156
vendor-advisory, third-party-advisory
-
oval.cisecurity.org
/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A11911
vdb-entry, signature, broken-link, third-party-advisory
-
exchange.xforce.ibmcloud.com
/vulnerabilities/18621
vdb-entry, third-party-advisory
-
marc.info
/?l=bugtraq&m=110548298407590&w=2
mailing-list, issue-tracking, third-party-advisory
-
marc.info
/?l=bugtraq&m=110358420909358&w=2
mailing-list, issue-tracking, third-party-advisory
Sources
- CVE List CVE-2004-1189
- NVD CVE-2004-1189
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.