libp2p/py-libp2p · Security
py-libp2p is vulnerable to DoS attacks through use of large RSA keys
- GHSA ID
- GHSA-x8c6-gj59-6rx8
- CVE ID
- CVE-2025-29606
- Severity
- medium
- Published
- Updated
- CVSS
- 4.3 · CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L
- CVSS v3
- 4.3 · CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L
Description
py-libp2p before 0.2.3 allows a peer to cause a denial of service (resource consumption) via a large RSA key.
CWEs
- CWE-770 · Allocation of Resources Without Limits or Throttling
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/compare/v0.2.2...v0.2.3 ↗
- https://github.com/libp2p/py-libp2p/commit/e150d3153af30530ce61d751bc166e099f1ead7a ↗
- https://github.com/advisories/GHSA-x8c6-gj59-6rx8 ↗