CVE-2026-119793

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.
Configurations

No configuration.

History

18 Nov 2026, 17:17

Type Values Removed Values Added
References () https://github.com/libp2p/js-libp2p/security/advisories/GHSA-x2vm-cf3p-m2w8 - () https://github.com/libp2p/js-libp2p/security/advisories/GHSA-x2vm-cf3p-m2w8 -

17 Nov 2026, 19:17

Type Values Removed Values Added
New CVE

Information

Published : 2026-11-17 19:17

Updated : 2026-11-18 17:17


NVD link : CVE-2026-119793

Mitre link : CVE-2026-119793

CVE.ORG link : CVE-2026-119793


JSON object : View

Products Affected

No product.

CWE
CWE-400

Uncontrolled Resource Consumption

CWE-770

Allocation of Resources Without Limits or Throttling