[krbdev.mit.edu #9265] git commit

Greg Hudson via RT rt at krbdev.mit.edu
Mon Nov 9 12:01:57 EST 2026


<URL: https://krbdev.mit.edu/rt/Ticket/Display.html?id=9265 >


Prevent null dereferences in kadmind server stubs

In server_stubs.c, when a stub function uses a policy name as
prime_arg, check for a null value and return an error.

CVE-2026-112318:

The policy RPC stubs in kadmin/server/server_stubs.c in MIT Kerberos 5
(aka krb5) 1.5.3 and later do not reject a NULL policy name decoded by
xdr_nullstring(), which allows remote authenticated users to cause a
denial of service (kadmind crash via NULL pointer dereference) by
sending a policy request with an empty policy name that reaches
authorization checks or logging code.

(cherry picked from commit 407e75e927c1870161305d3288cc0205e9ff067b)

https://github.com/krb5/krb5/commit/bdd63af8891377580474b3f7002e8d8cf5378d46
Author: Greg Hudson <ghudson at mit.edu>
Commit: bdd63af8891377580474b3f7002e8d8cf5378d46
Branch: krb5-1.22
 src/kadmin/server/server_stubs.c | 30 +++++++++++++++++++++---------
 1 file changed, 21 insertions(+), 9 deletions(-)



More information about the krb5-bugs mailing list