Resource exhaustion in Libp2p Rust-Libp2p
CVE-2026-35405
libp2p-rust is the official rust language Implementation of the libp2p networking stack. Prior to 0.17.1, libp2p-rendezvous server has no limit on how many namespaces a single peer can register. A malicious peer can just keep registering unique namespaces in a loop and the server happily accepts every single one allocating memory for each registration with no pushback. Keep doing this long enough (or with multiple sybil peers) and the server process gets OOM killed. This vulnerability is fixed in 0.17.1.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H.
EPSS exploit prediction
EPSS 0.004, 35.8th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Libp2p Rust-Libp2p — versions < 0.17.1
- Protocol Libp2p
Weakness classification (CWE)
References
- github.com/libp2p/rust-libp2p/security/advisories/GHSA-cqfx-gf56-8x59 (Exploit, Vendor Advisory)