← Lab /Security & privacy

Optimistic ACK attacks on QUIC can cause DDoS, mitigated by CWND-aware packet skipping

Adding CWND-aware packet-skipping and ACK range validation prevents Optimistic ACK-based DDoS attacks on QUIC.

Security & privacy Cloudflare Research 29 Oct 2025 Defense Deployed evidence

Published as “Defending QUIC from acknowledgement-based DDoS attacks”

Why it matters

Mitigating Optimistic ACK attacks prevents a class of DDoS amplification that could overload QUIC servers.

Summary

Cloudflare was notified of two QUIC ACK handling vulnerabilities and patched the quiche library. They added strict ACK range validation that closes connections on invalid ACKs and introduced a dynamic, congestion-window-aware packet-skipping algorithm to make Optimistic ACK attacks ineffective. The writeup reports that the patches were deployed to production and no exploitation was observed. Evidence is limited to internal testing and the absence of reported incidents.

What they found 2

  1. ACK range validation is enforced and connections are closed on violation

    “The fix was to enforce ACK range validation based on the largest packets sent by the server and close the connection on violation.”

  2. CWND is used as a proxy to adjust packet-skip frequency dynamically

    “Since the send rate increases based on the amount of bytes ACKed (capped by bytes sent), we claim that CWND makes a great proxy for dynamically adjusting the skip frequency.”

Caveats 4

  • Implementation details - like how many packet numbers to skip and how often - are missing, however.
  • Cloudflare’s investigation revealed no evidence that the vulnerabilities were being exploited or that any customers were affected.
  • No evidence that the vulnerabilities were being exploited in the wild.
  • The attack is difficult to detect via external traffic analysis.

What’s new here 4

  • Enforced ACK range validation that closes connections on protocol violations.
  • Introduced a CWND-aware random packet-skipping mechanism to detect premature ACKs.
  • Patched quiche library (versions < 0.24.4) and released updated version.
  • Provided a timeline of discovery, mitigation, and deployment.