{"id":"GHSA-vxx9-2994-q338","summary":"Yamux vulnerable to remote Panic via malformed Data frame with SYN set and len = 262145","details":"### Summary\nThe Rust implementation of Yamux can panic when processing a crafted inbound Data frame that sets SYN and uses a body length greater than DEFAULT_CREDIT (e.g. 262145).\nOn the first packet of a new inbound stream, stream state is created and a receiver is queued before oversized-body validation completes. When validation fails, the temporary stream is dropped and cleanup may call remove(...).expect(\"stream not found\"), triggering a panic in the connection state machine.\nThis is remotely reachable over a normal Yamux session and does not require authentication. kind of vulnerability is it? Who is \n#### Attack Scenario  \nAn attacker that can establish a Yamux session with a target node can crash the target by sending a single validly encoded Yamux Data|SYN frame with an oversized body:\n1. Establish a standard authenticated transport session that negotiates Yamux.\n2. Send one Yamux frame with:\n   - Tag = Data\n   - Flags = SYN\n   - StreamId = 1 (or any new inbound stream id)\n   - Length = DEFAULT_CREDIT + 1 (e.g. 262145)\n   - Body of matching size\nThis can trigger a panic (stream not found) and terminate the process, depending on host application panic policy.\n### Patches\nUsers should upgrade to `yamux` `v0.13.10`\n\nThis vulnerability was originally submitted by @revofusion to the Ethereum Foundation bug bounty program","aliases":["CVE-2026-32314"],"modified":"2026-03-16T22:16:17.324879Z","published":"2026-03-13T20:04:38Z","database_specific":{"cwe_ids":["CWE-248","CWE-617"],"severity":"HIGH","github_reviewed":true,"github_reviewed_at":"2026-03-13T20:04:38Z","nvd_published_at":"2026-03-16T14:19:34Z"},"references":[{"type":"WEB","url":"https://github.com/libp2p/rust-yamux/security/advisories/GHSA-vxx9-2994-q338"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-32314"},{"type":"PACKAGE","url":"https://github.com/libp2p/rust-yamux"}],"affected":[{"package":{"name":"yamux","ecosystem":"crates.io","purl":"pkg:cargo/yamux"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.13.10"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/03/GHSA-vxx9-2994-q338/GHSA-vxx9-2994-q338.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V4","score":"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"}]}