CVE Catalog

CVE-2026-49866

HighCVSS 7.5
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.45%

36th percentile - higher than 36% of all known CVEs

Summary

A vulnerability in the libp2p JavaScript library prior to version 16.0.0 allowed blocking the Node.js event loop by sending specially crafted IHAVE and IWANT messages. Missing limits in defaultDecodeRpcLimits (maxIhaveMessageIDs and maxIwantMessageIDs set to Infinity) enabled iterating approximately 180,000 message IDs per 4 MB frame, leading to denial of service (DoS).

Risk Assessment

An attacker can remotely halt a Node.js application using libp2p, disrupting processing of other requests and potentially causing complete service unavailability.

Recommendation

Immediately update the @libp2p/gossipsub library to version 16.0.0 or later, which introduces proper limits for IHAVE and IWANT message arrays.

Other vulnerabilities in libp2p

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS