All reports
Medium

krb5: kadmind doubly frees partial deserialization results (MITKRB5-SA-2015-001)

Affected versions

Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2014-9421

Probability of exploitation in the next 30 days: 6.21%

FIRST EPSS · 2026-11-20

Description

The auth_gssapi_unwrap_data function in lib/rpc/auth_gssapi_misc.c in MIT Kerberos 5 (aka krb5) through 1.11.5, 1.12.x through 1.12.2, and 1.13.x before 1.13.1 does not properly handle partial XDR deserialization, which allows remote authenticated users to cause a denial of service (use-after-free and double free, and daemon crash) or possibly execute arbitrary code via malformed XDR data, as demonstrated by data sent to kadmind.

A double-free flaw was found in the way MIT Kerberos handled invalid External Data Representation (XDR) data. An authenticated user could use this flaw to crash the MIT Kerberos administration server (kadmind), or other applications using Kerberos libraries, using specially crafted XDR packets.