CVE & CISA-KEV Catalog

CVE-2004-1189

HIGH
7.2
CVSS v2
NVD

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.

How to fix

Remediation Available
krb5Debian
Fixed in:1.3.6-1CVE-2004-1189
Fixed in:1.3.6-1CVE-2004-1189
Fixed in:1.3.6-1CVE-2004-1189
Fixed in:1.3.6-1CVE-2004-1189

Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.

CVSS v2 Vector

No CVSS vector data available.

Exploit Intelligence

0.73%probability of exploitation in 30 days
50thpercentile

Moderate risk: more likely to be exploited than 50% of all known CVEs.

References

Related Vulnerabilities

Other CWE-787 (Out-of-bounds Write) vulnerabilities, ordered by exploit likelihood. View all

CVESeverityCVSSEPSSExploitedFix
CVE-2025-22457Critical9.0100%KEV + RansomFix
CVE-2025-0282Critical9.0100%KEV + Ransom-
CVE-2015-3113Critical9.8100%KEVFix
CVE-2021-20038Critical9.8100%KEV + Ransom-
CVE-2023-4863High8.8100%KEVFix
CVE-2020-16040Medium6.5100%-Fix
Embed a live status badge for CVE-2004-1189
CVE-2004-1189 severity badge

Markdown

[![CVE-2004-1189](https://tridentstack.com/cve/badge/CVE-2004-1189.svg)](https://tridentstack.com/cve/CVE-2004-1189)

HTML

<a href="https://tridentstack.com/cve/CVE-2004-1189"><img src="https://tridentstack.com/cve/badge/CVE-2004-1189.svg" alt="CVE-2004-1189"></a>

Find and fix vulnerabilities across your fleet

TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.

Start free

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2026-04-16.