patchminder
No public exploit found CVE-2022-23487

Denial of servicein libp2p js-libp2p.

Published 7 Dec 2022 · Updated 23 Apr 2025 · Every fact sourced

JSONCite
Is it exploited?
Not confirmed

No public exploit found; not on exploited lists.

Severity
High 7.5
CVSSA severity score from 0 to 10. 9 and higher is critical. 3.1 · no login needed
Attack likelihood
Low
EPSSA daily score from FIRST: the chance a hole is attacked in the next 30 days. 0.8% chance in 30 days · 4 Dec 2026
Fix
Available
Upgrade to 0.38.0 or later
In plain words

js-libp2p is the official javascript Implementation of libp2p networking stack. Versions older than `v0.38.0` of js-libp2p are vulnerable to targeted resource exhaustion attacks. These attacks target libp2p’s connection, stream, peer, and memory management. An attacker can cause the allocation of large amounts of memory, ultimately leading to the process getting killed by the host’s operating system. While a connection manager tasked with keeping the number of connections within manageable limits has been part of js-libp2p, this component was designed to handle the regular churn of peers, not a targeted resource exhaustion attack. Users are advised to update their js-libp2p dependency to `v0.38.0` or greater. There are no known workarounds for this vulnerability.

What to do now
  • Upgrade js-libp2p to 0.38.0 or later.
  • Upgrade libp2p (npm) to 0.38.0 or later.
Versions

Affected and fixed versions

Product or package
Affected
Fixed in
Source
js-libp2p
before 0.38.0
0.38.0
CVE record
libp2p (npm)
before 0.38.0
0.38.0
GitHub advisory

From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.

Timeline

From first report to first attacks

  1. 19 Jan 2022
    CVE ID reserved by GitHub_M.
  2. 7 Dec 2022
    Published in the CVE List.
  3. 23 Apr 2025
    CVE record last updated.
Exploit code

Attack code anyone can find

Exploit maturity: No public exploit found. CISA assessment (SSVC): exploitation none.

Metasploit module
None known
Nuclei scan template
None known
Exploit-DB
None known
GitHub proof of concepts
None known

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.

Related

Other js-libp2p vulnerabilities

Same weakness: Uncontrolled resource consumption

All CWE-400 vulnerabilities

References
Cite this page

Patchminder. CVE-2022-23487: Denial of service in libp2p js-libp2p. https://patchminder.com/cve/cve-2022-23487/ (accessed 5 December 2026).