CVE-2026-35405
HIGHAttack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessConnect to libp2p-rendezvous server
-
DeliverySubmit register requests with unique namespaces
-
ExploitServer allocates memory for each namespace
-
ExecutionRepeat requests in loop
-
PersistExhaust server memory
-
ImpactProcess crashes from OOM
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V2 - Validation and Business Logic Resource allocation limits
MITRE ATT&CK
1 technique across 1 tactic: Impact The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | No special conditions — remote unauthenticated exploitation against any libp2p-rendezvous server. Attacker sends unlimited namespace registration requests over the network, causing out-of-memory denial of service. No authentication, user interaction, or special configuration required. |
| Impact | This vulnerability presents elevated real-world risk despite no confirmed active exploitation (CISA KEV). The CVSS vector (AV:N/AC:L/PR:N/UI:N) indicates trivial exploitation: network-accessible, low complexity, requiring no authentication or user interaction. Publicly available exploit code exists, demonstrated to register 10,000 unique namespaces from a single peer with 100% acceptance rate and measurable memory growth (18MB to 28MB baseline). The attack scales linearly with sybil peers-100 malicious peers yield ~1GB consumption, 1,000 peers cause server termination. SSVC framework signals high priority: exploitation is straightforward and automatable (simple loop construct), technical impact is partial (availability-only denial of service), and the barrier to exploitation is minimal. Rendezvous servers are typically well-known public infrastructure nodes, making them high-value targets where disruption affects entire dependent peer networks. The 72-hour persistence window amplifies impact, as temporary attacks create lasting resource consumption. While EPSS data is unavailable, the combination of public POC, zero authentication requirements, and critical infrastructure role warrants immediate remediation priority for any deployment running libp2p-rendezvous server components. |
| Exploit ScenarioDerived | An attacker identifies a public libp2p rendezvous server by scanning for nodes advertising rendezvous protocol support or through network enumeration of known libp2p deployments. Without requiring any authentication, the attacker connects as a standard libp2p peer and initiates a registration loop, submitting REGISTER requests for sequentially unique namespaces (e.g., 'attack-00000000' through 'attack-00099999'). Each request is accepted, allocating memory for BiMap entries, HashMap records, and heap-allocated futures with 72-hour lifetimes. With publicly available exploit code (rzv-flood.rs POC), a single attacker-controlled peer can exhaust server memory within minutes. Scaling the attack with 100-1,000 sybil peers on commodity infrastructure triggers out-of-memory crashes, rendering the rendezvous server inoperable and disrupting peer discovery for all dependent clients. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Apr 04, 2026
Unbounded namespace registration in libp2p-rendezvous allows remote unauthenticated attackers to trigger out-of-memory conditions on rendezvous servers. The Rust implementation accepts unlimited unique namespace registrations per peer with 72-hour TTLs, enabling resource exhaustion via repeated REGISTER messages. Confirmed publicly available exploit code exists. CVSS 7.5 (High) reflects network accessibility and lack of authentication barriers, while the straightforward attack vector (simple loop of registration requests) presents immediate risk to public rendezvous nodes critical for peer discovery in libp2p networks.
RemediationAI
Apply vendor-released patches by upgrading to fixed versions of libp2p-rendezvous as specified in the GitHub security advisory at https://github.com/libp2p/rust-libp2p/security/advisories/GHSA-cqfx-gf56-8x59. The recommended fix involves adding a max_registrations_per_peer configuration parameter to the Config structure and implementing count validation at the beginning of the Registrations::add() method before allocating memory for new entries. Until patches are applied, implement network-level rate limiting on REGISTER message types per peer IP address, reduce MAX_TTL configuration to minimize resource persistence windows, and monitor rendezvous server memory consumption for anomalous growth patterns. Deploy rendezvous servers behind reverse proxies or load balancers capable of enforcing per-peer connection and request rate limits. For production environments, consider implementing allowlists of trusted peer IDs if the use case permits authenticated rendezvous participation.
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in cargo
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
libp2p-rendezvous implements a peer discovery protocol where nodes register with namespace identifiers on rendezvous servers. The vulnerability resides in the Registrations::add() method within protocols/rendezvous/src/server.rs, which uses a BiMap keyed on (PeerId, Namespace) tuples. While duplicate namespace registrations from the same peer are prevented, the implementation enforces only namespace string length limits (MAX_NAMESPACE = 255 bytes) without any per-peer registration count restrictions. Each unique namespace registration allocates memory across three data structures: registrations_for_peer BiMap, registrations HashMap, and next_expiry FuturesUnordered collection with heap-allocated BoxFuture instances. The 72-hour maximum TTL (MAX_TTL) causes entries to persist even after peer disconnection, as cleanup occurs only upon TTL expiration. This maps to CWE-770 (Allocation of Resources Without Limits or Throttling), a common anti-pattern in network services lacking admission control.
Know when the next one hits your stack
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Primary rating from Vendor (https://github.com/libp2p/rust-libp2p) · only source for this CVE.
CVSS VectorVendor: https://github.com/libp2p/rust-libp2p
Lifecycle Timeline
2DescriptionCVE.org
Summary
Thelibp2p-rendezvous server has no limit on how many namespaces a single peer can register. A malicious peer can repeatedly register unique namespaces in a loop, and the server accepts the requests, allocating memory for each registration without pushback. If an attacker continues submitting malicous requests for long enough, (or with multiple sybil peers) the server process crashes due to OOM.
No auth is required; therefore, any peer on the network can do this.
Details
the bug is in Registrations::add() inside protocols/rendezvous/src/server.rs.
the store uses a BiMap keyed on (PeerId, Namespace) so yes, a peer can't register the *same* namespace twice. but there's nothing stopping it from registering 10,000 *different* namespaces. each unique one gets its own entry in:
registrations_for_peer(BiMap)registrations(HashMap)next_expiry(FuturesUnordered a new heap-allocated BoxFuture per registration)
namespace strings are only validated for length (MAX_NAMESPACE = 255), not count. there's no max_registrations_per_peer anywhere in Config or the rest of the codebase.
making it worse MAX_TTL = 72 hours. so every registration just sits there for up to 3 days. disconnecting doesn't clean anything up either, entries only go away when the TTL fires.
protocols/rendezvous/src/server.rs
└── Registrations::add() ← no per-peer count check anywhere
protocols/rendezvous/src/lib.rs
├── MAX_NAMESPACE = 255 ← length capped, count is not
└── MAX_TTL = 72h ← entries persist a long timefix would be adding something like max_registrations_per_peer to Config and checking it at the top of add() before inserting anything.
PoC
tested on libp2p v0.56.1, built from source.
step 1 - start the rendezvous server (uses the example from the repo):
cargo run --manifest-path examples/rendezvous/Cargo.toml --bin rendezvous-examplestep 2 - run the flood client (attached as rzv-flood.rs):
cargo run --manifest-path examples/rendezvous/Cargo.toml --bin rzv-floodit connects as a single peer and registers 10,000 unique namespaces (flood-00000000 through flood-00009999), chaining each registration on the confirmed Registered event from the previous one.
server accepted every single one. not one rejection.
memory on the server side (via ps aux RSS column):
baseline: ~18 MB
mid flood: ~26 MB
after 10k regs: ~28 MBthat's from one peer. scale to 100 sybil peers doing the same thing and you're looking at ~1GB. 1000 peers and the server is dead.
<img width="1032" height="124" alt="image" src="https://github.com/user-attachments/assets/f778f179-2aa1-4485-940c-25e218733fa8" />
*server RSS climbing during the flood*
<img width="553" height="760" alt="image" src="https://github.com/user-attachments/assets/691b0f52-dda0-443f-a3c2-98c8c6336f2f" />
*10,000 registrations confirmed, zero rejected*
Impact
any node running libp2p-rendezvous server-side is affected. rendezvous servers are typically well-known, publicly reachable nodes taking one down disrupts peer discovery for all clients depending on it. any rust-libp2p based project that deploys a rendezvous point is at risk.
no special position on the network needed. no crypto work. just open a connection and send REGISTER in a loop.
Executive ViewAI
CVE-2026-35405 affects libp2p-rendezvous servers, allowing remote attackers to exhaust memory resources through unlimited namespace registration without authentication, potentially disrupting peer discovery infrastructure for organizations operating libp2p networks. Public exploit code availability accelerates attack feasibility, creating immediate risk for any deployment relying on rendezvous services for distributed application connectivity.
No vendor-released patch identified at time of analysis. Interim mitigations: (1) Implement per-peer registration rate limiting at network/application layer to restrict REGISTER message frequency; (2) Deploy memory utilization monitoring with automated alerting and service restart mechanisms; (3) Configure firewall/load balancer IP-based rate limiting to restrict registration request volume; (4) Restrict rendezvous server network access to trusted peer networks only; (5) Monitor namespace registrations and implement administrative quota enforcement per peer identity.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
GHSA-cqfx-gf56-8x59
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB