{"id":"GHSA-6xvm-j4wr-6v98","revision":"2fa7d613e25d43828af5dfb8f461c9cb","records":[{"revision":"2fa7d613e25d43828af5dfb8f461c9cb","observedAt":"2026-10-24T13:19:54.901+00:00","statement":{"source":"osv","id":"GHSA-6xvm-j4wr-6v98","aliases":["CVE-2026-31812","RUSTSEC-2026-0037"],"title":"Quinn affected by unauthenticated remote DoS via panic in QUIC transport parameter parsing","description":"### Summary\nA remote, unauthenticated attacker can trigger a denial of service in applications using vulnerable `quinn` versions by sending a crafted QUIC Initial packet containing malformed `quic_transport_parameters`. `In quinn-proto` parsing logic, attacker-controlled varints are decoded with `unwrap()`, so truncated encodings cause `Err(UnexpectedEnd)` and `panic`. This is reachable over the network with a single packet and no prior trust or authentication.\n\n### Details\nThe issue is panic-on-untrusted-input in QUIC transport parameter parsing.\nIn `quinn-proto` (observed in `quinn-proto 0.11.13`), parsing of some transport parameters uses a fallible varint decode followed by `unwrap()`. For malformed/truncated parameter values, decode returns `UnexpectedEnd`, and `unwrap()` panics.\n\n#### Observed output:\n```\nthread 'tokio-rt-worker' (2366474) panicked at quinn-proto/src/transport_parameters.rs:473:67:\ncalled `Result::unwrap()` on an `Err` value: UnexpectedEnd\n```\n\n### PoC\n#### Reproduces against the upstream Quinn server example.\n1. Start server:\n```\ncargo run --example server -- ./\n```\n2. Prepare PoC client environment:\n```\npython3 -m venv .venv\nsource .venv/bin/activate\npip install aioquic\n```\n3. Run PoC script [attack.py](https://github.com/user-attachments/files/25741713/attack.py) against server QUIC listener (default example target shown):\n```\npython attack.py\n```\n#### Observed output\n```\nthread 'tokio-rt-worker' (2366903) panicked at quinn-proto/src/transport_parameters.rs:473:67:\ncalled `Result::unwrap()` on an `Err` value: UnexpectedEnd\n```\n\n\n\n### Impact\nVulnerability type: Remote Denial of Service (panic/crash)\nAttack requirements:  Network reachability to UDP QUIC listener\nAuthentication/privileges: None\nWho is impacted: Any server/application using affected `quinn/quinn-proto` versions where this parse path is reachable; process-level impact depends on integration panic handling policy\n\n\nThis vulnerability was originally submitted by @revofusion to the Ethereum Foundation bug bounty program","state":0,"publishedAt":"2026-03-11T00:09:19+00:00","modifiedAt":"2026-09-10T03:50:37.7964494+00:00","affected":[{"ecosystem":"crates.io","name":"quinn-proto","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"0.11.14"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V4","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"HIGH"}],"references":["https://github.com/quinn-rs/quinn/security/advisories/GHSA-6xvm-j4wr-6v98","https://nvd.nist.gov/vuln/detail/CVE-2026-31812","https://github.com/quinn-rs/quinn/pull/2559","https://github.com/quinn-rs/quinn","https://rustsec.org/advisories/RUSTSEC-2026-0037.html"],"sourceUrl":"https://github.com/advisories/GHSA-6xvm-j4wr-6v98","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-6xvm-j4wr-6v98","identifiers":["GHSA-6xvm-j4wr-6v98","CVE-2026-31812","RUSTSEC-2026-0037"]},"retained":false,"historicalAffected":[]}],"coverage":[]}