Skip to main content

CVE-2026-35457

HIGH
Allocation of Resources Without Limits or Throttling (CWE-770)
2026-04-04 https://github.com/libp2p/rust-libp2p GHSA-v5hw-cv9c-rpg7
8.2
CVSS 3.1 · GitHub Advisory
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Send DISCOVER requests to rendezvous server
  2. Exploit
    Generate pagination cookies without bounds
  3. Execution
    HashMap grows indefinitely
  4. Impact
    Memory exhaustion causes denial of service

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

Remote unauthenticated attacker can exploit this by sending repeated DISCOVER requests to the rendezvous server over the network. No authentication, user interaction, or special configuration required. Default configurations are vulnerable.

Impact

This represents a high-priority denial-of-service risk for exposed rendezvous servers. The CVSS score of 8.2 accurately reflects real-world risk due to network attack vector (AV:N), low complexity (AC:L), no privileges required (PR:N), and no user interaction (UI:N). The high availability impact (A:H) with low integrity impact (I:L) aligns with memory exhaustion leading to service disruption. Attack complexity is genuinely low because the vulnerability is triggered by standard protocol messages without exploitation tricks or race conditions. The unauthenticated attack vector is particularly concerning for public rendezvous nodes that must accept connections from untrusted peers by design. While no confirmed active exploitation exists (not in CISA KEV), the technical barrier is minimal and proof-of-concept code exists in maintainer repositories. This is automatable and requires no target-specific reconnaissance. Organizations running libp2p-rendezvous servers exposed to the internet face immediate risk and should prioritize remediation. The low integrity impact reflects potential cookie eviction affecting legitimate pagination, but availability disruption is the primary concern.

Exploit ScenarioDerived

An attacker identifies a publicly accessible libp2p rendezvous server through network scanning or by observing peer discovery traffic in a decentralized network. The attacker writes a simple script that establishes multiple connections and sends thousands of DISCOVER requests per second, each triggering cookie generation and HashMap insertion. Because no authentication is required and the protocol accepts these as legitimate requests, the server's memory consumption grows linearly with attack volume. Within minutes to hours depending on server resources and attack intensity, the rendezvous server exhausts available memory, triggering out-of-memory failures and crashing the service or forcing the operating system to kill the process. This disrupts peer discovery for all legitimate users of the network, potentially fragmenting the decentralized network or isolating nodes that depend on this rendezvous point for bootstrapping.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Apr 04, 2026

Memory exhaustion in libp2p-rendezvous allows unauthenticated attackers to cause denial-of-service via unbounded pagination cookie storage. Remote attackers can repeatedly send protocol-compliant DISCOVER requests to force unlimited HashMap growth without authentication or rate limiting. No public exploit identified at time of analysis, though proof-of-concept exists in maintainer-controlled fork. EPSS data not available for this newly-assigned CVE; CVSS 8.2 reflects high availability impact with low attack complexity.

RemediationAI

Upgrade libp2p-rendezvous to the patched version specified in the GitHub Security Advisory at github.com/libp2p/rust-libp2p/security/advisories/GHSA-v5hw-cv9c-rpg7 and github.com/advisories/GHSA-v5hw-cv9c-rpg7. Exact fixed version numbers are not provided in the available data; consult the advisory for specific version requirements. As interim mitigations if immediate patching is not feasible, implement network-layer rate limiting on connections to rendezvous servers, restrict rendezvous server exposure to trusted networks only, or deploy resource monitoring with automatic service restart on memory threshold violations. The maintainers proposed three potential fix approaches: global cap with FIFO eviction, stateless authenticated cookies, or per-peer rate limiting. Production deployments should verify which approach was implemented in the released patch and confirm memory consumption patterns return to bounded behavior under load testing with repeated DISCOVER requests.

Affected Packages

cargo libp2p-rendezvous fix: 0.17.1

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

The vulnerability exists in the libp2p-rendezvous Rust implementation, specifically in the rendezvous server's pagination mechanism. When processing DISCOVER messages from peers, the server generates pagination cookies and stores them in an unbounded HashMap mapping Cookie to HashSet<RegistrationId>. Each DISCOVER request triggers cookie generation and insertion into Registrations::cookies without any eviction policy, maximum size limit, or expiration mechanism. This is a classic CWE-770 (Allocation of Resources Without Limits or Throttling) vulnerability in a peer-to-peer networking protocol. The rendezvous protocol in libp2p allows peers to discover other peers; the pagination feature was designed to handle large result sets but lacks resource consumption controls. The affected package is pkg:rust/libp2p-rendezvous, part of the broader libp2p networking stack used in decentralized applications and blockchain infrastructure.

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

GitHub Advisory PRIMARY 8.2 HIGH
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H

Primary rating from GitHub Advisory · only source for this CVE.

CVSS VectorGitHub Advisory

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
Low
Availability
High

Lifecycle Timeline

2
Patch released
Apr 04, 2026 - 08:30 nvd
Patch available
CVE Published
Apr 04, 2026 - 06:34 nvd
HIGH 8.2

DescriptionGitHub Advisory

Summary

The rendezvous server stores pagination cookies without bounds. An unauthenticated peer can repeatedly issue DISCOVER requests and force unbounded memory growth.

Details

Pagination state is stored in:

rs
HashMap<Cookie, HashSet<RegistrationId>>

On Message::Discover:

remote peer
→ DISCOVER
→ handle_request
→ registrations.get(...)
→ new cookie generated
→ cookie inserted into Registrations::cookies

There is no upper bound or eviction policy, so repeated DISCOVER requests grow this map indefinitely.

PoC

A reproduction test and minimal harness will be provided in a private fork in a follow-up comment.

Impact

Remote state amplification leading to memory exhaustion.

Properties:

  • etwork reachable
  • no authentication required
  • low attack complexity
  • protocol-compliant traffic

Impacts rendezvous nodes exposed to untrusted peers. ---

Possible Fixes

  1. Global cap + eviction

Bound cookie storage (MAX_COOKIES_TRACKED) with FIFO/expiry aware eviction. Tradeoff: attacker can churn cookies and evict legitimate pagination state.

  1. Stateless cookies

Encode pagination state in authenticated cookies instead of storing server-side state. Tradeoff: more complex implementation.

  1. Rate limiting / per-peer quotas

Limit cookie creation per peer. Tradeoff: requires peer tracking.

Executive ViewAI

Why It Matters

CVE-2026-35457 is a high-severity denial-of-service vulnerability in libp2p-rendezvous that allows unauthenticated remote attackers to exhaust server memory through unbounded pagination cookie storage, potentially disrupting peer-to-peer network services that depend on this library. Organizations using libp2p-rendezvous in production environments face risk of service unavailability without immediate mitigation, as no vendor patch is currently available.

Business Impact: High
Compensating Controls

Implement request rate limiting and connection throttling on DISCOVER protocol messages; restrict rendezvous node network exposure to trusted peer segments; deploy memory monitoring and automated service restart triggers; consider temporary disabling of rendezvous functionality if not critical to operations until patch availability.

Threat Intelligence Overview

EPSS Score
0.0%
Top 88% exploitable
Threat Intel
1
1 source
Data Quality
5 sources
Confidence: Medium
NVD CVE.org EPSS Vulnrichment GHSA GitHub

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Out-of-Cycle
Exploitation
Poc
System Exposure· derived
Open
Automatable
Yes
Human Impact
High
Technical Impact
Partial

Priority Score

41
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +41
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

Affected Products (CPE)GitHub Advisory

pkg:rust/libp2p-rendezvous

Related Vulnerabilities in libp2p-rendezvous DoS Vulnerabilities

View all 2

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy