CVE-2022-23486: libp2p rust-libp2p Uncontrolled Resource Consumption
Vulnerability summary
CVE-2022-23486 is a high (CVSS 7.5) Uncontrolled Resource Consumption vulnerability in libp2p rust-libp2p. EPSS estimates a 0.73% chance of exploitation in the next 30 days, higher than 53.6% of scored vulnerabilities.
Timeline
- 07-12-2022PublishedVulnerability first disclosed.
- 23-04-2025Last modifiedVulnerability information updated.
Description
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/.
CVSS metrics
3 scores · 3 sources · 1 version- OSV · Crates.ioEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- NVDNIST7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS trend
Probability
0.73%
Chance of exploitation in the next 30 days
Percentile
54%
Versus all other CVEs
30-day change
+0.03 pp
From 0.71% on 20-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root cause- CWE-400Uncontrolled Resource ConsumptionThe product does not properly control the allocation and maintenance of a limited resource.
- CWE-770Allocation of Resources Without Limits or ThrottlingThe product allocates a reusable resource or group of resources on behalf of an actor without imposing any intended restrictions on the size or number of resources that can be allocated.
Affected systems
Crates.Io1 product
- libp2p< 0.45.1 | ≥ 0.0.0-0, < 0.45.1
Libp2p1 product
- rust-libp2p< 0.45.1
Protocol1 product
- libp2p< 0.45.1
3 vendors · 3 products
References
8 links- github.com/libp2p/rust-libp2p/security/advisories/GHSA-jvgw-gccv-q5p8X Refsource CONFIRMWEBThird Party Advisory
- crates.io/crates/libp2pPACKAGE