[krbdev.mit.edu #9266] git commit

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


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



Avoid repeated reallocation when decoding ASN.1

In decode_sequence_of(), make a first pass over the tags to count and
validate the elements, allowing the array to be allocated once instead
of reallocated for each element.

CVE-2026-119079:

In MIT krb5 release 1.11 and later, an unauthenticated attacker can
cause the KDC or an application server to consume a large amount of
CPU time decoding ASN.1 protocol elements by sending a long sequence.

https://github.com/krb5/krb5/commit/782e5ac4fb1496a79de0b87e1fc485f897e97d6d
Author: Greg Hudson <ghudson at mit.edu>
Commit: 782e5ac4fb1496a79de0b87e1fc485f897e97d6d
Branch: master
 src/lib/krb5/asn.1/asn1_encode.c | 38 ++++++++++++++++++++------------------
 1 file changed, 20 insertions(+), 18 deletions(-)



More information about the krb5-bugs mailing list