[krbdev.mit.edu #9295] git commit

Greg Hudson via RT rt-comment at krbdev.mit.edu
Sat Nov 21 03:34:51 EST 2026


Sat Nov 21 03:34:51 2026: Request 9295 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=9295 >



Fix exported name length check on 32-bit platforms

In the krb5 mech's import_name(), store the exported name length in a
size_t and compare it against the remaining input as unsigned.  On
platforms with a 32-bit ssize_t, a name length of 0xFFFFFFFF was read
as -1, passed the bounds check, and caused a heap buffer overrun.

https://github.com/krb5/krb5/commit/ef4d3f9874f81d84e975dac636e3bcc98f49e407
Author: ubeddulla khan <ubed at bugqore.com>
Committer: Greg Hudson <ghudson at mit.edu>
Commit: ef4d3f9874f81d84e975dac636e3bcc98f49e407
Branch: master
 src/lib/gssapi/krb5/import_name.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)



More information about the krb5-bugs mailing list