[krbdev.mit.edu #9227] git commit

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


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


Prevent null dereference in PKINIT CMS processing

In cms_signeddata_verify(), where we use CMS_get0_content(), check
that the dereferenced result is non-null as well as the result itself.
(The result itself is a pointer to the eContent slot, whether or not
the decoded ASN.1 value contained an eContent field, and will only be
null if the CMS_ContentInfo object has an unexpected type.)

CVE-2026-71200:

If a KDC is configured to allow PKINIT authentication, an
unauthenticated attacker can trigger a null pointer dereference,
causing the process to terminate.  Discovered by Claude and Ada
Logics, and independently by Erin Liman using DeepSeek.

(cherry picked from commit 6a5d772002c1764bd14934ccb6684f0cce15d617)

https://github.com/krb5/krb5/commit/1b3a8db6567ff840b3cda173c9f0a9802b5fef8e
Author: Greg Hudson <ghudson at mit.edu>
Commit: 1b3a8db6567ff840b3cda173c9f0a9802b5fef8e
Branch: krb5-1.22
 src/plugins/preauth/pkinit/pkinit_crypto_openssl.c | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)



More information about the krb5-bugs mailing list