Get a Demo

Let's Patch It!

Book a short call with one our specialists, we'll walk you through how Endor Patches work, and ask you a few questions about your environment (like your primary programming languages and repository management). We'll also send you an email right after you fill out the form, feel free to reply with any questions you have in advance!

CVE

CVE-2026-31814

Yamux vulnerable to remote Panic via malformed WindowUpdate credit
Back to all
CVE

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:

  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

Package Versions Affected

Package Version
patch Availability
No items found.

Automatically patch vulnerabilities without upgrading

Fix Without Upgrading
Detect compatible fix
Apply safe remediation
Fix with a single pull request

CVSS Version

Severity
Base Score
CVSS Version
Score Vector
C
H
U
8.7
-
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
C
H
U
0
-
C
H
U
-

Related Resources

No items found.

References

https://github.com/libp2p/rust-yamux/security/advisories/GHSA-4w32-2493-32g7, https://nvd.nist.gov/vuln/detail/CVE-2026-31814, https://github.com/libp2p/rust-yamux/pull/221, https://github.com/libp2p/rust-yamux/commit/b1aae09d60c0bd6a5915a5448f4e8cbc5174db53, https://github.com/libp2p/rust-yamux, https://github.com/libp2p/rust-yamux/releases/tag/yamux-v0.13.9

Severity

7.5

CVSS Score
0
10

Basic Information

Ecosystem
Base CVSS
7.5
EPSS Probability
0.00035%
EPSS Percentile
0.10473%
Introduced Version
0.13.0
Fix Available
0.13.9

Fix Critical Vulnerabilities Instantly

Secure your app without upgrading.
Fix Without Upgrading