Every CVE Search/ Get API key

CVE-2004-1189

The add_to_history function in svr_principal.c in libkadm5srv for MIT Kerberos 5 (krb5) up to 1.3...

7.2 HighFix available

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.

Exploit likelihood

0.73%Down 1.4 points since Feb 4, 2022
90%50%10%1%

What each source reports

NVD Score used 7.2

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.

Record
CVE-2004-1189
CVSS 2.0
7.2 HighAV:L/AC:L/Au:N/C:C/I:C/A:C
Weakness
CWE-787
Updated
2026-11-02
CVE List No score

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.

Record
CVE-2004-1189
Updated
2026-11-02
EUVDEUVD-2004-1186 No score

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.

Record
EUVD-2004-1186
Updated
2026-11-03
GitHub AdvisoriesGHSA-jq9g-4vpq-449j No score

The add_to_history function in svr_principal.c in libkadm5srv for MIT Kerberos 5 (krb5) up to 1.3...

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.

Record
GHSA-jq9g-4vpq-449j
Weakness
CWE-787
Updated
2026-11-02
OSV No score

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.

Record
CVE-2004-1189
Updated
2026-11-02
OSVDEBIAN-CVE-2004-1189 No score

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.

Record
DEBIAN-CVE-2004-1189
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
krb5
Debian:12
before 1.3.6-1
1.3.6-1
krb5
Debian:13
before 1.3.6-1
1.3.6-1
krb5
Debian:14
before 1.3.6-1
1.3.6-1
krb5
Debian:3.0
before 1.2.4-5woody7, plus listed versions
1.2.4-5woody6
1.2.4-5woody7
krb5
Red Hat:enterprise_linux:3::as
From an advisory covering 2 CVEs
before 0:1.2.7-38
0:1.2.7-38
krb5-debuginfo
Red Hat:enterprise_linux:3::as
From an advisory covering 2 CVEs
before 0:1.2.7-38
0:1.2.7-38
krb5-devel
Red Hat:enterprise_linux:3::as
From an advisory covering 2 CVEs
before 0:1.2.7-38
0:1.2.7-38
krb5-libs
Red Hat:enterprise_linux:3::as
From an advisory covering 2 CVEs
before 0:1.2.7-38
0:1.2.7-38
krb5-server
Red Hat:enterprise_linux:3::as
From an advisory covering 2 CVEs
before 0:1.2.7-38
0:1.2.7-38
krb5-workstation
Red Hat:enterprise_linux:3::as
From an advisory covering 2 CVEs
before 0:1.2.7-38
0:1.2.7-38
Show 42 moreShow less
Affected packages
PackageAffectedFixed
krb5
Red Hat:enterprise_linux:3::desktop
From an advisory covering 2 CVEs
before 0:1.2.7-38
0:1.2.7-38
krb5-debuginfo
Red Hat:enterprise_linux:3::desktop
From an advisory covering 2 CVEs
before 0:1.2.7-38
0:1.2.7-38
krb5-devel
Red Hat:enterprise_linux:3::desktop
From an advisory covering 2 CVEs
before 0:1.2.7-38
0:1.2.7-38
krb5-libs
Red Hat:enterprise_linux:3::desktop
From an advisory covering 2 CVEs
before 0:1.2.7-38
0:1.2.7-38
krb5-server
Red Hat:enterprise_linux:3::desktop
From an advisory covering 2 CVEs
before 0:1.2.7-38
0:1.2.7-38
krb5-workstation
Red Hat:enterprise_linux:3::desktop
From an advisory covering 2 CVEs
before 0:1.2.7-38
0:1.2.7-38
krb5
Red Hat:enterprise_linux:3::es
From an advisory covering 2 CVEs
before 0:1.2.7-38
0:1.2.7-38
krb5-debuginfo
Red Hat:enterprise_linux:3::es
From an advisory covering 2 CVEs
before 0:1.2.7-38
0:1.2.7-38
krb5-devel
Red Hat:enterprise_linux:3::es
From an advisory covering 2 CVEs
before 0:1.2.7-38
0:1.2.7-38
krb5-libs
Red Hat:enterprise_linux:3::es
From an advisory covering 2 CVEs
before 0:1.2.7-38
0:1.2.7-38
krb5-server
Red Hat:enterprise_linux:3::es
From an advisory covering 2 CVEs
before 0:1.2.7-38
0:1.2.7-38
krb5-workstation
Red Hat:enterprise_linux:3::es
From an advisory covering 2 CVEs
before 0:1.2.7-38
0:1.2.7-38
krb5
Red Hat:enterprise_linux:3::ws
From an advisory covering 2 CVEs
before 0:1.2.7-38
0:1.2.7-38
krb5-debuginfo
Red Hat:enterprise_linux:3::ws
From an advisory covering 2 CVEs
before 0:1.2.7-38
0:1.2.7-38
krb5-devel
Red Hat:enterprise_linux:3::ws
From an advisory covering 2 CVEs
before 0:1.2.7-38
0:1.2.7-38
krb5-libs
Red Hat:enterprise_linux:3::ws
From an advisory covering 2 CVEs
before 0:1.2.7-38
0:1.2.7-38
krb5-server
Red Hat:enterprise_linux:3::ws
From an advisory covering 2 CVEs
before 0:1.2.7-38
0:1.2.7-38
krb5-workstation
Red Hat:enterprise_linux:3::ws
From an advisory covering 2 CVEs
before 0:1.2.7-38
0:1.2.7-38
krb5
Red Hat:enterprise_linux:4::as
before 0:1.3.4-10
0:1.3.4-10
krb5-debuginfo
Red Hat:enterprise_linux:4::as
before 0:1.3.4-10
0:1.3.4-10
krb5-devel
Red Hat:enterprise_linux:4::as
before 0:1.3.4-10
0:1.3.4-10
krb5-libs
Red Hat:enterprise_linux:4::as
before 0:1.3.4-10
0:1.3.4-10
krb5-server
Red Hat:enterprise_linux:4::as
before 0:1.3.4-10
0:1.3.4-10
krb5-workstation
Red Hat:enterprise_linux:4::as
before 0:1.3.4-10
0:1.3.4-10
krb5
Red Hat:enterprise_linux:4::desktop
before 0:1.3.4-10
0:1.3.4-10
krb5-debuginfo
Red Hat:enterprise_linux:4::desktop
before 0:1.3.4-10
0:1.3.4-10
krb5-devel
Red Hat:enterprise_linux:4::desktop
before 0:1.3.4-10
0:1.3.4-10
krb5-libs
Red Hat:enterprise_linux:4::desktop
before 0:1.3.4-10
0:1.3.4-10
krb5-server
Red Hat:enterprise_linux:4::desktop
before 0:1.3.4-10
0:1.3.4-10
krb5-workstation
Red Hat:enterprise_linux:4::desktop
before 0:1.3.4-10
0:1.3.4-10
krb5
Red Hat:enterprise_linux:4::es
before 0:1.3.4-10
0:1.3.4-10
krb5-debuginfo
Red Hat:enterprise_linux:4::es
before 0:1.3.4-10
0:1.3.4-10
krb5-devel
Red Hat:enterprise_linux:4::es
before 0:1.3.4-10
0:1.3.4-10
krb5-libs
Red Hat:enterprise_linux:4::es
before 0:1.3.4-10
0:1.3.4-10
krb5-server
Red Hat:enterprise_linux:4::es
before 0:1.3.4-10
0:1.3.4-10
krb5-workstation
Red Hat:enterprise_linux:4::es
before 0:1.3.4-10
0:1.3.4-10
krb5
Red Hat:enterprise_linux:4::ws
before 0:1.3.4-10
0:1.3.4-10
krb5-debuginfo
Red Hat:enterprise_linux:4::ws
before 0:1.3.4-10
0:1.3.4-10
krb5-devel
Red Hat:enterprise_linux:4::ws
before 0:1.3.4-10
0:1.3.4-10
krb5-libs
Red Hat:enterprise_linux:4::ws
before 0:1.3.4-10
0:1.3.4-10
krb5-server
Red Hat:enterprise_linux:4::ws
before 0:1.3.4-10
0:1.3.4-10
krb5-workstation
Red Hat:enterprise_linux:4::ws
before 0:1.3.4-10
0:1.3.4-10

History

History
RecordedChangedSources
affected, facts
aliasesEUVD
first indexedCVE List, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2004-1189 is a high vulnerability (CVSS 7.2) in Mit Kerberos 5, published December 31, 2004. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.73%, the 54th percentile. Fixed in krb5 1.3.6-1.

References

Show 27 moreShow less
MoveEnter Open