[krbdev.mit.edu #9258] git commit

Greg Hudson via RT rt at krbdev.mit.edu
Mon Nov 9 12:01:31 EST 2026


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


Fix leak in RPC client on mismatched ID

In clnttcp_call(), before decoding a reply, free the verifier in
reply_msg if one was allocated when decoding a previous reply.

[ghudson at mit.edu: moved ar_verf/ar_results setting back outside of
conditional; switched to using xdr_free() for brevity]

CVE-2026-112314:

clnttcp_call() in lib/rpc/clnt_tcp.c in MIT Kerberos 5 (aka krb5) does
not free the RPC reply verifier between retries, which allows remote
attackers to cause a denial of service (memory leak in GSS-RPC client
programs) by injecting RPC replies with mismatched XIDs or by
triggering authentication retries.

(cherry picked from commit aac40ec59fd4ffa126e19749e85ddb913892fe53)

https://github.com/krb5/krb5/commit/1ebd59137107d1bbab566f9e8f6d7ec02218830c
Author: Julien Rische <jrische at redhat.com>
Committer: Greg Hudson <ghudson at mit.edu>
Commit: 1ebd59137107d1bbab566f9e8f6d7ec02218830c
Branch: krb5-1.22
 src/lib/rpc/clnt_tcp.c | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)



More information about the krb5-bugs mailing list