[krbdev.mit.edu #9239] git commit

Greg Hudson via RT rt-comment at krbdev.mit.edu
Mon Nov 9 11:59:38 EST 2026


Mon Nov 09 11:59:38 2026: Request 9239 was acted upon.
 Transaction: Ticket created by ghudson at mit.edu
       Queue: krb5
     Subject: git commit
       Owner: ghudson at mit.edu
  Requestors: 
      Status: new
 Ticket <URL: https://krbdev.mit.edu/rt/Ticket/Display.html?id=9239 >



Check type of otherName value in PKINIT SAN code

In crypto_retrieve_X509_sans(), when we process a general name of type
AnotherName, check the ASN.1 type of the value before retrieving the
sequence or string pointer and length.  Otherwise the function may
dereference a null or invalid pointer and crash.  Discovered by
Alexandru-Ionut Jipa using Claude.

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



More information about the krb5-bugs mailing list