SCA: security update for @libp2p/gossipsub (GHSA-cwc9-cp4j-mcvv)

high Tenable Self-Hosted Container Security Plugin ID 444618

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- 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. (CVE-2026-49866)

Solution

Update the @libp2p/gossipsub library and its related packages to version 16.0.0 or later.

See Also

https://github.com/advisories/GHSA-cwc9-cp4j-mcvv

Plugin Details

Severity: High

ID: 444618

Version: Revision 1.1

Type: Local

Family: SCA Checks

Published: 7/10/2026

Updated: 7/10/2026

Risk Information

VPR

Risk Factor: Low

Score: 3

Percentile: 23.75

Vendor

Vendor Severity: High

CVSS v2

Risk Factor: High

Base Score: 7.8

Temporal Score: 5.8

Vector: CVSS2#AV:N/AC:L/Au:N/C:N/I:N/A:C

CVSS Score Source: CVE-2026-49866

CVSS v3

Risk Factor: High

Base Score: 7.5

Temporal Score: 6.5

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 7/10/2026

Vulnerability Publication Date: 7/8/2026

Reference Information

CVE: CVE-2026-49866