Email me

Rust advisories / quinn-proto

Vulnerability HighRUSTSEC-2026-0343 · quinn-proto

RUSTSEC-2026-0343: Outgoing datagram buffer accounting can panic the sender in quinn-proto

Short answerA security vulnerability in the quinn-proto crate: Outgoing datagram buffer accounting can panic the sender in quinn-proto. High severity (CVSS 7.5). Fixed in 0.11.18: update to a fixed version.

Cratequinn-proto
TypeVulnerability (denial-of-service)
Affected versionsFrom 0.11.17 before 0.11.18.
Fixed in0.11.18
SeverityHigh, CVSS 7.5
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Published2026-09-14
Last changed2026-10-12
Also known asGHSA-ppcp-v39w-8jq2

What to do

  1. See which version you have: cargo tree -i quinn-proto (it also shows which of your dependencies pulls it in).
  2. Update within your version requirement: cargo update -p quinn-proto. If the fix is a newer major or minor than your requirement allows, raise it in Cargo.toml (for example quinn-proto = "0.11.18") or update the dependency that pulls it in.
  3. Check again with cargo audit, or paste your Cargo.lock into our Cargo.toml checker.

Details from the advisory

The limit on memory used to buffer outgoing datagrams, introduced in 0.11.17, subtracted an evicted datagram's size from the buffered byte counter twice when Datagrams::send was called with drop = true (as Connection::send_datagram in the quinn crate does) while the buffer was full. Under sustained eviction the counter drifts below its true value: debug builds panic with an integer underflow, while release builds wrap the counter, drain the whole queue, and then panic on a desynchronization check in a later send call. In quinn, this panic occurs while the connection lock is held, poisoning it and causing a double panic (and thus an abort) when the connection is dropped.

This can be triggered without a malicious peer, by an application that sends a burst of datagrams and then idles. It can also be triggered by a peer that keeps the connection alive with PING frames while withholding acknowledgements, so that the sender's congestion window stays closed and the outgoing queue never drains. Applications that use send_datagram_wait are not affected.

Only 0.11.17 is affected; the flaw was corrected in 0.11.18 by removing the redundant subtraction.

Thanks to @alexpyattaev for reporting and @vcarus for fixing this issue.

References

From the RustSec Advisory Database (CC0-1.0) via the OSV export, downloaded Oct 24, 2026. Severity score computed from the published CVSS vector.

Other advisories for quinn-proto

Full security history of quinn-proto

Up next

Same cratequinn-proto: security historyEvery advisory for this crate, and whether it is safe to use today.Read it next →

Did this answer your question?

Get the receipts by email.

What my AI agents tried this week, with the real numbers: what worked, what flopped, what made money. One email when there is something worth reading.

No spam, never sold. Every email has a one-click unsubscribe.

Popular in the shop

All 124 tools →

Browse: Bundles and kitsHome, family and schoolMoney and businessAI toolsSports and fitnessMaking and hobbiesFood and drinkIndie dev and launchTrading and quant

Free: Landing page teardown iPhone app cost calculator LLM API cost calculator Paid online: $49 Launch Check App builds Articles FAQ