Skip to main content
VulnerabilityPublished

CVE-2026-49866: js-libp2p · Unthrottled Resource Allocation

Affects js-libp2pSource CVE Database V5

0
Compare

Not known to be exploited · CVSS 7.5 High : upgrade to 16.0.0 soon.

Data as of 20 Nov 2026, 17:35 UTC

CVSS 3.1 base score
7.5High
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.6% chance of exploitation in 30 days – higher than 51% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 16.0.0
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 8 Jul 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 20 Nov 2026.

What to do

Upgrade js-libp2p to 16.0.0.

Affected software

ProductAffectedFixed in
libp2pjs-libp2pAffected
  • <16.0.0
Fixed in
  • 16.0.0

AI-suggested

Upgrade js-libp2p to version 16.0.0 or later, where the issue is fixed by limiting maxIhaveMessageIDs and maxIwantMessageIDs to prevent unbounded resource allocation. No other mitigation is specified. Patch status is confirmed fixed in 16.0.0.

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.

References

Community reviews

Loading reviews…