CVE-2026-86040
Last modified
CVE-2026-86040 is a high-severity vulnerability rated 7.5/10 on the CVSS scale. libp2p is a JavaScript implementation of the libp2p networking stack. Prior to 11.0.26, @libp2p/floodsub accepts unauthenticated RPC frames on /floodsub/1.0.0 through PeerStreams.attachInboundStream in packages/floodsub/src/peer-streams.ts without protobuf element limits, then processRpc and processRpcSubOpt in packages/floodsub/src/floodsub.ts synchronously process the subscriptions array without a per-frame cap.
Description
libp2p is a JavaScript implementation of the libp2p networking stack. Prior to 11.0.26, @libp2p/floodsub accepts unauthenticated RPC frames on /floodsub/1.0.0 through PeerStreams.attachInboundStream in packages/floodsub/src/peer-streams.ts without protobuf element limits, then processRpc and processRpcSubOpt in packages/floodsub/src/floodsub.ts synchronously process the subscriptions array without a per-frame cap. A single bounded-size frame can decode into millions of empty subscription entries that block the event loop, while hundreds of thousands of unique-topic SUBSCRIBE entries allocate PeerSet objects in this.topics that are not removed after peer removal or stop. Empty entries cause CPU exhaustion but do not grow this.topics; persistent memory growth requires unique topics. The subscription path bypasses message signature validation and the message-only processing queue, allowing a remote peer to cause sustained CPU denial of service, memory exhaustion, out-of-memory termination, and node unavailability. The issue is fixed in version 11.0.26.
Metrics
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| libp2p | js-libp2p | < 11.0.26 |
| @libp2p | floodsub | < 11.0.26 |
References
Timeline
- Published
- Last Modified
- Status
- Received
Frequently Asked Questions
What is CVE-2026-86040?
How severe is CVE-2026-86040?
How do I fix CVE-2026-86040?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-86003CoreDNS is a DNS server written in Go. Prior to 1.14.7, the …7.5
- CVE-2026-8602In ScadaBR version 1.2.0, a Missing Authentication for Criti…9.1
- CVE-2026-8603In ScadaBR version 1.2.0, an OS Command Injection vulnerabil…9.8
- CVE-2026-86038libp2p is a JavaScript implementation of the libp2p networki…7.5
- CVE-2026-86039libp2p is a JavaScript implementation of the libp2p networki…8.2
- CVE-2026-8604In ScadaBR version 1.2.0, a CSRF vulnerability could allow a…8.8
- CVE-2026-86043Skipper is an HTTP router and reverse proxy for service comp…7.5
- CVE-2026-86049Jupyter Server is the backend for Jupyter web applications. …7.1
- CVE-2026-8605In ScadaBR version 1.2.0, a Use of Hard-Coded Credentials vu…9.8
- CVE-2026-8606A Server-Side Request Forgery (SSRF) vulnerability was ident…5.9
- CVE-2026-86060RouterOS contains an argument-handling flaw in the SSH login…9.8
- CVE-2026-8607The Points Management System For Gamification, Ranks, Badges…6.4
Are you affected by CVE-2026-86040?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
