Vulnerability · Published Jun 10, 2026 · Assigned by GitHub_M

CVE-2026-46679libp2p: Memory DoS via subscription flood of unique topics

High 7.5

In plain English

A high-severity improper input validation in js-libp2p from libp2p. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 20% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)7.5High
Exploit odds (30 days)0.3%top 79.7% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

Official description

libp2p is a JavaScript Implementation of libp2p networking stack. Prior to version 15.0.23, three cooperating omissions in @libp2p/gossipsub allow an unauthenticated single peer to exhaust the Node.js heap of any gossipsub node with default options. This issue has been patched in version 15.0.23.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
npm@libp2p/gossipsub15.0.23GHSA-4f8r-922h-2vgv

Affected products (as reported)

VendorProductVersions
libp2p js-libp2p < 15.0.23

Weakness: CWE-20, CWE-400, CWE-401 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

References