Skip to main content

@libp2p/gossipsub EUVDEUVD-2026-141615

| CVE-2026-142215 HIGH
Allocation of Resources Without Limits or Throttling (CWE-770)
2026-12-02 VulnCheck GHSA-jrqr-9qgh-3w5p
8.2
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Peer with target gossipsub node
  2. Delivery
    Send messages with unique arbitrary topics
  3. Exploit
    Pre-validation metric labels registered
  4. Execution
    Registry grows unbounded time series
  5. Impact
    Node.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.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

@libp2p/gossipsub 0 ≤17.2.3

Affected Packages

euvd libp2p_gossipsub no fix

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

Vendor (VulnCheck) PRIMARY 8.2 HIGH
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
vuln.today AI 5.9 MEDIUM

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.

3.1 AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
4.0 AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
High
Attack Requirements
Present
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
None
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

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.

Executive ViewAI

Why It Matters

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.

Business Impact: High
Compensating Controls

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

Prevalence
Medium
widely-used js-libp2p pubsub library in decentralized/Node.js p2p stacks, not universal
Data Quality
3 sources
Confidence: Low

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS N/A
Patch available No
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact
High

Priority Score

41
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +41
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

CVE-2025-68613 HIGH POC
8.8 Dec 19

Remote code execution in n8n's workflow expression evaluation system allows an authenticated user with workflow creation

CVE-2024-41713 CRITICAL POC
9.1 Oct 21

A vulnerability in the NuPoint Unified Messaging (NPM) component of Mitel MiCollab through 9.8 SP1 FP2 (9.8.1.201) could

CVE-2024-55591 CRITICAL POC
9.8 Jan 14

FortiOS and FortiProxy contain an authentication bypass via the Node.js websocket module allowing unauthenticated remote

CVE-2023-44487 HIGH POC
7.5 Oct 10

Denial of service against HTTP/2 server implementations allows remote unauthenticated attackers to exhaust server resour

CVE-2014-7205 CRITICAL POC
10.0 Oct 08

Eval injection vulnerability in the internals.batch function in lib/batch.js in the bassmaster plugin before 1.5.2 for t

CVE-2025-59528 CRITICAL POC
10.0 Sep 22

Flowise version 3.0.5 contains a remote code execution vulnerability in the CustomMCP node. The mcpServerConfig paramete

CVE-2017-14849 HIGH POC
7.5 Sep 28

Node.js 8.5.0 before 8.6.0 allows remote attackers to access unintended files, because a change to ".." handling was inc

CVE-2017-5941 CRITICAL POC
9.8 Feb 09

An issue was discovered in the node-serialize package 0.0.4 for Node.js. Rated critical severity (CVSS 9.8), this vulner

CVE-2014-0224 HIGH POC
7.4 Jun 05

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

CVE-2014-3744 HIGH POC
7.5 Oct 23

Directory traversal vulnerability in the st module before 0.2.5 for Node.js allows remote attackers to read arbitrary fi

CVE-2014-9566 HIGH POC
7.5 Mar 10

Multiple SQL injection vulnerabilities in the Manage Accounts page in the AccountManagement.asmx service in the Solarwin

CVE-2024-35286 CRITICAL POC
9.8 Oct 21

A vulnerability in NuPoint Messenger (NPM) of Mitel MiCollab through 9.8.0.33 allows an unauthenticated attacker to cond

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy