GHSA-3g6h-r5qx-f6hq json
Peer minimum ACK delay can panic quinn-proto when ACK_FREQUENCY transmission is enabled
published 2mo ago modified last mo. also RUSTSEC-2026-0340
- cvss
- 7.5
- version 3.1, OSV
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- —
- no score, EPSS covers CVEs only
- public exploits
- 0
- none known
Summary
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](https://github.com/zerox80) for reporting this issue.
Patch / fix
Is GHSA-3g6h-r5qx-f6hq in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerCVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| OSV | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| crates.io | quinn-proto | >=0.11.0, <0.11.18 |
0.11.18 |
References
Sources
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.