CVE-2026-119793
Published:November 17, 2026
Updated:November 23, 2026
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.
Affected Packages
https://github.com/libp2p/js-libp2p.git (GITHUB):
Affected version(s) >=gossipsub-v15.0.0 <gossipsub-v17.0.0 || >=gossipsub-v16.0.0 <gossipsub-v17.0.0Fix Suggestion:
Update to version gossipsub-v17.0.0@libp2p/gossipsub (NPM):
Affected version(s) =16.1.1-47cf9cdc1 <17.0.0 || >=16.0.0-b7c6dc0f2 <17.0.0 || >=14.1.1 <17.0.0 || >=15.0.0 <17.0.0Fix Suggestion:
Update to version 17.0.0Related ResourcesĀ (7)
Do you need more information?
Contact UsCVSS v4
Base Score:
8.7
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
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
CVSS v3
Base Score:
7.5
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Weakness Type (CWE)
EPSS
Base Score:
0.62