{"id":"CVE-2004-1189","aliases":["DEBIAN-CVE-2004-1189","DSA-629-1","EUVD-2004-1186","GHSA-jq9g-4vpq-449j","RHSA-2005:012","RHSA-2005:045"],"status":"published","title":"The add_to_history function in svr_principal.c in libkadm5srv for MIT Kerberos 5 (krb5) up to 1.3...","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.","severity":{"version":"2.0","score":7.2,"vector":"AV:L/AC:L/Au:N/C:C/I:C/A:C","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-08","score":0.00734,"percentile":0.54679,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-787"],"published":"2004-12-31T05:00:00Z","modified":"2026-10-21T15:47:39Z","fixes":[{"ecosystem":"Debian:12","package":"krb5","fixed_in":["1.3.6-1"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"krb5","fixed_in":["1.3.6-1"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"krb5","fixed_in":["1.3.6-1"],"sources":["osv"]},{"ecosystem":"Debian:3.0","package":"krb5","fixed_in":["1.2.4-5woody7"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:4::as","package":"krb5","fixed_in":["0:1.3.4-10"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:4::as","package":"krb5-debuginfo","fixed_in":["0:1.3.4-10"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:4::as","package":"krb5-devel","fixed_in":["0:1.3.4-10"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:4::as","package":"krb5-libs","fixed_in":["0:1.3.4-10"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:4::as","package":"krb5-server","fixed_in":["0:1.3.4-10"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:4::as","package":"krb5-workstation","fixed_in":["0:1.3.4-10"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:4::desktop","package":"krb5","fixed_in":["0:1.3.4-10"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:4::desktop","package":"krb5-debuginfo","fixed_in":["0:1.3.4-10"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:4::desktop","package":"krb5-devel","fixed_in":["0:1.3.4-10"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:4::desktop","package":"krb5-libs","fixed_in":["0:1.3.4-10"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:4::desktop","package":"krb5-server","fixed_in":["0:1.3.4-10"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:4::desktop","package":"krb5-workstation","fixed_in":["0:1.3.4-10"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:4::es","package":"krb5","fixed_in":["0:1.3.4-10"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:4::es","package":"krb5-debuginfo","fixed_in":["0:1.3.4-10"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:4::es","package":"krb5-devel","fixed_in":["0:1.3.4-10"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:4::es","package":"krb5-libs","fixed_in":["0:1.3.4-10"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:4::es","package":"krb5-server","fixed_in":["0:1.3.4-10"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:4::es","package":"krb5-workstation","fixed_in":["0:1.3.4-10"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:4::ws","package":"krb5","fixed_in":["0:1.3.4-10"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:4::ws","package":"krb5-debuginfo","fixed_in":["0:1.3.4-10"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:4::ws","package":"krb5-devel","fixed_in":["0:1.3.4-10"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:4::ws","package":"krb5-libs","fixed_in":["0:1.3.4-10"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:4::ws","package":"krb5-server","fixed_in":["0:1.3.4-10"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:4::ws","package":"krb5-workstation","fixed_in":["0:1.3.4-10"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Debian:12","package":"krb5","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.3.6-1"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"krb5","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.3.6-1"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"krb5","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.3.6-1"}]}]},{"source":"osv","ecosystem":"Debian:3.0","package":"krb5","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.2.4-5woody7"}]}],"versions":["1.2.4-5woody6"]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::as","package":"krb5","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.2.7-38"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::as","package":"krb5-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.2.7-38"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::as","package":"krb5-devel","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.2.7-38"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::as","package":"krb5-libs","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.2.7-38"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::as","package":"krb5-server","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.2.7-38"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::as","package":"krb5-workstation","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.2.7-38"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::desktop","package":"krb5","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.2.7-38"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::desktop","package":"krb5-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.2.7-38"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::desktop","package":"krb5-devel","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.2.7-38"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::desktop","package":"krb5-libs","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.2.7-38"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::desktop","package":"krb5-server","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.2.7-38"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::desktop","package":"krb5-workstation","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.2.7-38"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::es","package":"krb5","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.2.7-38"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::es","package":"krb5-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.2.7-38"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::es","package":"krb5-devel","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.2.7-38"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::es","package":"krb5-libs","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.2.7-38"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::es","package":"krb5-server","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.2.7-38"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::es","package":"krb5-workstation","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.2.7-38"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::ws","package":"krb5","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.2.7-38"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::ws","package":"krb5-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.2.7-38"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::ws","package":"krb5-devel","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.2.7-38"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::ws","package":"krb5-libs","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.2.7-38"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::ws","package":"krb5-server","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.2.7-38"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::ws","package":"krb5-workstation","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.2.7-38"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::as","package":"krb5","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.3.4-10"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::as","package":"krb5-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.3.4-10"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::as","package":"krb5-devel","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.3.4-10"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::as","package":"krb5-libs","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.3.4-10"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::as","package":"krb5-server","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.3.4-10"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::as","package":"krb5-workstation","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.3.4-10"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::desktop","package":"krb5","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.3.4-10"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::desktop","package":"krb5-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.3.4-10"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::desktop","package":"krb5-devel","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.3.4-10"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::desktop","package":"krb5-libs","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.3.4-10"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::desktop","package":"krb5-server","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.3.4-10"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::desktop","package":"krb5-workstation","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.3.4-10"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::es","package":"krb5","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.3.4-10"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::es","package":"krb5-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.3.4-10"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::es","package":"krb5-devel","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.3.4-10"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::es","package":"krb5-libs","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.3.4-10"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::es","package":"krb5-server","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.3.4-10"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::es","package":"krb5-workstation","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.3.4-10"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::ws","package":"krb5","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.3.4-10"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::ws","package":"krb5-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.3.4-10"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::ws","package":"krb5-devel","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.3.4-10"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::ws","package":"krb5-libs","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.3.4-10"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::ws","package":"krb5-server","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.3.4-10"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::ws","package":"krb5-workstation","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.3.4-10"}]}]}],"products":[{"vendor":"mit","product":"kerberos_5"}],"references":[{"url":"http://distro.conectiva.com.br/atualizacoes/?id=a\u0026anuncio=000917","tags":["vendor-advisory","x_refsource_CONECTIVA","x_transferred","Broken Link","web"]},{"url":"https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A11911","tags":["vdb-entry","signature","x_refsource_OVAL","x_transferred","Broken Link","Third Party Advisory","advisory","web"]},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/18621","tags":["vdb-entry","x_refsource_XF","x_transferred","Third Party Advisory","VDB Entry","advisory"]},{"url":"http://www.redhat.com/support/errata/RHSA-2005-012.html","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred","Third Party Advisory","advisory"]},{"url":"http://lists.apple.com/archives/security-announce/2005/Aug/msg00000.html","tags":["vendor-advisory","x_refsource_APPLE","x_transferred","Mailing List","Third Party Advisory","advisory","article"]},{"url":"http://marc.info/?l=bugtraq\u0026m=110548298407590\u0026w=2","tags":["mailing-list","x_refsource_BUGTRAQ","x_transferred","Issue Tracking","Mailing List","Third Party Advisory","advisory","article","report"]},{"url":"http://web.mit.edu/kerberos/advisories/MITKRB5-SA-2004-004-pwhist.txt","tags":["x_refsource_CONFIRM","x_transferred","Patch","Vendor Advisory","advisory","fix"]},{"url":"http://lists.apple.com/archives/security-announce/2005//Aug/msg00001.html","tags":["vendor-advisory","x_refsource_APPLE","x_transferred","Mailing List","Third Party Advisory","advisory","article"]},{"url":"http://www.trustix.org/errata/2004/0069","tags":["vendor-advisory","x_refsource_TRUSTIX","x_transferred","Broken Link","web"]},{"url":"http://www.redhat.com/support/errata/RHSA-2005-045.html","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred","Third Party Advisory","advisory"]},{"url":"http://marc.info/?l=bugtraq\u0026m=110358420909358\u0026w=2","tags":["mailing-list","x_refsource_BUGTRAQ","x_transferred","Issue Tracking","Mailing List","Third Party Advisory","advisory","article","report"]},{"url":"http://www.mandriva.com/security/advisories?name=MDKSA-2004:156","tags":["vendor-advisory","x_refsource_MANDRAKE","x_transferred","Third Party Advisory","advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2004-1189","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-jq9g-4vpq-449j"},{"url":"https://security-tracker.debian.org/tracker/CVE-2004-1189","tags":["advisory"]},{"url":"https://access.redhat.com/errata/RHSA-2005:012","tags":["advisory"]},{"url":"https://access.redhat.com/security/updates/classification/#moderate","tags":["article"]},{"url":"http://www.securityfocus.com/bid/11289","tags":["article"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=136304","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=140066","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=142902","tags":["report"]},{"url":"https://security.access.redhat.com/data/csaf/v2/advisories/2005/rhsa-2005_012.json","tags":["advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2004-0971","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1617336","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2004-0971","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2004-0971","tags":["advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2004-1189","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1617394","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2004-1189","tags":["advisory"]},{"url":"https://access.redhat.com/errata/RHSA-2005:045","tags":["advisory"]},{"url":"http://web.mit.edu/kerberos/www/advisories/MITKRB5-SA-2004-004-pwhist.txt","tags":["article"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=144196","tags":["report"]},{"url":"https://security.access.redhat.com/data/csaf/v2/advisories/2005/rhsa-2005_045.json","tags":["advisory"]}],"sources":{"cve":[{"id":"CVE-2004-1189","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.","status":"published","published":"2004-12-31T05:00:00Z","modified":"2024-08-08T00:46:11.402Z","updated_at":"2026-11-02T14:34:54.398187Z"}],"euvd":[{"id":"EUVD-2004-1186","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.","status":"published","published":"2004-12-31T05:00:00Z","modified":"2024-08-08T00:46:11Z","updated_at":"2026-11-03T01:15:16.148157Z"}],"ghsa":[{"id":"GHSA-jq9g-4vpq-449j","title":"The add_to_history function in svr_principal.c in libkadm5srv for MIT Kerberos 5 (krb5) up to 1.3...","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.","status":"published","published":"2022-04-29T02:59:07Z","modified":"2023-01-30T05:03:23Z","cwes":["CWE-787"],"updated_at":"2026-11-02T14:46:49.507262Z"}],"nvd":[{"id":"CVE-2004-1189","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.","status":"published","published":"2004-12-31T05:00:00Z","modified":"2026-06-16T22:07:13.307Z","cvss":[{"version":"2.0","score":7.2,"vector":"AV:L/AC:L/Au:N/C:C/I:C/A:C","level":"high","assessor":"primary"}],"cwes":["CWE-787"],"updated_at":"2026-11-02T14:00:51.985436Z"}],"osv":[{"id":"CVE-2004-1189","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.","status":"published","published":"2004-12-31T05:00:00Z","modified":"2026-04-10T03:36:33.916658Z","updated_at":"2026-11-02T15:43:56.315348Z"},{"id":"DEBIAN-CVE-2004-1189","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.","status":"published","published":"2004-12-31T05:00:00Z","modified":"2026-10-21T15:47:39.290505637Z","updated_at":"2026-11-02T15:45:22.55978Z"},{"id":"DSA-629-1","title":"krb5 - buffer overflow","status":"published","published":"2005-01-07T00:00:00Z","modified":"2026-03-09T02:10:10.351651Z","updated_at":"2026-11-02T15:46:18.296714Z"},{"id":"RHSA-2005:012","title":"Red Hat Security Advisory: krb5 security update","status":"published","published":"2024-09-15T15:01:53Z","modified":"2026-06-26T10:01:55Z","updated_at":"2026-11-02T15:52:59.135214Z"},{"id":"RHSA-2005:045","title":"Red Hat Security Advisory: krb5 security update","status":"published","published":"2024-09-15T15:01:58Z","modified":"2026-06-26T10:02:05Z","updated_at":"2026-11-02T15:52:59.135214Z"}]}}
