[krbdev.mit.edu #9266] git commit
Greg Hudson via RT
rt at krbdev.mit.edu
Mon Nov 9 12:02:01 EST 2026
<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.
(cherry picked from commit 782e5ac4fb1496a79de0b87e1fc485f897e97d6d)
https://github.com/krb5/krb5/commit/205832663330da308d9d031a17326b68a16715fd
Author: Greg Hudson <ghudson at mit.edu>
Commit: 205832663330da308d9d031a17326b68a16715fd
Branch: krb5-1.22
src/lib/krb5/asn.1/asn1_encode.c | 38 ++++++++++++++++++++------------------
1 file changed, 20 insertions(+), 18 deletions(-)
More information about the krb5-bugs
mailing list