Register for the AI for Security Summit: Join Figma, Perplexity & Wiz

CVE-2024-32984
Rust vulnerability analysis and mitigation

Overview

Yamux is a stream multiplexer over reliable, ordered connections such as TCP/IP. A vulnerability was discovered in the Rust implementation of the Yamux stream multiplexer (versions 0.13.0 and up to 0.13.1) where the vector used for pending frames is not bounded in length. The vulnerability was disclosed on May 1, 2024, and tracked as CVE-2024-32984 (GitHub Advisory).

Technical details

The vulnerability exists in the implementation's handling of pending frames. Every time the Yamux protocol requires sending a new frame, it gets appended to an unbounded vector. This can be triggered remotely in multiple ways, such as opening a new libp2p Identify stream or sending a Yamux Ping frame. The vulnerability has been assigned a CVSS v3.1 score of 7.5 (HIGH) with vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H (GitHub Advisory).

Impact

An attacker can cause a remote node to run out of memory, ultimately leading to the process being terminated by the operating system. The attack can be amplified depending on the application protocols running on top of rust-libp2p. For example, protocols that send large amounts of data (e.g., 10 MB) in response to small requests (100-200 bytes) can result in significant memory consumption. Additionally, the attack increases the victim's CPU load, making memory allocation CPU-limited (GitHub Advisory).

Exploitability

The vulnerability can be exploited by preventing the victim from sending out data using TCP's receive window mechanism. By not reading from the TCP connection, the receive window never increases, and the victim cannot send new data. This causes Yamux's queue of pending frames to grow indefinitely, only being drained when the underlying TCP connection is closed (GitHub Advisory).

Mitigation and workarounds

The vulnerability has been patched in version 0.13.2 of the Yamux implementation. The fix introduces a MAX_FRAME_BUFFER constant set to 2000 frames to limit the pending frames vector size (Rust Commit).

Additional resources


SourceThis report was generated using AI

Related Rust vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-68537HIGH7.5
  • Rust logoRust
  • fulgur
NoYesSep 17, 2026
CVE-2026-68523HIGH7.5
  • Rust logoRust
  • fulgur
NoYesSep 17, 2026
RUSTSEC-2026-0289NONEN/A
  • Rust logoRust
  • pqc_kyber
NoNoSep 17, 2026
RUSTSEC-2026-0287NONEN/A
  • Rust logoRust
  • cosmian_kyber
NoNoSep 17, 2026
RUSTSEC-2026-0286NONEN/A
  • Rust logoRust
  • cryptoki
NoYesSep 16, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management