Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-73568: CWE-400: Uncontrolled Resource Consumption in libp2p py-libp2p

0
High
VulnerabilityCVE-2026-73568cvecve-2026-73568cwe-400
Published: 08/13/2026 (08/13/2026, 17:43:26 UTC)
Source: CVE Database V5
Vendor/Project: libp2p
Product: py-libp2p

Description

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.

CVSS v3.1

Score 7.5high

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Affected software

py-libp2p
pkg:pypi/py-libp2p
Affected versions
<0.7.1

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 08/13/2026, 18:11:08 UTC

Technical Analysis

In py-libp2p versions before 0.7.1, the yamux handle_incoming() method reads a 32-bit DATA frame length from an attacker-controlled source without validating it against MAX_WINDOW_SIZE or verifying the existence of the stream_id. An attacker who completes the Noise handshake can send a 12-byte frame declaring a 0xFFFFFFFF body length and then withhold the body, causing the sequential yamux read loop to block indefinitely. This results in uncontrolled resource consumption and denial of service affecting all streams on the connection. No patch or official remediation is available at this time.

Potential Impact

An unauthenticated remote attacker can cause a denial of service by blocking the yamux read loop, preventing any stream on the connection from making progress. This leads to resource exhaustion and disruption of network communication using py-libp2p prior to version 0.7.1. Confidentiality and integrity are not impacted.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, consider limiting exposure to untrusted peers or implementing network-level controls to detect and block malformed frames.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-08-12T20:53:46.381Z
Cvss Version
3.1
State
PUBLISHED
Remediation Level
null

Threat ID: 6a7e058ebf8831d539950102

Added to database: 08/13/2026, 17:57:34 UTC

Last enriched: 08/13/2026, 18:11:08 UTC

Last updated: 08/13/2026, 18:41:55 UTC

Views: 3

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses