All vulnerabilities

npm

CVE-2026-142215

@libp2p/gossipsub through 17.2.3 Memory Exhaustion via Unbounded Metric Label Cardinality

Severity
High 8.2
Published
2 Dec 2026
Last changed
2 Dec 2026
Added to UpHeron
2 Dec 2026
Weakness
Allocation without limits (CWE-770)
Attack
Over the network · Only under certain conditions · No login needed · No user action needed
Attacker can
Take it down
CVSS vector
CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
Sources
CVE Program

Description

@libp2p/gossipsub through 17.2.3 contains an uncontrolled resource consumption vulnerability that allows remote peers to grow the metrics registry by sending messages with arbitrary topics when metrics are enabled. Attackers can send messages with unbounded distinct topic strings, creating never-removed labelled time series before validation, to exhaust Node.js process memory.

From the CVE Program.

Affected software

SoftwareAffected versions
@libp2p/gossipsubnpm · osv:npm:@libp2p/gossipsub
  • Every version up to 17.2.3

About @libp2p/gossipsub

Weekly downloads (npm)
33,579npm, 1 Dec 2026

Vulnerabilities in @libp2p/gossipsub

In our list
3
Published in the last 12 months
3
Critical, last 12 months
0
High, last 12 months
2
Known exploited
0
Search the list for @libp2p/gossipsub

References

  • CVE.org https://www.cve.org/CVERecord?id=CVE-2026-142215