CVE-2026-104357: Libtirpc: libtirpc: sunrpc udp datagram-boundary violation (stale buffer bytes decoded as current request)
A flaw was found in libtirpc. The SunRPC UDP/datagram server transport reuses a single receive buffer across requests and resets the XDR decode position without rebinding the decode length to the size of the datagram actually received. As a result, when a short UDP RPC request is received after a longer one, the XDR decoder can read stale bytes left in the reused buffer and interpret them as part of the current request, including credential, verifier, or procedure-argument fields. The highest threat from this vulnerability is to data confidentiality and integrity for services that use a UDP-based SunRPC server.
Affected Software
Event History
Frequently Asked Questions
Which deployments are exposed?
Services that use a UDP-based SunRPC server backed by libtirpc are the affected population. The stated confidentiality and integrity risk applies to those services because request decoding can incorporate stale data from a prior datagram.
What request pattern is required for exploitation?
An attacker must be able to send UDP RPC requests to the server. The issue occurs when a shorter request follows a longer request, allowing the decoder to read bytes left in the reused receive buffer as fields of the current request.
What is the potential impact on an affected service?
Stale bytes can be decoded as current-request credential, verifier, or procedure-argument fields. The described impact is limited to confidentiality and integrity; no availability impact is specified.