CVE-2026-49866
libp2p is a JavaScript Implementation of libp2p networking stack. …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/libp2p/js-libp2p/commit/773dd80ded24dbd6b19e675c89fd2f3b45f2d899
- github.com/libp2p/js-libp2p/pull/3520
- github.com/libp2p/js-libp2p/releases/tag/gossipsub-v16.0.0
- github.com/libp2p/js-libp2p/security/advisories/GHSA-cwc9-cp4j-mcvv
- nvd.nist.gov/vuln/detail/CVE-2026-49866
- github.com/advisories/GHSA-cwc9-cp4j-mcvv
- nvd.nist.gov/vuln/detail/CVE-2026-49866
- cve.org/CVERecord?id=CVE-2026-49866
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.