{"id":"CVE-2026-49866","revision":"796bdcf7a6c1470baa175eacce9b2e89","records":[{"revision":"796bdcf7a6c1470baa175eacce9b2e89","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2026-49866","aliases":[],"title":"libp2p: CPU DoS via oversized IHAVE and IWANT control message arrays","description":"libp2p is a JavaScript Implementation of libp2p networking stack. Prior to 16.0.0, @libp2p/gossipsub defaultDecodeRpcLimits set maxIhaveMessageIDs and maxIwantMessageIDs to Infinity, allowing oversized IHAVE and IWANT control message arrays in message/decodeRpc.ts and gossipsub.ts to synchronously iterate roughly 180,000 message IDs per 4 MB frame and block the Node.js event loop. This issue is fixed in version 16.0.0.","state":0,"publishedAt":"2026-07-08T20:47:09.051+00:00","modifiedAt":"2026-07-09T14:40:44.919+00:00","affected":[{"ecosystem":"Vendor product","name":"js-libp2p","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"vendor\": \"libp2p\",\n                    \"product\": \"js-libp2p\",\n                    \"versions\": [\n                        {\n                            \"version\": \"< 16.0.0\",\n                            \"status\": \"affected\"\n                        }\n                    ]\n                }"}],"metrics":[{"system":"CVSS 3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"severity":"HIGH"}],"references":["https://github.com/libp2p/js-libp2p/security/advisories/GHSA-cwc9-cp4j-mcvv","https://github.com/libp2p/js-libp2p/pull/3520","https://github.com/libp2p/js-libp2p/commit/773dd80ded24dbd6b19e675c89fd2f3b45f2d899","https://github.com/libp2p/js-libp2p/releases/tag/gossipsub-v16.0.0"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-49866","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-49866","identifiers":["CVE-2026-49866"]},"retained":false,"historicalAffected":[]}],"coverage":[]}