[krbdev.mit.edu #9241] git commit

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


Mon Nov 09 11:59:11 2026: Request 9241 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=9241 >



Remove unsafe principal parsing from Leashdll

In Leash_int_kinit_ex(), remove the code to parse and reassemble the
principal name; it has no length checks and could overflow
stack-allocated buffers if a long principal name is supplied.  This
parsing code was used to perform krb4 fallbacks if getting tickets via
krb5 failed, and is no longer useful.

Discovered by Aisle Research.

https://github.com/krb5/krb5/commit/54b7bbe13dd1d4d2646c4fbcc8d68925603924fb
Author: Greg Hudson <ghudson at mit.edu>
Commit: 54b7bbe13dd1d4d2646c4fbcc8d68925603924fb
Branch: master
 src/windows/leashdll/lshfunc.c | 82 ++++--------------------------------------
 1 file changed, 7 insertions(+), 75 deletions(-)



More information about the krb5-bugs mailing list