# CVE-2022-23486: libp2p-rust denial of service vulnerability from lack of resource management

- Severity: High 7.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.75%, higher than 56% of CVEs (2026-12-01)
- Published: 2022-07-12T12:00:00.000Z
- Modified: 2026-10-12T18:00:04.410Z
- Also known as: GHSA-jvgw-gccv-q5p8, RUSTSEC-2022-0084
- Weaknesses: CWE-400, CWE-770
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: GitHub_M

## 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/.

(As written by CVE List.)

## Affected

- libp2p rust-libp2p: < 0.45.1
- libp2p (crates.io): before 0.45.1; from 0.0.0-0 before 0.45.1
- protocol libp2p: before 0.45.1

## Every score

- GitHub_M: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- GitHub: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- RustSec Advisory Database: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://github.com/libp2p/rust-libp2p/security/advisories/GHSA-jvgw-gccv-q5p8> (third-party-advisory, web)
- <https://github.com/libp2p/go-libp2p/security/advisories/GHSA-j7qp-mfxf-8xjw> (web)
- <https://github.com/libp2p/js-libp2p/security/advisories/GHSA-f44q-634c-jvwv> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2022-23486> (advisory)
- <https://github.com/libp2p/rust-libp2p> (package)
- <https://rustsec.org/advisories/RUSTSEC-2022-0084.html> (advisory, web)
- <https://crates.io/crates/libp2p> (package)
- <https://github.com/libp2p/rust-libp2p/pull/2697> (web)

## Sources

- CVE List: [CVE-2022-23486](https://www.cve.org/CVERecord?id=CVE-2022-23486), CVE Terms of Use, modified 2025-04-23
- GitHub Advisory Database: [GHSA-jvgw-gccv-q5p8](https://github.com/advisories/GHSA-jvgw-gccv-q5p8), CC-BY-4.0, modified 2023-11-08
- RustSec Advisory Database: [RUSTSEC-2022-0084](https://rustsec.org/advisories/RUSTSEC-2022-0084.html), CC0-1.0, modified 2026-10-12
- NVD: [CVE-2022-23486](https://nvd.nist.gov/vuln/detail/CVE-2022-23486), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-23486 · Whole record: https://cve.day/CVE-2022-23486.json · Rebuilt by cve.day 2026-11-25T22:58:17.294Z
