npm
CVE-2026-142214
@libp2p/gossipsub through 17.2.3 Prototype Pollution via __proto__ Topic in Peer Scoring
- Severity
- Medium 6.3
- Published
- 2 Dec 2026
- Last changed
- 2 Dec 2026
- Added to UpHeron
- 2 Dec 2026
- Weakness
- Prototype pollution (CWE-1321)
- Attack
- Over the network · Only under certain conditions · No login needed · No user action needed
- Attacker can
- Change some data
- CVSS vector
CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N- Sources
- CVE Program
Description
@libp2p/gossipsub through 17.2.3 contains a prototype pollution vulnerability in PeerScore that allows remote gossipsub peers to modify Object.prototype by sending messages on the proto topic. Attackers can send invalid or valid messages on that topic to set inherited invalidMessageDeliveries or firstMessageDeliveries properties to NaN across the victim Node.js process.
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-142215@libp2p/gossipsub through 17.2.3 Memory Exhaustion via Unbounded Metric Label CardinalityHigh 8.2 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-142214