Skip to content
Threat Feed
low advisory

libp2p: @libp2p/gossipsub denial-of-service (CVE-2026-119793)

The @libp2p/gossipsub library prior to version 17.0.0 is vulnerable to heap exhaustion and resource depletion, allowing a remote peer to trigger out-of-memory conditions via excessive, unsigned subscription metadata submissions.

CVE search metadata

CVE search record: CVE-2026-119793. Severity: high. CVSS: 7.5. KEV: no. Product: @libp2p/gossipsub. Brief: libp2p: @libp2p/gossipsub denial-of-service (CVE-2026-119793). Brief link: https://feed.craftedsignal.io/briefs/2026-11-libp2p-dos-cve-2026-119793/

Triage facts

Revision 1
Applicability
@libp2p/gossipsub
Evidence
Unknown
Severity
Low
Sources
2 public sources
Freshness
Revision 1Nov 17, 20:44 UTC
Vulnerabilities
1 CVE
Source quality
A1Likely

Overview

The @libp2p/gossipsub package is vulnerable to a denial-of-service (DoS) condition. The default configuration allows a connected remote peer to submit unsigned subscription RPC metadata for arbitrarily many distinct topic strings. The library's handleReceivedSubscription function creates a persistent topics-map entry for each accepted topic. Because the allowedTopics field is unset by default, the decodeRpc maxSubscriptions limit only applies to a single RPC rather than the aggregate topic bytes, and peer scoring lacks a subscription-volume penalty.

Attack Chain

A single remote peer can grow the topics-map and committed heap toward out-of-memory (OOM) conditions. Additionally, the removePeer function performs a resource-intensive scan of all accumulated topic entries when a peer disconnects.

Impact

Successful exploitation results in high availability impact, including potential out-of-memory crashes and significant CPU usage during peer disconnection processes.

Recommendation

Upgrade the @libp2p/gossipsub dependency to version 17.0.0 or later.

Threat Hunt

Identify abnormal growth in gossipsub topic subscriptions and monitor for recurring out-of-memory events or high CPU spikes correlated with peer disconnection events.

T1499 high medium confidence hunt now

Data: libp2p application logs, process memory usage, process CPU utilization, gossipsub subscription metadata