lib/kadm5/kadm_rpc_xdr.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 _xdr_kadm5_principal_ent_rec does not validate the relationship between n_key_data and the key_data array count.
{
"sources": [
{
"id": "CVE-2023-36054",
"imported": "2026-07-17T22:41:34.339Z",
"html_url": "https://nvd.nist.gov/vuln/detail/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": "2026-06-17T06:05:45.137Z",
"database_specific": {
"status": "Modified"
}
}
],
"license": "CC-BY-4.0"
}