CVE-2026-145181: quinn-udp before 0.5.16 and 0.6.x before 0.6.3 Infinite Loop via Truncated UDP Datagram
quinn-udp before 0.5.16 and 0.6.3 contains an infinite loop vulnerability in the Unix recvsingle receive path that allows remote unauthenticated attackers to cause CPU exhaustion by sending an oversized UDP datagram. Attackers can send a single datagram larger than the receive buffer to set MSGTRUNC, causing the receive loop to busy-spin on EAGAIN and consume a CPU core.
Other sources
quinn-udp before 0.5.16 and 0.6.x before 0.6.3 contains an infinite loop vulnerability in the Unix recvsingle receive path that lets unauthenticated remote attackers cause denial of service with an oversized datagram. Because the MSGTRUNC flag in msgflags 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.
— NVD
Affected Software
Event History
Frequently Asked Questions
Which deployments are exposed to this issue?
Deployments using quinn-udp on Unix are affected if they run a version before 0.5.16, or a 0.6.x version before 0.6.3, and use the recv_single receive path.
What does an attacker need to do to trigger the CPU exhaustion?
An unauthenticated remote attacker only needs to send one UDP datagram larger than the receive buffer. The truncated datagram sets MSG_TRUNC, after which the receive loop can busy-spin on EAGAIN and consume a CPU core.
Is user interaction or prior access required?
No. The issue is remotely reachable over the network and requires neither privileges nor user interaction.
What is the operational impact of successful exploitation?
The affected receive loop can enter an infinite busy-spin and exhaust a CPU core. The reported impact is availability degradation; no confidentiality or integrity impact is indicated.