CVE-2026-46679: CWE-20: Improper Input Validation in libp2p js-libp2p
Affects libp2p js-libp2pSource CVE Database V5
Not known to be exploited · CVSS 7.5 High · fixed in 15.0.23 : patch libp2p js-libp2p soon.
Data as of 10/25/2026, 04:40:12 UTC
- Exploitation
Not in CISA KEV, no exploitation reported
- EPSS
- 0.4% chance of exploitation in 30 days – higher than 38% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 15.0.23
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HWhat to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| libp2pjs-libp2p | Affected
| Fixed in
|
AI-suggested
A fix is available in js-libp2p version 15.0.23. Users should upgrade to version 15.0.23 or later to remediate this vulnerability. No additional mitigation guidance or temporary workarounds are provided in the vendor advisory.
Description
libp2p is a JavaScript Implementation of libp2p networking stack. Prior to version 15.0.23, three cooperating omissions in @libp2p/gossipsub allow an unauthenticated single peer to exhaust the Node.js heap of any gossipsub node with default options. This issue has been patched in version 15.0.23.
Impact
An unauthenticated attacker can remotely cause a denial of service by exhausting the Node.js heap memory of a gossipsub node running vulnerable versions of js-libp2p. There is no impact on confidentiality or integrity reported. The attack affects availability by crashing or severely degrading the performance of the affected node.
Weaknesses
- CWE-20Improper Input Validation (opens in a new tab)
Class weaknessLikelihood of exploit: HighCWE Top 25 (2025): #18OWASP Top 10 A05:2025: Injection (opens in a new tab)
The product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly.
MITRE discourages mapping vulnerabilities to this broad entry; the root cause is usually a more specific weakness.
- CWE-400Uncontrolled Resource Consumption (opens in a new tab)
Class weaknessLikelihood of exploit: High
The product does not properly control the allocation and maintenance of a limited resource.
MITRE discourages mapping vulnerabilities to this broad entry; the root cause is usually a more specific weakness.
- CWE-401Missing Release of Memory after Effective Lifetime (opens in a new tab)
Variant weaknessLikelihood of exploit: Medium
The product does not sufficiently track and release allocated memory after it has been used, making the memory unavailable for reallocation and reuse.