Description
quinn-udp before 0.5.16 and 0.6.x before 0.6.3 contains an infinite loop vulnerability in the Unix recv_single receive path that lets unauthenticated remote attackers cause denial of service with an oversized datagram. Because the MSG_TRUNC flag in msg_flags is checked before the recvmsg error, the loop retries on EAGAIN instead of returning WouldBlock, busy-spinning the receive task and consuming a CPU core on affected non-Linux, non-Windows targets.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
quinn-rs quinn-udp
Default version status: unaffected
0.5.12 to < 0.5.16affected0.6.0 to < 0.6.3affected
pkg:cargo/quinn-udpReferences
- https://github.com/quinn-rs/quinn/security/advisories/GHSA-6pp4-4cxf-xf88 ↗
- https://github.com/quinn-rs/quinn/commit/462865a6c33039c26076f7077c7cd7e2f997b9cd ↗
- https://github.com/quinn-rs/quinn/commit/6862d3dcc9a9333fc4160481b3e5e5d154d4dd36 ↗
- https://github.com/quinn-rs/quinn/releases/tag/quinn-udp-0.6.3 ↗
- https://github.com/quinn-rs/quinn/releases/tag/quinn-udp-0.5.16 ↗
- https://github.com/quinn-rs/quinn/blob/quinn-udp-0.6.2/quinn-udp/src/unix.rs#L674-L703 ↗
- https://rustsec.org/advisories/RUSTSEC-2026-0538.html ↗
- https://www.vulncheck.com/advisories/quinn-udp-before-0.5.16-and-0.6-x-before-0.6.3-infinite-loop-via-truncated-udp-datagram ↗