{"schemaVersion":3,"id":"CVE-2026-86040","aliases":[],"status":"published","duplicateOf":null,"title":null,"description":"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.","dates":{"published":"2026-09-17T15:20:40.724Z","modified":"2026-09-17T19:19:11.341Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":7.5,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.0067,"percentile":0.51119,"severity":"low","asOf":"2026-10-20T00:00:00.000Z","change":{"pp":0.29700000000000004,"baselineDate":"2026-09-20T00:00:00.000Z","baselineScore":0.00373},"history":[{"date":"2026-09-18T00:00:00.000Z","score":0.00373,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00373,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00373,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00373,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00373,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00373,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.0067,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.0067,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.0067,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.0067,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.0067,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.0067,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.0067,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.0067,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.0067,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.0067,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.0067,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.0067,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.0067,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.0067,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.0067,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.0067,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.0067,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.0067,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.0067,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.0067,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.0067,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.0067,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.0067,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.0067,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.0067,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.0067,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.0067,"percentile":0.51119}],"last30":[{"date":"2026-09-20T00:00:00.000Z","score":0.00373,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00373,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00373,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00373,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.0067,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.0067,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.0067,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.0067,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.0067,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.0067,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.0067,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.0067,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.0067,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.0067,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.0067,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.0067,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.0067,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.0067,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.0067,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.0067,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.0067,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.0067,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.0067,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.0067,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.0067,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.0067,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.0067,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.0067,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.0067,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.0067,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.0067,"percentile":0.51119}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-400","name":"Uncontrolled Resource Consumption","description":"The product does not properly control the allocation and maintenance of a limited resource.","type":"weakness","status":"Draft","abstraction":"Class","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/400.html"},{"id":"CWE-401","name":"Missing Release of Memory after Effective Lifetime","description":"The product does not sufficiently track and release allocated memory after it has been used, making the memory unavailable for reallocation and reuse.","type":"weakness","status":"Draft","abstraction":"Variant","likelihoodOfExploit":"Medium","url":"https://cwe.mitre.org/data/definitions/401.html"},{"id":"CWE-770","name":"Allocation of Resources Without Limits or Throttling","description":"The product allocates a reusable resource or group of resources on behalf of an actor without imposing any intended restrictions on the size or number of resources that can be allocated.","type":"weakness","status":"Incomplete","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/770.html"}],"affected":[{"vendor":"@libp2p","product":"floodsub","name":"floodsub","label":"floodsub","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 11.0.26","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 11.0.26","eol":null,"hubHref":"/vendor/libp2p/floodsub"},{"vendor":"libp2p","product":"js-libp2p","name":"js-libp2p","label":"js-libp2p","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 11.0.26","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 11.0.26","eol":null,"hubHref":"/vendor/libp2p/js-libp2p"}],"affectedCount":2,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/libp2p/js-libp2p/security/advisories/GHSA-cvfg-hcf3-ggwv","label":"github.com/libp2p/js-libp2p/security/advisories/GHSA-cvfg-hcf3-ggwv","hostname":"github.com","tags":["X Refsource CONFIRM"]},{"url":"https://github.com/libp2p/js-libp2p/pull/3568","label":"github.com/libp2p/js-libp2p/pull/3568","hostname":"github.com","tags":["X Refsource MISC"]},{"url":"https://github.com/libp2p/js-libp2p/commit/fb9e8a76e9ac75924928fae4ce11d00f68320a83","label":"github.com/libp2p/js-libp2p/commit/fb9e8a76e9ac75924928fae4ce11d00f68320a83","hostname":"github.com","tags":["X Refsource MISC"]},{"url":"https://github.com/libp2p/js-libp2p/releases/tag/floodsub-v11.0.26","label":"github.com/libp2p/js-libp2p/releases/tag/floodsub-v11.0.26","hostname":"github.com","tags":["X Refsource MISC"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2026-09-17T15:20:40.724Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-09-17T19:19:11.341Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":30,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-20T21:47:38.724Z","stale":false,"partial":false}}