Skip to content
Fencer Vulns
high 7.2

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-38
    fixed: 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-10
    fixed: 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-38
    fixed: 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-10
    fixed: 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-38
    fixed: 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-10
    fixed: 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

References

Sources

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.