{"id":"CVE-2026-119793","sourceIdentifier":"security-advisories@github.com","published":"2026-11-17T19:17:46.530","lastModified":"2026-11-18T17:17:29.417","vulnStatus":"Received","cveTags":[],"descriptions":[{"lang":"en","value":"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":[{"source":"security-advisories@github.com","affectedData":[{"vendor":"libp2p","product":"js-libp2p","versions":[{"version":"< 3.3.9","status":"affected"}]},{"vendor":"@libp2p","product":"gossipsub","versions":[{"version":"< 17.0.0","status":"affected"}]}]}],"metrics":{"cvssMetricV31":[{"source":"security-advisories@github.com","type":"Secondary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","baseScore":7.5,"baseSeverity":"HIGH","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"HIGH"},"exploitabilityScore":3.9,"impactScore":3.6}],"ssvcV203":[{"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","ssvcData":{"timestamp":"2026-11-18T16:38:11.478666Z","id":"CVE-2026-119793","options":[{"exploitation":"poc"},{"automatable":"yes"},{"technicalImpact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}]},"weaknesses":[{"source":"security-advisories@github.com","type":"Secondary","description":[{"lang":"en","value":"CWE-400"},{"lang":"en","value":"CWE-770"}]}],"references":[{"url":"https://github.com/libp2p/js-libp2p/commit/d5534174d8b7d23ac1bd45a7e738664fbfb0cf4c","source":"security-advisories@github.com"},{"url":"https://github.com/libp2p/js-libp2p/pull/3593","source":"security-advisories@github.com"},{"url":"https://github.com/libp2p/js-libp2p/releases/tag/gossipsub-v17.0.0","source":"security-advisories@github.com"},{"url":"https://github.com/libp2p/js-libp2p/security/advisories/GHSA-x2vm-cf3p-m2w8","source":"security-advisories@github.com"},{"url":"https://github.com/libp2p/js-libp2p/security/advisories/GHSA-x2vm-cf3p-m2w8","source":"134c704f-9b21-4f2e-91b3-4a467353bcc0"}]}