[krbdev.mit.edu #9224] git commit

Greg Hudson via RT rt at krbdev.mit.edu
Mon Aug 31 22:48:29 EDT 2026


<URL: https://krbdev.mit.edu/rt/Ticket/Display.html?id=9224 >


Prevent integer overrun in keytab parsing

In krb5_ktfileint_internal_read_entry(), once we have read the size
and determined the starting point of a keytab record, bounds-check the
size to prevent an integer overflow when we seek to the next record.

(Discovered by OSS-Fuzz.)

(cherry picked from commit c5629fdffee70a296429d580a890e21c6fa17665)

https://github.com/krb5/krb5/commit/8eab516421b6b1fee2482194cd4bedcfc552bfeb
Author: Greg Hudson <ghudson at mit.edu>
Commit: 8eab516421b6b1fee2482194cd4bedcfc552bfeb
Branch: krb5-1.22
 src/lib/krb5/keytab/kt_file.c                      |   2 ++
 src/tests/fuzzing/fuzz_keytab_seed_corpus/big_size | Bin 0 -> 28 bytes
 2 files changed, 2 insertions(+)



More information about the krb5-bugs mailing list