lib/kadm5/kadmrpcxdr.c in MIT Kerberos 5 (aka krb5) before 1.20.2 and 1.21.x before 1.21.1 frees an uninitialized pointer. A remote authenticated user can trigger a kadmind crash. This occurs because xdrkadm5principalentrec does not validate the relationship between nkeydata and the keydata array count.
{
"license": "CC-BY-4.0",
"sources": [
{
"imported": "2026-04-13T14:12:33.242Z",
"id": "CVE-2023-36054",
"published": "2023-08-07T19:15:09.840Z",
"url": "https://services.nvd.nist.gov/rest/json/cves/2.0?cveId=CVE-2023-36054",
"modified": "2024-11-21T08:09:15.227Z",
"html_url": "https://nvd.nist.gov/vuln/detail/CVE-2023-36054"
}
]
}