Denial of servicein libp2p rust-libp2p.
No public exploit found; not on exploited lists.
libp2p-rust is the official rust language Implementation of the libp2p networking stack. In versions prior to 0.45.1 an attacker node can cause a victim node to allocate a large number of small memory chunks, which can ultimately lead to the victim’s process running out of memory and thus getting killed by its operating system. When executed continuously, this can lead to a denial of service attack, especially relevant on a larger scale when run against more than one node of a libp2p based network. Users are advised to upgrade to `libp2p` `v0.45.1` or above. Users unable to upgrade should reference the DoS Mitigation page for more information on how to incorporate mitigation strategies, monitor their application, and respond to attacks: https://docs.libp2p.io/reference/dos-mitigation/.
- Upgrade rust-libp2p to 0.45.1 or later.
- Upgrade libp2p (crates.io) to 0.45.1 or later.
Affected and fixed versions
From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.
From first report to first attacks
- 19 Jan 2022CVE ID reserved by GitHub_M.
- 7 Dec 2022Published in the CVE List.
- 23 Apr 2025CVE record last updated.
Attack code anyone can find
Exploit maturity: No public exploit found. CISA assessment (SSVC): exploitation none.
Listed so defenders can judge how urgent this is and test systems they are authorised to test. Patchminder does not host exploit code; links open the source page. Labels for GitHub repositories come from their public details and are never a promise about the code. Run anything only in an isolated lab.
Report a link
Nothing on this page links to exploit code right now. To report anything else, write to the contact point in the legal notice.
Other rust-libp2p vulnerabilities
Same weakness: Uncontrolled resource consumption
- github.com x_refsource_CONFIRM
Patchminder. CVE-2022-23486: Denial of service in libp2p rust-libp2p. https://patchminder.com/cve/cve-2022-23486/ (accessed 5 December 2026).