Vulnerability RUSTSEC-2026-0340

High Risk
HIGH RISK
CVSS Score: 7.5
Score Range: 7.0–8.9
High severity vulnerabilities (CVSS 7.0–8.9). Serious vulnerabilities that should be prioritized soon after critical fixes.
28 days ago
September 14, 2026 at 12:00 PM UTC
Peer minimum ACK delay can panic quinn-proto when ACK_FREQUENCY transmission is enabled
0.11.0 - 0.11.17
0.11.0 - 0.11.17

Summary

Peer minimum ACK delay can panic quinn-proto when ACK_FREQUENCY transmission is enabled

Details

When sending ACK_FREQUENCY frames is enabled through TransportConfig::ack_frequency_config(Some(..)), the peer's transport parameters could cause AckFrequencyState::candidate_max_ack_delay to call Duration::clamp with a minimum greater than its maximum, which panics.

For example, a peer advertising a min_ack_delay of 100,000 microseconds and a max_ack_delay of 100 milliseconds passes transport parameter validation. At a 5 ms RTT, the lower bound of the clamp becomes 100 ms while the upper bound is 25 ms, violating the precondition of clamp and panicking while driving the connection. Both automatically derived and explicitly configured maximum ACK delays use this calculation.

Sending ACK_FREQUENCY frames is disabled by default, so only endpoints that opt in are affected.

The flaw was corrected in 0.11.18 by computing the delay with explicit minimum and maximum bounds instead of clamp.

Thanks to @zerox80 for reporting this issue.

Impacted packages

Timeline

Published
28 days ago
September 14, 2026 at 12:00 PM UTC
Fixed (0.11.18)
28 days ago
September 14, 2026 at 10:08 AM UTC
Last Modified
1 hour ago
October 12, 2026 at 06:15 PM UTC