Home › CVE › JavaScript
CVE-2026-119793 — libp2p js-libp2p
Research article
CVE-2026-119793: libp2p Resource Consumption Vulnerability
| CVE | CVE-2026-119793 |
|---|---|
| Vendor and product | libp2p js-libp2p; @libp2p gossipsub |
| Published | November 19, 2026 03:45 UTC |
| Research cut-off | November 19, 2026 03:20 UTC |
| Sources reviewed | 4: NVD record (last modified 2026-11-18); CISA KEV catalog; GitHub advisory (2026-11-17); FIRST EPSS (2026-11-18) |
Executive summary
allowing a remote peer that is connected to submit subscription metadata without signatures, for an unlimited number of topics, which could exhaust resources [1]. The CVSS 3.1 score is 7.5 HIGH, scored by security-advisories@github.com [1]. The vulnerability affects js-libp2p versions before 3.3.9 and @libp2p/gossipsub versions before 17.0.0 [1]. The reviewed sources do not provide evidence of exploitation [2]. The record gives 17.0.0 as the fixed version for @libp2p/gossipsub [1]; no fixed version is listed for js-libp2p [1].
Key points
- CVE-2026-119793 affects libp2p and @libp2p/gossipsub, enabling unauthenticated peers to submit unlimited subscription metadata [1].
- The CVSS 3.1 score is 7.5 HIGH, scored by security-advisories@github.com [1].
- The vulnerability affects js-libp2p versions before 3.3.9 and @libp2p/gossipsub versions before 17.0.0 [1].
- The reviewed sources do not provide evidence of exploitation [2].
- The record gives 17.0.0 as the fixed version for @libp2p/gossipsub [1]; no fixed version is listed for js-libp2p [1].
Vulnerability identification
| CVE ID | Vendor | Product | CWE | CVSS 3.1 | Published | Last Modified | Record Status |
|---|---|---|---|---|---|---|---|
| CVE-2026-119793 | libp2p | js-libp2p | CWE-400, CWE-770 | 7.5 HIGH, scored by security-advisories@github.com | 2026-11-17T19:17:46 | 2026-11-18T17:17:29 | Received |
Technical background
The sources do not provide details about the internal structure or architecture of the product. The product is identified as libp2p and @libp2p/gossipsub, with no additional technical information provided in the sources.
Vulnerability description
A remote peer can send unsigned subscription metadata for multiple distinct topics, which may cause resource exhaustion and memory issues. This issue was resolved in version 17.0.0 [1].
Root cause analysis
The sources identify the problem as uncontrolled resource usage and lack of limits on resource allocation, as described by CWE-400 and CWE-770 [1].
Technical mechanics
The sources do not elaborate on the technical process of the vulnerability. The flaw is described as a configuration issue in the gossipsub module, allowing uncontrolled submission of subscription metadata [1].
Attack surface and exploitation prerequisites
The CVSS vector indicates that the attack can occur over a network (AV:N), requires no user privileges (PR:N), and no user interaction (UI:N) [1].
Exploitation scenarios and attack lifecycle
The sources do not outline specific exploitation scenarios or attack steps. The record states that the default @libp2p/gossipsub setup lets a remote peer with an active connection send subscription metadata lacking signatures [1].
Impact analysis
The CVSS vector shows no impact on confidentiality (C:N), no impact on integrity (I:N), and a high impact on availability (A:H) [1].
Affected products and versions
| Affected Product | Affected Versions | Fixed Version |
|---|---|---|
| libp2p js-libp2p | < 3.3.9 | not listed |
| @libp2p/gossipsub | < 17.0.0 | 17.0.0 [3] |
Exploitation and threat intelligence status
CVE-2026-119793 is not listed in the CISA KEV catalog as of 2026-11-19 [2]. The EPSS score for this CVE is 0.63%, suggesting a low likelihood of exploitation in the next 30 days [4].
Indicators of compromise
The sources do not provide any indicators of compromise related to this vulnerability.
Detection and exposure assessment
Verify installed versions against the affected versions [1]. Additional steps are general guidance for defenders.
Immediate mitigation
The sources do not specify immediate mitigation steps. General guidance is recommended for defenders.
Permanent remediation
The fixed version for @libp2p/gossipsub is 17.0.0 [3]. No fixed version is listed for libp2p js-libp2p [1].
Workarounds and compensating controls
The sources do not include workarounds or compensating controls. General guidance is recommended for defenders.
Validation and verification
After updating, confirm the installed version and ensure the system is running the fixed version [1].
Incident response
In case of suspected exploitation, general guidance for defenders is recommended.
Security hardening and prevention
General guidance for defenders is suggested to prevent similar vulnerabilities.
Risk assessment
The CVSS 3.1 score is 7.5 HIGH, scored by security-advisories@github.com [1]. The reviewed sources do not report exploitation [2]. The EPSS score is 0.63% [4].
Conclusion
CVE-2026-119793 affects libp2p and @libp2p/gossipsub, allowing unauthenticated peers to submit unlimited subscription metadata, which may lead to resource exhaustion. The vulnerability is fixed in version 17.0.0 for @libp2p/gossipsub. Defenders should update @libp2p/gossipsub and monitor for any signs of exploitation.
Remediation checklist
Evidence gaps
- The sources do not describe the technical mechanics of the vulnerability in detail.
- The sources do not provide specific exploitation scenarios or attack lifecycles.
- The sources do not provide workarounds or compensating controls.
- The sources do not provide indicators of compromise.
- The sources do not provide specific mitigation steps.
References
- CVE-2026-119793 record. NIST National Vulnerability Database (NVD), 2026-11-18. https://nvd.nist.gov/vuln/detail/CVE-2026-119793. Accessed 2026-11-19.
- Known Exploited Vulnerabilities Catalog. Cybersecurity and Infrastructure Security Agency (CISA), 2026-11-19. https://www.cisa.gov/known-exploited-vulnerabilities-catalog. Accessed 2026-11-19.
- GHSA-x2vm-cf3p-m2w8. GitHub Security Advisory Database, 2026-11-17. https://github.com/advisories/GHSA-x2vm-cf3p-m2w8. Accessed 2026-11-19.
- EPSS score for CVE-2026-119793. FIRST, 2026-11-18. https://api.first.org/data/v1/epss?cve=CVE-2026-119793. Accessed 2026-11-19.
Summary
libp2p is a JavaScript implementation of the libp2p networking stack. Prior to 17.0.0, the @libp2p/gossipsub default configuration allows a connected remote peer to submit unsigned subscription RPC metadata for arbitrarily many distinct topic strings. handleReceivedSubscription in packages/gossipsub/src/gossipsub.ts creates a persistent topics-map entry for each accepted topic, while allowedTopics is unset by default, decodeRpc maxSubscriptions limits only one RPC rather than aggregate topic bytes, and peer scoring has no subscription-volume penalty. A single peer can therefore grow the topics map and committed heap toward out-of-memory conditions, and disconnecting additionally causes removePeer to scan all accumulated topic entries. This issue is fixed in version 17.0.0.
Severity breakdown
High · 7.5
An attacker without an account can exploit this over the network, without any user action.
- Attack from
- the network (remotely)
- Attack complexity
- low (no special conditions)
- Login needed
- no
- User action needed
- no
- Scope
- stays within the vulnerable component
- Impact
- high on availability, none on confidentiality and integrity
Weakness
- CWE-400: Uncontrolled Resource Consumption
- CWE-770: Allocation of Resources Without Limits or Throttling
Affected and fixed versions
| Product | Affected versions | Fixed in |
|---|---|---|
| @libp2p/gossipsub (npm) | < 17.0.0 | 17.0.0 |
| libp2p js-libp2p | < 3.3.9 | — |
| @libp2p gossipsub | < 17.0.0 | — |
References by type
Vendor advisories
Patches and fixed releases
- github.com/libp2p/js-libp2p/commit/d5534174d8b7d23ac1bd45a7e738664fbfb0…
- github.com/libp2p/js-libp2p/pull/3593
- github.com/libp2p/js-libp2p/releases/tag/gossipsub-v17.0.0
Other references
Affected
- libp2p js-libp2p
- @libp2p gossipsub
Frequently asked questions
What is CVE-2026-119793?
allowing a remote peer that is connected to submit subscription metadata without signatures, for an unlimited number of topics, which could exhaust resources. The CVSS 3.1 score is 7.5 HIGH, scored by security-advisories@github.com. The vulnerability affects js-libp2p versions before 3.3.9 and @libp2p/gossipsub versions before 17.0.0. The reviewed sources do not provide evidence of exploitation. Weakness type: Uncontrolled Resource Consumption (CWE-400).
How severe is CVE-2026-119793?
CVE-2026-119793 has a CVSS 3.1 base score of 7.5 (high), from the CNA (github.com). An attacker without an account can exploit this over the network, without any user action.
Is CVE-2026-119793 being exploited?
Not as far as is known: CVE-2026-119793 is not in CISA's Known Exploited Vulnerabilities catalog as of November 28, 2026. EPSS estimates a 0.6% chance that it is exploited in the next 30 days.
Which versions are affected by CVE-2026-119793?
@libp2p/gossipsub (npm) < 17.0.0 (fixed in 17.0.0); libp2p js-libp2p < 3.3.9; @libp2p gossipsub < 17.0.0.
How do I fix CVE-2026-119793?
The record lists js-libp2p as affected below 3.3.9 but gives no fixed version for it. Update @libp2p/gossipsub to version 17.0.0, the fixed version listed. Verify the installed version after updating and ensure the system is running the fixed version.
Timeline & sources
References
Related vulnerabilities & news
- Kestra Before 1.3.36 Contains Reflected XSS Vulnerability
- Joomla Extension Vulnerability Allows Stored XSS via Link Validation
- Joomla Extension Vulnerability Allows Stored XSS via Thumbnail Widget
- Joomla Extension Vulnerability Allows Stored XSS in Smart Slider 3
- JTL-Shop Cross-site Scripting Vulnerability in Country Manager Page