Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. libp2p
  4. ›
  5. CVE-2025-29606

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

July 14, 2025

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

References

  • github.com/advisories/GHSA-x8c6-gj59-6rx8
  • github.com/libp2p/py-libp2p
  • github.com/libp2p/py-libp2p/commit/e150d3153af30530ce61d751bc166e099f1ead7a
  • github.com/libp2p/py-libp2p/compare/v0.2.2...v0.2.3
  • github.com/libp2p/py-libp2p/issues/526
  • github.com/libp2p/py-libp2p/pull/531/files
  • nvd.nist.gov/vuln/detail/CVE-2025-29606

Code Behaviors & Features

Detect and mitigate CVE-2025-29606 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 0.2.3

Fixed versions

  • 0.2.3

Solution

Upgrade to version 0.2.3 or above.

Impact 4.3 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L

Learn more about CVSS

Weakness

  • CWE-770: Allocation of Resources Without Limits or Throttling

Source file

pypi/libp2p/CVE-2025-29606.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Tue, 19 Aug 2025 12:19:30 +0000.