Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessPeer with target gossipsub node
-
DeliverySend messages with unique arbitrary topics
-
ExploitPre-validation metric labels registered
-
ExecutionRegistry grows unbounded time series
-
ImpactNode.js heap exhausted, process crash
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V2 - Validation and Business Logic Resource allocation 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 | Exploitation requires that metrics are enabled on the gossipsub instance (per the description, 'when metrics are enabled') - this is the explicit prerequisite and the AT:P attack requirement; a node running with metrics disabled is not affected. The attacker must be a remote peer able to send messages to the node, and the abuse relies on sending an unbounded number of messages carrying distinct/arbitrary topic strings so that labelled time series are created before validation. No authentication is required (PR:N), but the input CVSS also reflects elevated complexity (AC:H) and the attack requirement, so success depends on the metrics-enabled deployment mode rather than a default configuration. Impact is limited to availability (process memory exhaustion / crash); no confidentiality or integrity effect. |
| Impact | This is a CWE-770 uncontrolled resource consumption (memory exhaustion) denial-of-service issue in @libp2p/gossipsub through 17.2.3. The input CVSS 4.0 vector (AV:N/AC:H/AT:P/PR:N/UI:N) scores 8.2 and models a network-reachable, unauthenticated attacker whose success depends on an attack requirement (AT:P) and elevated complexity (AC:H) - consistent with the description's precondition that metrics must be enabled and that topic strings create labelled time series before validation. Impact is availability-only (VA:H; VC:N/VI:N) - there is no confidentiality or integrity exposure, so the 8.2 is driven entirely by a single-dimension DoS, which is why the real-world priority is lower than the headline number suggests. Supporting signals are thin: there is no CISA KEV listing (status: no confirmed active exploitation), no EPSS probability supplied, and no PoC/exploit reference in the input - only source-code links and the VulnCheck advisory. The vuln.today decision label is 'this_week' rather than act_now/emergency, aligning with a patch-promptly posture rather than an incident. Net: a genuine, credibly reported DoS worth remediating, but gated by a non-default prerequisite (metrics enabled) and limited to availability; EPSS and KEV data are absent, so widespread automated exploitation is not evidenced. |
| Exploit ScenarioDerived | An attacker who can peer with a gossipsub node that has metrics enabled sends a stream of messages each advertising a distinct, arbitrary topic string. Because a labelled metric time series is created for each unique topic before message validation discards it, the metrics registry grows without bound and eventually exhausts the Node.js process heap, crashing the service. No public exploit code is identified in the provided data; the attack requires the AT:P condition (metrics enabled) and succeeds at AC:H complexity. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Dec 02, 2026
Memory exhaustion in @libp2p/gossipsub through version 17.2.3 allows remote peers to drive a Node.js process out of memory by sending gossipsub messages carrying arbitrary, unbounded topic strings while metrics are enabled. Because labelled time series for those topics are created before validation and are never removed, each distinct topic string permanently adds cardinality to the metrics registry, so sustained traffic with unique topics grows memory without bound and can crash the node. Impact is availability only (no confidentiality or integrity effect), the attack is unauthenticated over the network but has a high complexity rating and an explicit attack requirement: instances running with metrics disabled are not affected. No public exploit code or active exploitation is identified in the available data, and no vendor-released patch is listed at time of analysis.
RemediationAI
No vendor-released patch is identified in the available data and no fixed version is listed, so operators should track the js-libp2p gossipsub repository and the VulnCheck advisory (https://www.vulncheck.com/advisories/libp2p-gossipsub-through-17.2.3-memory-exhaustion-via-unbounded-metric-label-cardinality) for a patched release and upgrade when one is published. The one mitigation directly supported by the evidence is to disable gossipsub metrics on nodes through 17.2.3, since the flaw only manifests when metrics are enabled; the trade-off is loss of topic-level observability and alerting for those nodes. Because the vulnerable label registration occurs before topic validation, there is no topic-filtering or validation-based control described in the available sources that would bound the cardinality, and the impact is confined to availability (process memory exhaustion and crash).
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
js-libp2p's gossipsub implementation is a Node.js pubsub router for libp2p networks, and its metrics module (packages/gossipsub/src/metrics.ts) exposes labelled counters/observables keyed by message topic. CWE-770 (Allocation of Resources Without Limits or Throttling) applies because the metric label set is derived from attacker-supplied topic strings and is not bounded: entries are registered early in message handling, before topic validation in gossipsub.ts, and are never garbage-collected, so the registry grows monotonically with the number of distinct topics seen. In Prometheus-style metrics backends, each unique label combination is a separate time series, so unbounded topic cardinality translates directly into unbounded process heap growth in Node.js. The prerequisite is the metrics-enabled deployment mode (reflected as AT:P, with AC:H in the assessed vector); PR:N means no authentication is needed from a peer able to deliver messages, and the resulting impact is purely availability (A:H with C:N/I:N). The supplied references point at the vulnerable code paths in the gossipsub-v17.2.3 tag rather than a fix, so the trigger mechanism is documented but the corrective change is not described in the available data.
Know when Node.js gets its next vulnerability
- 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
CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
Remote peer, no auth (PR:N/AV:N); metrics-enabled prerequisite and pre-validation growth raise complexity (AC:H); impact is availability-only memory exhaustion, so C:N/I:N/A:H.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
DescriptionCVE.org
@libp2p/gossipsub through 17.2.3 contains an uncontrolled resource consumption vulnerability that allows remote peers to grow the metrics registry by sending messages with arbitrary topics when metrics are enabled. Attackers can send messages with unbounded distinct topic strings, creating never-removed labelled time series before validation, to exhaust Node.js process memory.
Articles & Coverage 1
Executive ViewAI
CVE-2026-142215 is a high-severity availability vulnerability in the @libp2p/gossipsub library that can cause Node.js processes to crash when metrics are enabled, affecting any service relying on this peer-to-peer messaging component. Leadership should prioritize remediation for production environments using @libp2p/gossipsub with metrics enabled, as a remote attacker could disrupt service availability, though the attack requires specific conditions and no exploitation has been observed.
Disable metrics on affected @libp2p/gossipsub instances as an interim mitigation; restrict network access to trusted peers; monitor memory usage for anomalies.
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.
Remote code execution in n8n's workflow expression evaluation system allows an authenticated user with workflow creation
A vulnerability in the NuPoint Unified Messaging (NPM) component of Mitel MiCollab through 9.8 SP1 FP2 (9.8.1.201) could
FortiOS and FortiProxy contain an authentication bypass via the Node.js websocket module allowing unauthenticated remote
Denial of service against HTTP/2 server implementations allows remote unauthenticated attackers to exhaust server resour
Eval injection vulnerability in the internals.batch function in lib/batch.js in the bassmaster plugin before 1.5.2 for t
Flowise version 3.0.5 contains a remote code execution vulnerability in the CustomMCP node. The mcpServerConfig paramete
Node.js 8.5.0 before 8.6.0 allows remote attackers to access unintended files, because a change to ".." handling was inc
An issue was discovered in the node-serialize package 0.0.4 for Node.js. Rated critical severity (CVSS 9.8), this vulner
OpenSSL before 0.9.8za, 1.0.0 before 1.0.0m, and 1.0.1 before 1.0.1h does not properly restrict processing of ChangeCiph
Directory traversal vulnerability in the st module before 0.2.5 for Node.js allows remote attackers to read arbitrary fi
Multiple SQL injection vulnerabilities in the Manage Accounts page in the AccountManagement.asmx service in the Solarwin
A vulnerability in NuPoint Messenger (NPM) of Mitel MiCollab through 9.8.0.33 allows an unauthenticated attacker to cond
EUVD-2026-141615
GHSA-jrqr-9qgh-3w5p
NVD
CVE.org
Exploit-DB