Advisory

PYSEC-2026-1536

Also known as: CVE-2025-29606, GHSA-x8c6-gj59-6rx8

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: CVSS v3 score 4.3, vector CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L

Dates

Published
2026-07-07 16:02 UTC
Modified
2026-07-07 17:46 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: PyPA Advisory Database · CC BY 4.0

Sources & licences