[krbdev.mit.edu #9268] git commit

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


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



Fix leak on error in krb5_ktkdb_get_entry()

Decrypt the keyblock into a local variable.  On success, transfer
memory ownership to entry->key.  On failure, free it in the cleanup
handler.

[ghudson at mit.edu: minor style edits]

CVE-2026-112317:

krb5_ktkdb_get_entry() in lib/kdb/keytab.c in MIT Kerberos 5 (aka
krb5) 1.2.8 and later does not free decrypted key material when a
post-decryption check fails, which allows remote attackers to cause a
denial of service (memory leak in the KDC or kadmind) via requests
that repeatedly trigger key decryption failures.

https://github.com/krb5/krb5/commit/5d79291d7d6732b31a759493a5c0365ed208521a
Author: Julien Rische <jrische at redhat.com>
Committer: Greg Hudson <ghudson at mit.edu>
Commit: 5d79291d7d6732b31a759493a5c0365ed208521a
Branch: master
 src/lib/kdb/keytab.c | 15 ++++++++++-----
 1 file changed, 10 insertions(+), 5 deletions(-)



More information about the krb5-bugs mailing list