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
- 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.
Affected software
| Software | Affected versions |
|---|---|
@libp2p/gossipsubnpm · osv:npm:@libp2p/gossipsub |
|
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
- CVE-2026-142214@libp2p/gossipsub through 17.2.3 Prototype Pollution via __proto__ Topic in Peer ScoringMedium 6.3 2 Dec 2026
- CVE-2026-119793libp2p: gossipsub creates a permanent topics-map entry per distinct subscription with no cap in the default configHigh 7.5 17 Nov 2026
References
- CVE.org https://www.cve.org/CVERecord?id=CVE-2026-142215