CVE-2026-49866
Beschrijving NL
libp2p is een JavaScript-implementatie van libp2p-netwerkstack. Voorafgaand aan 16.0.0 heeft @libp2p/gossipsub standaardDecodeRpcLimits maxIhaveMessageID's en maxIwantMessageID's ingesteld op Infinity, waardoor overmaatse Ihave- en IWANT-controleberichtarrays in message/decodeRpc.ts en gossipsub.ts ongeveer 180.000 bericht-ID's per 4 MB frame synchroon kunnen herhalen en de Node.js event loop kunnen blokkeren. Dit probleem is opgelost in versie 16.0.0.
Origineel (Engels) tonen
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.