# CVE-2025-29606: py-libp2p is vulnerable to DoS attacks through use of large RSA keys

- Severity: Medium 4.3 (CVSS:3.1, scored by mitre) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.39%, higher than 34% of CVEs (2026-12-01)
- Published: 2025-07-14T00:00:00.000Z
- Modified: 2026-07-07T17:56:51.957Z
- Also known as: GHSA-x8c6-gj59-6rx8, PYSEC-2026-1536
- Weaknesses: CWE-770
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: mitre

## Description

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

(As written by CVE List.)

## Affected

- libp2p py-libp2p: before 0.2.3
- libp2p (PyPI): before 0.2.3

## Every score

- mitre: CVSS:3.1 4.3 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L`
- GitHub: CVSS:3.1 4.3 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L`
- PyPA Advisory Database: CVSS:3.1 4.3 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L`

## References

- <https://github.com/libp2p/py-libp2p/issues/526> (web)
- <https://github.com/libp2p/py-libp2p/pull/531/files> (web)
- <https://github.com/libp2p/py-libp2p/compare/v0.2.2...v0.2.3> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-29606> (advisory)
- <https://github.com/libp2p/py-libp2p/commit/e150d3153af30530ce61d751bc166e099f1ead7a> (web)
- <https://github.com/libp2p/py-libp2p> (package)
- <https://pypi.org/project/libp2p> (package)
- <https://github.com/advisories/GHSA-x8c6-gj59-6rx8> (advisory)

## Sources

- CVE List: [CVE-2025-29606](https://www.cve.org/CVERecord?id=CVE-2025-29606), CVE Terms of Use, modified 2025-07-14
- GitHub Advisory Database: [GHSA-x8c6-gj59-6rx8](https://github.com/advisories/GHSA-x8c6-gj59-6rx8), CC-BY-4.0, modified 2026-07-07
- NVD: [CVE-2025-29606](https://nvd.nist.gov/vuln/detail/CVE-2025-29606), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2026-1536](https://osv.dev/vulnerability/PYSEC-2026-1536), CC-BY-4.0, modified 2026-07-07

---

Page: https://cve.day/CVE-2025-29606 · Whole record: https://cve.day/CVE-2025-29606.json · Rebuilt by cve.day 2026-11-25T22:59:01.217Z
