{"id":"CVE-2026-86040","sourceIdentifier":"security-advisories@github.com","published":"2026-09-17T16:18:17.250","lastModified":"2026-09-24T21:19:05.340","vulnStatus":"Awaiting Analysis","cveTags":[],"descriptions":[{"lang":"en","value":"libp2p is a JavaScript implementation of the libp2p networking stack. Prior to 11.0.26, @libp2p/floodsub accepts unauthenticated RPC frames on /floodsub/1.0.0 through PeerStreams.attachInboundStream in packages/floodsub/src/peer-streams.ts without protobuf element limits, then processRpc and processRpcSubOpt in packages/floodsub/src/floodsub.ts synchronously process the subscriptions array without a per-frame cap. A single bounded-size frame can decode into millions of empty subscription entries that block the event loop, while hundreds of thousands of unique-topic SUBSCRIBE entries allocate PeerSet objects in this.topics that are not removed after peer removal or stop. Empty entries cause CPU exhaustion but do not grow this.topics; persistent memory growth requires unique topics. The subscription path bypasses message signature validation and the message-only processing queue, allowing a remote peer to cause sustained CPU denial of service, memory exhaustion, out-of-memory termination, and node unavailability. The issue is fixed in version 11.0.26."}],"affected":[{"source":"security-advisories@github.com","affectedData":[{"vendor":"libp2p","product":"js-libp2p","versions":[{"version":"< 11.0.26","status":"affected"}]},{"vendor":"@libp2p","product":"floodsub","versions":[{"version":"< 11.0.26","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-09-17T17:06:11.592901Z","id":"CVE-2026-86040","options":[{"exploitation":"none"},{"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-401"},{"lang":"en","value":"CWE-770"}]}],"references":[{"url":"https://github.com/libp2p/js-libp2p/commit/fb9e8a76e9ac75924928fae4ce11d00f68320a83","source":"security-advisories@github.com"},{"url":"https://github.com/libp2p/js-libp2p/pull/3568","source":"security-advisories@github.com"},{"url":"https://github.com/libp2p/js-libp2p/releases/tag/floodsub-v11.0.26","source":"security-advisories@github.com"},{"url":"https://github.com/libp2p/js-libp2p/security/advisories/GHSA-cvfg-hcf3-ggwv","source":"security-advisories@github.com"}]}