GHSA-4w32-2493-32g7

Suggest an improvement
Source
https://github.com/advisories/GHSA-4w32-2493-32g7
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/03/GHSA-4w32-2493-32g7/GHSA-4w32-2493-32g7.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-4w32-2493-32g7
Aliases
Published
2026-03-13T18:57:19Z
Modified
2026-03-16T17:16:28Z
Severity
  • 8.7 (High) CVSS_V4 - 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 CVSS Calculator
Summary
Yamux vulnerable to remote Panic via malformed WindowUpdate credit
Details

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:

  1. Open a stream (e.g. DATA + SYN) so the stream exists with initial send-window state (DEFAULT_CREDIT).
  2. Send a WindowUpdate on that stream with a very large credit value (e.g. 0xFFFF_0000) such that adding credit to the current send-window overflows u32.

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

Database specific
{
    "cwe_ids":  [
        "CWE-190"
    ],
    "github_reviewed":  true,
    "github_reviewed_at":  "2026-03-13T18:57:19Z",
    "nvd_published_at":  "2026-03-13T19:54:36Z",
    "severity":  "HIGH"
}
References

Affected packages

crates.io / yamux

Package

Affected ranges

Type
SEMVER
Events
Introduced
0.13.0
Fixed
0.13.9

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/03/GHSA-4w32-2493-32g7/GHSA-4w32-2493-32g7.json"