8.7high
Yamux remote Panic via malformed Data frame with SYN set and len = 262145
- Severity
- 8.7high CVSS:4.0 by GitHub_M
- Exploit likelihood
- 0.52% (higher than 45% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
- Also known as
- GHSA-vxx9-2994-q338
Description
Yamux is a stream multiplexer over reliable, ordered connections such as TCP/IP. Prior to 0.13.10, the 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). On 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. This is remotely reachable over a normal Yamux session and does not require authentication. This vulnerability is fixed in 0.13.10.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| libp2p rust-yamux | < 0.13.10 | CVE List |
| yamux (crates.io) | before 0.13.10 | GitHub Advisory Database |
| protocol yamux | before 0.13.10 | NVD |
All scores
| GitHub_M | 8.7high CVSS:4.0 | 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 |
| GitHub | high CVSS:4.0 | 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 |
| NVD | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Classification
What each source says
CVE List
Yamux is a stream multiplexer over reliable, ordered connections such as TCP/IP. Prior to 0.13.10, the 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). On 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. This is remotely reachable over a normal Yamux session and does not require authentication. This vulnerability is fixed in 0.13.10.
GitHub Advisory Database
Summary
The 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). On 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. This is remotely reachable over a normal Yamux session and does not require authentication. kind of vulnerability is it? Who is
Attack Scenario
An 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:
- Establish a standard authenticated transport session that negotiates Yamux.
- Send one Yamux frame with:
- Tag = Data
- Flags = SYN
- StreamId = 1 (or any new inbound stream id)
- Length = DEFAULT_CREDIT + 1 (e.g. 262145)
- Body of matching size This can trigger a panic (stream not found) and terminate the process, depending on host application panic policy.
Patches
Users should upgrade to yamux v0.13.10
This vulnerability was originally submitted by @revofusion to the Ethereum Foundation bug bounty program
NVD (es)
Yamux es un multiplexor de flujo sobre conexiones fiables y ordenadas como TCP/IP. Antes de la versión 0.13.10, la implementación en Rust de Yamux puede entrar en pánico al procesar un marco de datos de entrada manipulado que establece SYN y utiliza una longitud de cuerpo mayor que DEFAULT_CREDIT (p. ej., 262145). En el primer paquete de un nuevo flujo de entrada, se crea el estado del flujo y se encola un receptor antes de que se complete la validación del cuerpo de tamaño excesivo. Cuando la validación falla, el flujo temporal se descarta y la limpieza puede llamar a remove(...).expect('stream not found'), lo que desencadena un pánico en la máquina de estados de la conexión. Esto es accesible remotamente a través de una sesión Yamux normal y no requiere autenticación. Esta vulnerabilidad se corrige en la versión 0.13.10.
References
| https://github.com/libp2p/rust-yamux/security/advisories/GHSA-vxx9-2994-q338 | exploit, vendor-advisory, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2026-32314 | advisory | |
| https://github.com/libp2p/rust-yamux | package | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-32314 changed 2026-03-16 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-vxx9-2994-q338 changed 2026-03-16 | CC-BY-4.0 |
| NVD | CVE-2026-32314 changed 2026-06-17 | Public domain |