CVEvulnerability

CVE-2004-1189

7.2 HIGH Published 2004-12-31 Modified 2026-06-16 Official page ↗
Status
Modified
Published
2004-12-31
Last modified
2026-06-16
Assigner
[email protected]
CVSS 2.0 ([email protected])
7.2 HIGH — AV:L/AC:L/Au:N/C:C/I:C/A:C
Weaknesses
CWE-787

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.

Affected configurations

• mit kerberos 5 (<= 1.3.5)

Related

Weakness · CWE (1)

  • CWE-787 Out-of-bounds Write weakness

Referenced by CWE · observed example (1)

  • CWE-129 Improper Validation of Array Index weakness

References