Improper Validation of Specified Quantity in Input Affecting libp2p package, versions [0,]


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-PYTHON-LIBP2P-18313058
  • published26 Jul 2026
  • disclosed24 Jul 2026
  • credittahaafarooq

Introduced: 24 Jul 2026

New CVE NOT AVAILABLE CWE-1284  (opens in a new tab)

How to fix?

A fix was pushed into the master branch but not yet published.

Overview

libp2p is a libp2p: The Python implementation of the libp2p networking stack

Affected versions of this package are vulnerable to Improper Validation of Specified Quantity in Input through the handle_incoming process. An attacker can cause the read loop to block indefinitely by sending a crafted frame with an oversized length field after completing a standard handshake, resulting in all streams on the connection becoming unresponsive.

CVSS Base Scores

version 4.0
version 3.1