[krbdev.mit.edu #9287] git commit

Greg Hudson via RT rt-comment at krbdev.mit.edu
Tue Nov 17 11:43:25 EST 2026


Tue Nov 17 11:43:25 2026: Request 9287 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=9287 >



Prevent read underrun on empty db_args tl-data

In extract_db_args_from_tl_data(), reject a zero-length
KRB5_TL_DB_ARGS value before reading its last byte to check for a null
terminator.  kadmind can receive such a value from a client with add
or modify privileges, causing a one-byte read before a zero-size heap
allocation and possibly a further over-read in the KDB module.

https://github.com/krb5/krb5/commit/7aaada396eb3a43169916d551956fd7f03bf1d60
Author: ubeddulla khan <ubed at bugqore.com>
Committer: Greg Hudson <ghudson at mit.edu>
Commit: 7aaada396eb3a43169916d551956fd7f03bf1d60
Branch: master
 src/lib/kdb/kdb5.c  | 3 ++-
 src/tests/kdbtest.c | 8 ++++++++
 2 files changed, 10 insertions(+), 1 deletion(-)



More information about the krb5-bugs mailing list