Fedora Account System
Red Hat Associate
Red Hat Customer
A flaw was found in libtirpc. The SunRPC UDP/datagram server transport (svc_dg_recv / svcudp_create) reuses a single XDR decode stream sized to the allocated receive buffer. On each datagram, the receive path resets the stream position and calls xdr_callmsg, but it does not rebind the decode bound (x_handy) to the actual received length rlen. Because the XDR memory backend uses x_handy as the remaining length, a shorter request can be decoded together with stale bytes left by a prior datagram. Florian Weimer reproduced this with tst-udp-stale: a full request leaves argument bytes at the tail of the buffer after a shorter reply is encoded; a follow-up truncated AUTH_NONE call with no arguments then has svc_getargs consume those leftover bytes and echo them back. A correctly bounded decoder would fail with GARBAGE_ARGS. This is a logical datagram-boundary violation, not a read past the allocated buffer. The same inherited SunRPC pattern exists in glibc sunrpc/svc_udp.c (legacy ABI compatibility; glibc is expected to assign a separate CVE) and in other copies such as krb5 GSSRPC. CVE-2026-104357 is assigned to the libtirpc implementation. Reported by Aisle Research against glibc; Red Hat confirmed the bug is present in libtirpc. Related tracking: OSIM-77274 / RHEL-217046 (glibc report), PSIRTSUPT-22635 (coordination).