Long Retry token can panic or exhaust memory in a QUIC client
A client kept the token from a Retry packet without any length limit and put it into the header of every Initial packet it sent afterwards. Initial datagrams are 1200 bytes. When the token and connection IDs left no room for the minimum payload, PacketBuilder::new computed a minimum packet size larger than the maximum, which only a debug assertion checked. On the next poll_transmit, debug builds panic, and release builds try to allocate more than 10 GiB in one call. With longer tokens the allocation fails and the process aborts.
Recorded fixes — quinn-proto: 0.11.19. Check your release branch.
Exploitation not established
| Affected range | Recorded fix |
|---|---|
| From 0.11.0 before 0.11.19Semantic versions | 0.11.19 |
Version evidence: OSV · RUSTSEC-2026-0524
View original version evidence
{
"ranges": [
{
"events": [
{
"introduced": "0.11.0"
},
{
"fixed": "0.11.19"
}
],
"type": "SEMVER"
}
],
"versions": []
}