HOMEVULNERABILITIESCVE-2004-1189
HIGH

CVE-2004-1189

CWE-787Published: December 31, 2004· Updated: Jun 16, 2026

7.2
CVSS v3.1

Official Description

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.

NVD Source

Technical Analysis

CVE-2004-1189 requires local access, meaning attackers must already have a foothold on the target system.

Exploitation requires some privileges, which limits the exposure to scenarios where an attacker has already gained initial access.

From a weakness classification perspective (CWE-787): Out-of-bounds write vulnerabilities can lead to data corruption, crashes, or arbitrary code execution.

CVSS v3.1 Vector Breakdown

Exploitability
Attack VectorLocal
Attack ComplexityLow
Privileges Req.
User Interaction
Scope
Impact
ConfidentialityC
IntegrityC
AvailabilityC
AV:L/AC:L/Au:N/C:C/I:C/A:C

Affected Vendors & Products

mit1 product(s)
kerberos 5
Source: NVD CPE · 1 total CPE entries

Exploit & PoC Resources

NO KNOWN EXPLOITNo public exploit confirmed at this time
External links open in a new tab. Always verify in a controlled environment before use.

Official Patches & Advisories

All References (24)

Quick Facts

CVE IDCVE-2004-1189
CVSS Score7.2 / 10
SeverityHIGH
WeaknessCWE-787
CISA KEVNo
Affected1 vendor(s)
PublishedDec 31, 2004

Related CVEs (CWE-787)

Recommended Actions

  • Apply vendor patches immediately
  • Monitor CVE-2004-1189 in threat intel feeds
  • Review IDS/IPS signatures for exploitation attempts
Data sourced from NVD (NIST), CISA KEV, and EPSS (FIRST). Analysis generated by CTIWATCH.COM. CVE data is provided under the NVD usage policy.