7.5

CVE-2022-23487: libp2p denial of service vulnerability from lack of resource management

Modified
AliasesGHSA-f44q-634c-jvwv
Published 07-12-2022Last modified 23-04-2025

Vulnerability summary

CVE-2022-23487 is a high (CVSS 7.5) Uncontrolled Resource Consumption vulnerability in libp2p js-libp2p. EPSS estimates a 0.81% chance of exploitation in the next 30 days, higher than 58.3% of scored vulnerabilities.

Priority
Prioritisesevere

Severe, CVSS 7.5 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 1% (FIRST, 04-12-2026)

Source freshness unavailable

How is this decided?
CVSS score
7.5/10
010
High · v3.1 (CVE.org)
EPSS score
0.81%
0%100%
Low · +0.08 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Timeline

  1. 07-12-2022
    PublishedVulnerability first disclosed.
  2. 23-04-2025
    Last modifiedVulnerability information updated.

Description

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.

CVSS metrics

3 scores · 3 sources · 1 version

EPSS trend

Probability

0.81%

Chance of exploitation in the next 30 days

Percentile

58%

Versus all other CVEs

30-day change

Increase +0.08 pp

From 0.73% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.

Libp2p1 product
Npm1 product
  • libp2p< 0.38.0
Protocol1 product

3 vendors · 3 products

References

3 links