// Security Advisory Triage

libp2p gossipsub creates unbounded topics map on distinct subscriptions

GitHub advisories — npm · published 2026-11-18 07:32 UTC
ACTION NEEDED PATCH_NOW SECURITY
WHAT CHANGEDCVE-2026-119793 published 17 November 2026 for @libp2p/gossipsub. The default configuration creates a permanent topics-map entry for each distinct subscription with no cap, rated high severity. First patched version is 17.0.0.
WHY IT MATTERSAn attacker can exhaust memory by sending subscriptions with unique topic names, causing denial of service. The map grows without bound in the default configuration.
WHAT TO DOUpgrade @libp2p/gossipsub to 17.0.0 or later. If you cannot upgrade immediately, verify whether your application accepts gossipsub subscriptions from untrusted peers.
Model-reported confidence 85% (not measured accuracy) Primary source ↗ written by anthropic/claude-sonnet-4.5
Show the reasoning — raw diff, triage verdict, confidence
RAW DIFF
+ghsa_id: GHSA-x2vm-cf3p-m2w8
+summary: libp2p: gossipsub creates a permanent topics-map entry per distinct subscription with no cap in the default config
+severity: high
+published_at: 2026-11-17T21:06:20Z
+cve_id: CVE-2026-119793
+vulnerabilities[].package.name: @libp2p/gossipsub
+vulnerabilities[].first_patched_version: 17.0.0
HOW IT WAS JUDGED
Triage signals below are model-reported assertions, preserved verbatim; they are not independent arithmetic verification.
triage verdictMATERIAL at 0.72, needed 0.5
triage reasoninglibp2p gossipsub is a networking dependency in distributed systems and blockchain infrastructure. High severity with patch available.
signalsnpm package advisory · high severity rating · known CVE assigned · first patched version specified · libp2p is a peer-to-peer networking library in common use
suppression—
triage modelanthropic/claude-haiku-4.5 ($0.00000)
writer modelanthropic/claude-sonnet-4.5 ($0.00000)