yamux
Affected
- introduced
0.13.0, fixed0.13.9(semver)
Fixed versions
0.13.9
Fix
- Fixed version
0.13.9cargo update -p yamux --precise 0.13.9
Advisory
Also known as: CVE-2026-31814
Yamux vulnerable to remote Panic via malformed WindowUpdate credit
Sumary
The Rust implementation of Yamux accepts WindowUpdate credit values from the remote peer and applies them to per-stream send-window state.
A specially crafted WindowUpdate can cause arithmetic overflow in send-window accounting, which triggers a panic in the connection state machine. This is remotely reachable over a normal network connection and does not require authentication.
Attack Scenario
An attacker that can establish a Yamux session with a target node can crash the target by sending two validly encoded Yamux frames:
DEFAULT_CREDIT).Impact
Remote unauthenticated denial of service.
An attacker can repeatedly trigger panics by reconnecting and replaying the crafted frame sequence.
Patches
Users should upgrade to yamux v0.13.9
This vulnerability was originally submitted by @revofusion to the Ethereum Foundation bug bounty program
High Basis: The source's own band: HIGH
0.13.0, fixed 0.13.9 (semver)0.13.9
0.13.9cargo update -p yamux --precise 0.13.9Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0