Skip to main content

Rust EUVDEUVD-2026-12083

| CVE-2026-31814 HIGH
Integer Overflow or Wraparound (CWE-190)
2026-03-13 https://github.com/libp2p/rust-yamux GHSA-4w32-2493-32g7
8.7
CVSS 4.0 · GitHub Advisory
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Establish Yamux session
  2. Exploit
    Send crafted WindowUpdate frame
  3. Execution
    Trigger arithmetic overflow in send-window
  4. Impact
    Panic connection state machine

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A06:2021 - Vulnerable and Outdated Components
ASVS 5.0
V15 - Secure Coding and Architecture Integer overflow checks
MITRE ATT&CK

1 technique across 1 tactic: Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

No special conditions — remote unauthenticated exploitation against any Rust Yamux implementation accepting WindowUpdate frames over normal network connections.

Impact

Despite the high CVSS 4.0 score of 8.7 (AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H), the real-world exploitation risk appears moderate. The EPSS score of 0.00091 indicates very low probability of active exploitation in the wild. The vulnerability is not listed in CISA KEV, suggesting no confirmed exploitation. While the attack vector is network-based with low complexity and requires no authentication, it only impacts availability (denial of service) without compromising confidentiality or integrity. The SSVC framework would likely categorize this as automatable with significant technical impact, but the lack of data exfiltration or system compromise limits its appeal to attackers compared to other vulnerabilities. Organizations should prioritize patching based on their reliance on continuous availability rather than treating this as a critical security emergency.

Exploit ScenarioDerived

An attacker establishes a normal Yamux connection to a target service, sends a DATA frame with SYN flag to open a new stream, then immediately sends a WindowUpdate frame with a credit value near the u32 maximum (such as 0xFFFF_0000). This causes an integer overflow when added to the stream's current send-window value, triggering a panic that crashes the connection handler. The attacker can maintain denial of service by automating this two-frame sequence in a loop, repeatedly reconnecting after each crash.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Mar 13, 2026

Integer overflow in Rust's Yamux implementation allows unauthenticated remote attackers to crash target nodes by sending specially crafted WindowUpdate frames that trigger arithmetic overflow in stream send-window accounting. An attacker can establish a Yamux session and transmit malicious frames without authentication, causing a panic in the connection state machine and resulting in denial of service. A patch is available to address this high-severity vulnerability.

Earlier versions of this analysis (1)
v1 Mar 13, 2026 - 19:00 CVSS 8.7

A remotely exploitable arithmetic overflow vulnerability exists in the Rust implementation of Yamux that allows unauthenticated attackers to crash target systems via specially crafted WindowUpdate frames. The vulnerability affects yamux versions prior to v0.13.9 and enables denial of service attacks through panic-inducing integer overflows in stream send-window accounting. With an EPSS score of 0.00091 (0.091%), active exploitation is currently unlikely despite the high CVSS score of 8.7.

RemediationAI

Upgrade the yamux Rust crate to version v0.13.9 or later, which contains the fix for this arithmetic overflow vulnerability. For systems that cannot immediately upgrade, implement network-level controls such as rate limiting on incoming connections and monitoring for repeated connection attempts that could indicate exploitation attempts. Consider implementing connection throttling or temporary IP blocking for sources that repeatedly establish and drop connections, as the attack requires reconnection to maintain denial of service. Review application logs for panic messages related to yamux stream handling that could indicate exploitation attempts.

Affected VersionsENISA

rust-yamux 0.13.0, < 0.13.9

Affected Packages

cargo yamux fix: 0.13.9
euvd rust_yamux_0_13_0 fix: 0.13.9

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 2 packages in cargo, euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Yamux is a stream multiplexing protocol implementation in Rust that manages multiple logical streams over a single connection. The vulnerability stems from improper validation of WindowUpdate credit values received from remote peers, leading to CWE-190 (Integer Overflow or Wraparound) when these values are added to the current send-window state. The flaw occurs in the connection state machine where arithmetic operations on u32 values can overflow when processing maliciously large credit values like 0xFFFF_0000. This implementation is commonly used in peer-to-peer networking applications, particularly in blockchain and distributed systems contexts as evidenced by the original discovery through the Ethereum Foundation bug bounty program.

Know when Rust gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

GitHub Advisory PRIMARY 8.7 HIGH
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

Primary rating from GitHub Advisory · only source for this CVE.

CVSS VectorGitHub Advisory

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
None
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

2
Patch released
Mar 16, 2026 - 14:54 nvd
Patch available
CVE Published
Mar 13, 2026 - 18:57 nvd
HIGH 8.7

DescriptionGitHub Advisory

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

Executive ViewAI

Why It Matters

A remote denial-of-service vulnerability in Yamux (Rust implementation) allows unauthenticated attackers to crash affected services by sending specially crafted network frames. Organizations running Yamux-dependent systems are at risk of service disruptions without user interaction or authentication requirements.

Business Impact: High
Compensating Controls

Apply vendor patch. If immediate patching is not feasible, implement network-level controls to restrict Yamux session initiation to trusted peers only, and monitor connection logs for repeated reconnection attempts from external sources that may indicate exploitation attempts.

Threat Intelligence Overview

EPSS Score
0.1%
Top 80% exploitable
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.1%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact
High

Priority Score

44
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +44
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Integer overflow occurs when an arithmetic operation produces a result that exceeds the maximum value a given integer type can store.

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

More in Rust

View all
CVE-2024-3566 CRITICAL POC
9.8 Apr 10

Command injection via Windows CreateProcess argument parsing affects multiple language runtimes and tooling (Node.js, PH

CVE-2021-31162 CRITICAL POC
9.8 Apr 14

In the standard library in Rust before 1.52.0, a double free can occur in the Vec::from_iter function if freeing the ele

CVE-2021-28879 CRITICAL POC
9.8 Apr 11

In the standard library in Rust before 1.52.0, the Zip implementation can report an incorrect size due to an integer ove

CVE-2026-58491 CRITICAL POC
9.3 Sep 21

Stored cross-site scripting and open redirect in Warpgate's SSO endpoints (versions prior to 0.25.5) allow an unauthenti

CVE-2021-29922 CRITICAL POC
9.1 Aug 07

library/std/src/net/parser.rs in Rust before 1.53.0 does not properly consider extraneous zero characters at the beginni

CVE-2026-77620 HIGH POC
8.7 Sep 22

Denial of service in the Vector observability pipeline's `logstash` source (versions 0.15.0 through 0.56.x) allows a rem

CVE-2019-12083 HIGH POC
8.1 May 13

The Rust Programming Language Standard Library 1.34.x before 1.34.2 contains a stabilized method which, if overridden, c

CVE-2026-96889 HIGH POC
7.8 Sep 23

Use-after-free in librsvg during rendering of crafted SVG documents with nested XInclude directives and duplicate entity

CVE-2021-28878 HIGH POC
7.5 Apr 11

In the standard library in Rust before 1.52.0, the Zip implementation calls __iterator_get_unchecked() more than once fo

CVE-2021-28875 HIGH POC
7.5 Apr 11

In the standard library in Rust before 1.50.0, read_to_end() does not validate the return value from Read in an unsafe c

CVE-2019-16760 HIGH POC
7.5 Sep 30

Cargo prior to Rust 1.26.0 may download the wrong dependency if your package.toml file uses the `package` configuration

CVE-2026-115905 CRITICAL
10.0 Oct 26

A parser differential in the Rust `zip` crate (zip2) through 9.0.4 lets a crafted archive present different filenames to

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy