Resource exhaustion in Libp2p Js-Libp2p
CVE-2026-49866
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.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H.
EPSS exploit prediction
EPSS: 0.006 (48.6th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 49th percentile — 48.6% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.006 · newest: 0.006 · change: 0.000
Affected products
- Libp2p Js-Libp2p — versions < 16.0.0
Weakness classification (CWE)
References
Frequently asked questions
- What is CVE-2026-49866?
- CVE-2026-49866 is a high-severity vulnerability in Libp2p Js-Libp2p, classified under Allocation of Resources Without Limits or Throttling. CVSS score: 7.5/10. Published 2026-07-08.
- How severe is CVE-2026-49866?
- High severity. CVSS v3 base score is 7.5 out of 10.