@libp2p/gossipsub through 17.2.3 contains an uncontrolled resource consumption vulnerability that allows remote peers to grow the metrics…
CVE-2026-142215
@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.
Assessment
- CVSS
- 8.2 (v4.0)
- Severity
- High
- EPSS
- 0% chance of exploitation in the next 30 days
- Known exploited
- Not listed in CISA KEV
- Exploit availability
- Nothing found in Exploit-DB, Metasploit, Nuclei or public PoC repositories
- Published
- 2 December 2026
- Last updated
- 3 December 2026
- Affected
- libp2p · @libp2p/gossipsub
- Weakness
- CWE-770
- Assigner
- disclosure@vulncheck.com
CVSS vectorCVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
At the source
References
- https://github.com/libp2p/js-libp2p/blob/gossipsub-v17.2.3/packages/gossipsub/src/gossipsub.ts#L1103-L1108
- https://github.com/libp2p/js-libp2p/blob/gossipsub-v17.2.3/packages/gossipsub/src/metrics.ts#L709-L711
- https://github.com/libp2p/js-libp2p/blob/gossipsub-v17.2.3/packages/gossipsub/src/metrics.ts#L875-L878
- https://www.vulncheck.com/advisories/libp2p-gossipsub-through-17.2.3-memory-exhaustion-via-unbounded-metric-label-cardinality
Community proofs of concept
No community proof of concept yet. If you have one for a published vulnerability and the right to share it, add it below — it will appear here once reviewed.
Submit a proof of concept
Only for publicly disclosed vulnerabilities, and only material from testing you were authorised to perform. This platform does not buy, sell, or broker exploits — see earning from vulnerability research for legitimate bounty programs. Submissions are reviewed before they appear. Text only; do not include live credentials, personal data, or anything targeting systems you are not permitted to test.
Query this programmatically
Agents can read this through the MCP endpoint, or over HTTP:
curl https://cve.zerocrew.in/api/cve/CVE-2026-142215