Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessOpen single libp2p connection to node
-
DeliverySend flood of unsigned subscription RPCs
-
ExploitEach distinct topic adds permanent map entry
-
ExecutionTopics map grows unbounded, heap commits
-
ImpactNode reaches out-of-memory, denial of service
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V2 - Validation and Business Logic Resource consumption limits
MITRE ATT&CK
1 technique across 1 tactic: Impact The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Requires that the victim node runs @libp2p/gossipsub (< 17.0.0) in its default configuration with |
| Impact | This is a genuine, well-substantiated availability risk rather than an inflated high-CVSS score. The CVSS vector (AV:N/AC:L/PR:N/UI:N, C:N/I:N/A:H) is internally consistent with the mechanism: a single connected remote peer sends unsigned subscription RPC metadata - no authentication, no user interaction, low complexity - to drive the victim's gossipsub |
| Exploit ScenarioDerived | An attacker establishes a single libp2p connection to a victim node running gossipsub in its default configuration and floods it with subscription RPC frames covering vast numbers of distinct, long topic strings. Each accepted topic creates a permanent |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 18, 2026
Denial of service in @libp2p/gossipsub before 17.0.0 allows a single remote, unauthenticated peer with one established libp2p connection to drive a victim node's internal topics map toward out-of-memory conditions by flooding subscription RPCs with arbitrarily many distinct topic strings. Because allowedTopics is unset in the default configuration, every accepted subscription creates a persistent map entry, the per-RPC maxSubscriptions limit of 5000 bounds only a single frame rather than aggregate bytes, and peer scoring has no subscription-volume penalty, so the attacker is never rate-limited or greylisted. Disconnecting additionally forces an O(N) sweep in removePeer over all accumulated entries. The issue is fixed in 17.0.0; a public PoC reference exists, but it is not verified as working exploit code, and no confirmed active exploitation (CISA KEV) has been reported.
RemediationAI
Vendor-released patch: upgrade @libp2p/gossipsub to 17.0.0 or later, as published in the gossipsub-v17.0.0 release (https://github.com/libp2p/js-libp2p/releases/tag/gossipsub-v17.0.0) and delivered by PR 3593 / commit d5534174d8b7d23ac1bd45a7e738664fbfb0cf4c. Confirm the resolved dependency version in your lockfile, since transitive js-libp2p installations may pin an older gossipsub. If an upgrade cannot be shipped immediately, set the allowedTopics option to a fixed, deny-by-default list of the topics your node actually needs: the vendor's control run shows the identical subscription flood being rejected at that gate with the topics map staying at zero entries, at the cost of dropping legitimate traffic on any topic not on the list (dynamic topic sets and open/permisionless networks do not fit this workaround). Note that decodeRpc's maxSubscriptions=5000 limit and peer scoring are not effective mitigations here, as neither bounds aggregate topic growth nor penalises subscription volume in the affected versions. After upgrading, the new maxTopicBytesPerPeer option (default 1 MiB, roughly 1000 topics per peer) can be tuned, but the vendor warns that keeping it far above legitimate peers' needs is important because a peer that reaches the budget silently stops receiving messages on further topics.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 3 packages in npm, euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
libp2p is a modular peer-to-peer networking stack, and gossipsub is its pubsub protocol implementation; in js-libp2p the component ships as the npm package @libp2p/gossipsub. Subscriptions are transmitted as unsigned RPC metadata, so a peer can announce interest in arbitrary topic strings without any signature or authentication step. The flaw is CWE-400 (Uncontrolled Resource Consumption), with the vendor advisory also classifying it as CWE-770 (Allocation of Resources Without Limits or Throttling): handleReceivedSubscription in packages/gossipsub/src/gossipsub.ts calls this.topics.set(topic, new Set()) for every distinct topic it accepts, with no global cap, no per-peer cap and no topic-string length limit. The only topical gate is skipped when allowedTopics is null, which is the default, and decodeRpc's maxSubscriptions = 5000 constrains subscription count per RPC frame rather than the length of topic strings or their aggregate size across frames. The peer-scoring components P1-P7 contain no subscription-volume term, so an attacker's score stays at 0, above the graylistThreshold of −80, and acceptFrom keeps returning true. The upstream fix introduces a per-peer topic-byte budget (maxTopicBytesPerPeer, default 1 MiB) that charges each subscription its topic-string length plus a fixed GossipsubTopicEntryOverhead of 1024 bytes, and refunds the charge on unsubscribe, so the budget bounds roughly 1000 topics per peer; subscriptions beyond the budget are ignored rather than greylisting the peer.
Know when the next one hits your stack
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Unauthenticated remote peer sends unsigned subscription RPCs over the network with no interaction (AV:N/AC:L/PR:N/UI:N); impact is memory-exhaustion DoS only (A:H, C/I:N).
Primary rating from Vendor (github).
CVSS VectorVendor: github
Lifecycle Timeline
2DescriptionCVE.org
libp2p is a JavaScript implementation of the libp2p networking stack. Prior to 17.0.0, the @libp2p/gossipsub default configuration allows a connected remote peer to submit unsigned subscription RPC metadata for arbitrarily many distinct topic strings. handleReceivedSubscription in packages/gossipsub/src/gossipsub.ts creates a persistent topics-map entry for each accepted topic, while allowedTopics is unset by default, decodeRpc maxSubscriptions limits only one RPC rather than aggregate topic bytes, and peer scoring has no subscription-volume penalty. A single peer can therefore grow the topics map and committed heap toward out-of-memory conditions, and disconnecting additionally causes removePeer to scan all accumulated topic entries. This issue is fixed in version 17.0.0.
Blast Radius
ecosystem impact- 2 npm packages depend on @libp2p/gossipsub (1 direct, 1 indirect)
Ecosystem-wide dependent count for version 17.0.0.
Technical POC Analysis
CWE-400 (Uncontrolled Resource Consumption), with CWE-770 (Allocation of Resources Without Limits or Throttling) as the sub-class named in the advisory.
Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.
Latest POC
1 PoC candidate from github (unverified)
Sign in to open the public PoC links collected for this CVE.
Executive ViewAI
A high-severity denial-of-service vulnerability in the @libp2p/gossipsub library (versions before 17.0.0) could allow a remote attacker to crash or severely degrade victim nodes by exhausting memory. This affects any organization relying on libp2p-based peer-to-peer systems, potentially disrupting critical services and causing operational downtime.
Apply vendor patch.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
EUVD-2026-127198
GHSA-x2vm-cf3p-m2w8
NVD
CVE.org
EPSS
Exploit-DB