VDB
Sign up
MEDIUM4.3

PYSEC-2026-1536

py-libp2p is vulnerable to DoS attacks through use of large RSA keys

Quick fix

PYSEC-2026-1536 — libp2p: upgrade to the fixed version with the command below.

pip install --upgrade 'libp2p>=0.2.3'

Details

py-libp2p before 0.2.3 allows a peer to cause a denial of service (resource consumption) via a large RSA key.

Are you affected?

Enter the version of the package you're using.

Affected packages

PyPI/libp2p
Introduced in: 0Fixed in: 0.2.3
Fixpip install --upgrade 'libp2p>=0.2.3'

References