[krbdev.mit.edu #9258] git commit

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


Mon Nov 09 11:57:58 2026: Request 9258 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=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.

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



More information about the krb5-bugs mailing list