← All Advisories

py-libp2p yamux Reads Attacker-Controlled Frame Length Before Validating It, Allowing Any Noise-Authenticated Peer to Stall an Entire Connection; No Fix Available

Last refreshed2026-09-29

Status: NEW  |  Advisory ID: CVE-2026-73568

Key Details

CVECVE-2026-73568
CVSS Score / Version7.5 (High) / CVSS v3.1
Updated2026-09-18
CVSS VectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS Proseattack vector is network; attack complexity is low; privileges required is none; user interaction is none; scope is unchanged; confidentiality impact is none; integrity impact is none; availability impact is high.
Classified asCWE-400 (Uncontrolled Resource Consumption)

What to Know

py-libp2p is the Python implementation of the libp2p networking stack. In 0.7.0 and earlier, the yamux handle_incoming() method in libp2p/stream_muxer/yamux/yamux.py reads an attacker-controlled 32-bit DATA frame length with read_exactly() before validating it against MAX_WINDOW_SIZE or checking whether stream_id exists. A peer that completes the standard Noise handshake can send a 12-byte frame declaring a 0xFFFFFFFF body and then withhold the body, causing the sequential yamux read loop used by the default new_host() configuration to block and preventing every stream on that connection from making progress. No fixed version is available as of this review. (NVD)

References

SourceReference
NVDhttps://nvd.nist.gov/vuln/detail/CVE-2026-73568
CVEhttps://www.cve.org/CVERecord?id=CVE-2026-73568