Read the docs
TI-2022-07547 Aliases CVE-2022-23487GHSA-f44q-634c-jvwv

libp2p denial of service vulnerability from lack of resource management

Priority MEDIUM 40CWE-400Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Impact type
Denial of service
Confidentiality · integrity · availability
None · None · High
Fix status
Fixed

Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-400.

Summary

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.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00734 54th percentileScored 2026-11-07
Fix Fixed js-libp2p (libp2p): 0.38.0libp2p (npm): 0.38.0

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
Yes
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
libp2pjs-libp2pbefore 0.38.00.38.0Patch availableCNA
—libp2p (npm)before 0.38.00.38.0Patch availableGHSA-f44q-634c-jvwv
  • js-libp2p Vendorlibp2p Affected before 0.38.0 Fixed in 0.38.0 Patch available CNA
  • libp2p (npm) Vendor— Affected before 0.38.0 Fixed in 0.38.0 Patch available GHSA-f44q-634c-jvwv

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:protocol:libp2p:*:*:*:*:*:node.js:*:*before 0.38.0VulnerableProtocol
  • cpe:2.3:a:protocol:libp2p:*:*:*:*:*:node.js:*:* Versions before 0.38.0 Vulnerable ·Protocol

Remediation

  • Fix · CNA js-libp2p (libp2p) Fixed in 0.38.0
  • Fix · GHSA-f44q-634c-jvwv libp2p (npm) Fixed in 0.38.0 Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2022-23487
  2. 2026-10-03 Alias added: GHSA-f44q-634c-jvwv

References

  • TI-2026-60386 libp2p-rendezvous through 0.17.1 Denial of Service via Unbounded Registration TTL in Discovery Responses CVSS 4.0HIGH 8.7
  • TI-2026-58865 libp2p: PeerStore accepts attacker-signed PeerRecords for a victim peer ID and stores certified attacker addresses CVSS 3.1HIGH 8.2
  • TI-2026-44102 libp2p-quic: Remote panic via certificate expiry race during QUIC handshake CVSS 4.0HIGH 8.2
  • TI-2026-27587 libp2p-rust has unbounded rendezvous DISCOVER cookies enable remote memory exhaustion CVSS 3.1HIGH 8.2
  • TI-2026-58864 libp2p: Gossipsub StrictSign accepts attacker-signed messages as a victim RSA peer ID CVSS 3.1HIGH 7.5
  • TI-2026-53982 libp2p: Circuit relay v2 server reservation refresh leaks abort listeners and allows remote resource exhaustion CVSS 3.1HIGH 7.5
See all 26 →

Sources