Coin Brief ENDE

Agave bumps quinn-udp after RUSTSEC-2026-0538, a receive loop that spins on oversized datagrams

Anza's Agave, a Solana validator client, has updated its QUIC networking dependency quinn-udp to 0.5.16 after the RustSec advisory database published RUSTSEC-2026-0538 on 13 November. The advisory, also listed as GHSA-6pp4-4cxf-xf88, describes a denial-of-service flaw: the receive loop can spin after a truncated datagram.

According to the advisory, the bug sits in the code path for targets that read one datagram per recvmsg call instead of batching with recvmmsg: Apple platforms without the fast-apple-datapath feature, OpenBSD, NetBSD, Solaris and illumos, and from 0.6 also DragonFly BSD, Redox and GNU/Hurd. On those targets the loop set up its message header once and checked the MSG_TRUNC flag before checking whether recvmsg had failed. After a datagram larger than the receive buffer was dropped, a following EAGAIN still saw the old truncation flag, and the loop kept issuing non-blocking receives instead of returning WouldBlock. A remote sender could keep the task driving the socket busy before any QUIC packet authentication, until a later datagram fitted the buffer. Linux, Android, FreeBSD and Windows use other receive paths and are not affected. The fix rebuilds the header before each call and returns errors before checking the flag; it is in 0.5.16 and 0.6.3.

Agave's pull request 16926, merged on 13 November, explains that cargo audit had started failing on the advisory in three lockfiles, those for dev-bins, programs/sbf and xtask, while the main workspace was already on 0.5.16. The change bumps those three lockfiles and, in programs/sbf, adds cfg_aliases, a build dependency that 0.5.16 introduced.

For the v4.5 release branch, a separate pull request, 16927, instead ignores the advisory in the audit script. Its description says only the single-recvmsg fallback is affected, that Linux uses recvmmsg, and that on macOS the agave-ledger-tool, built from dev-bins, links the crate through solana-core but never opens a QUIC socket.

Agave bumps quinn-udp after RUSTSEC-2026-0538, a receive loop that spins on oversized datagrams
Agave bumps quinn-udp after RUSTSEC-2026-0538, a receive loop that spins on oversized datagrams — Coin Brief

Why it matters

The distinction between the two pull requests is the useful part. On master the team upgraded; on a release branch it recorded why the vulnerable path is unreachable and moved on. That reasoning is only as good as the statement that production validators run on Linux, which is worth confirming for anyone operating Agave on macOS or a BSD.

Primary source
Agave pull requests, RustSec
https://github.com/anza-xyz/agave/pull/16926
Written by Victoria Shinder.