Advisory

GHSA-x8c6-gj59-6rx8

Also known as: CVE-2025-29606, PYSEC-2026-1536

Summary

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

Details

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

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2025-07-14 06:30 UTC
Modified
2026-07-07 17:56 UTC

Affected packages and fixes

libp2p

PyPI · All systems

Affected

  • introduced 0, fixed 0.2.3 (ecosystem)

Fixed versions

0.2.3

Fix

  • Fixed version 0.2.3
    pip install --upgrade libp2p==0.2.3

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences