{"items":[{"id":"NVI-00018405","kind":"vulnerability","title":"js-libp2p: Memory DoS via subscription flood of unique topics","revision":1,"unknowns":["Customer inventory, deployment, reachability and exploitation have not been inspected."],"lifecycle":"active","identifiers":["GHSA-4f8r-922h-2vgv","CVE-2026-46679"],"plain_summary":"GitHub lists this reviewed advisory for @libp2p/gossipsub. Published version ranges and source prerequisites are shown below; this is not an inspection of a visitor’s application.","review_status":"source_listed","control_topics":[],"public_actions":[{"summary":"Identify the exact component and deployed version, examine the linked publisher’s conditions, and retain evidence of any mitigation.","source_ids":["sr-1e815499ffc01881e0a37c77ca7f9ea1"],"action_type":"investigate","limitations":"Confirm current vendor support, compatibility and deployment evidence. This report has not tested a fix in your system.","current_supported_target":null}],"schema_version":"1.1.0","source_metrics":[{"kind":"CVSS","as_of":"2026-06-11T14:06:23.000Z","value":"7.5 high","meaning":"GitHub source severity; exploitability and local consequence require separate evidence.","source_id":"sr-1e815499ffc01881e0a37c77ca7f9ea1"}],"why_it_matters":"Published affected context helps an owner decide what evidence to gather. This report has not examined your application.","related_sources":[{"id":"sr-1e815499ffc01881e0a37c77ca7f9ea1","url":"https://github.com/advisories/GHSA-4f8r-922h-2vgv","basis":"vendor_advisory","notes":"GitHub Advisory Database; CC-BY-4.0. Each advisory links its original attribution. Null normalizes fields.","title":"GHSA-4f8r-922h-2vgv","publisher":"GitHub Advisory Database","observed_at":"2026-11-06T15:13:13.153Z"}],"affected_context":[{"certainty":"source_listed","source_ids":["sr-1e815499ffc01881e0a37c77ca7f9ea1"],"technology":"@libp2p/gossipsub","known_exclusions":[],"conditions_summary":"### Summary\nThree cooperating omissions in `@libp2p/gossipsub` allow an unauthenticated single peer to exhaust the Node.js heap of any gossipsub node with default options.\n\n1. **`defaultDecodeRpcLimits.maxSubscriptions = Infinity`** (`packages/gossipsub/src/message/decodeRpc.ts:11`): no decode-level cap on subscription entries per RPC.\n2. **`handleReceivedSubscription` is unbounded** (`gossipsub.ts:1009-1021`): every unique topic string creates a new `Map` entry + `Set` object in `this.topics` with no per-peer count limit.\n3. **`removePeer` leaves empty Sets** (`gossipsub.ts:782-784`): after peer disconnect, empty Sets are never deleted from `this.topics` thus memory is non-reclaimable within the process lifetime.\n\nA single 4MB LP frame carries 349,525 unique topic SUBSCRIBE entries. Each frame causes ~89MB of heap growth (~22x amplification). A Node.js process with a 1.5GB heap limit crashes after ~17 such frames (~68MB total attacker bandwidth, achievable in ~5 seconds at 100Mbps).\n\n### Details\n#### Defect 1: `defaultDecodeRpcLimits.maxSubscriptions = Infinity` (`message/decodeRpc.ts:11`)\n\n```typescript                                                                              ","public_affected_ranges":["<= 15.0.22"]}],"null_published_at":"2026-11-07T07:07:39.833Z","source_updated_at":"2026-06-11T14:06:23.000Z","source_disclosed_at":"2026-05-21T21:38:40.000Z","is_synthetic_fixture":false,"null_last_reviewed_at":null,"public_change_summary":"First indexed by Null; source disclosure date is shown separately.","null_first_observed_at":"2026-11-06T15:13:13.153Z"}],"next_cursor":null,"snapshot_revision":"42594"}