py-libp2p is vulnerable to DoS attacks through use of large RSA keys
py-libp2p before 0.2.3 allows a peer to cause a denial of service (resource consumption) via a large RSA key.
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Python (PyPI) | libp2p | < 0.2.3 | 0.2.3 |
References
- https://nvd.nist.gov/vuln/detail/CVE-2025-29606
- https://github.com/libp2p/py-libp2p/issues/526
- https://github.com/libp2p/py-libp2p/pull/531/files
- https://github.com/libp2p/py-libp2p/commit/e150d3153af30530ce61d751bc166e099f1ead7a
- https://github.com/libp2p/py-libp2p
- https://github.com/libp2p/py-libp2p/compare/v0.2.2...v0.2.3
- https://pypi.org/project/libp2p
- https://github.com/advisories/GHSA-x8c6-gj59-6rx8
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L- Weakness (CWE)
CWE-770- Platform
- Python (PyPI)
- Package
libp2p- Disclosed
- 14.07.2025
- Updated
- 11.10.2026 13:19
Sources and licenses
OSV / GitHub Advisory Database - PYSEC-2026-1536 - PyPA Advisory Database; CC BY 4.0
OSV / GitHub Advisory Database - GHSA-x8c6-gj59-6rx8 - CC BY 4.0
Vulnerability history: libp2p
All published vulnerabilities of this package (Python (PyPI)), newest first. Shows whether this is a one-off slip or a package that needs watching.
- Total entries
- 2
- First → latest
- 07.2025 07.2026
- Without a fix
- 1
- Exploited in attacks
- 0
Severity breakdown
- High 1
- Medium 1
Disclosures per year
- 2025: 1
- 2026: 1
-
py-libp2p is vulnerable to DoS attacks through use of large RSA keys this entry
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.