[krbdev.mit.edu #9218] git commit

"Greg Hudson via RT" <[email protected]> Wed, 10 Jun 2026 16:12:47 -0400
Newsgroups gmane.comp.encryption.kerberos.bugs
Message-ID <[email protected]>
Wed Jun 10 16:12:47 2026: Request 9218 was acted upon.
 Transaction: Ticket created by [email protected]
       Queue: krb5
     Subject: git commit
       Owner: [email protected]
  Requestors: 
      Status: new
 Ticket <URL: https://krbdev.mit.edu/rt/Ticket/Display.html?id=9218 >



Better validate key_data_ver in iprop decoding

In ulog_conv_2dbentry(), when decoding an update's AT_KEYDATA
attribute, the decoded key_data_ver value is used as a bound on the
enctype and contents fields.  Verify that this value does not exceed
the sizes of the update's enctype and contents XDR arrays, to prevent
reading past the end of those arrays.  Also check against the expected
lower bound.  Reported by Haruki Oyama.

https://github.com/krb5/krb5/commit/7262b0f49e3c37b7237280a1b2e38228831a795d
Author: Greg Hudson <[email protected]>
Commit: 7262b0f49e3c37b7237280a1b2e38228831a795d
Branch: master
 src/lib/kdb/kdb_convert.c | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)