Skip to main content

nimiq-libp2p CVE-2026-34062

| EUVDEUVD-2026-25056 MEDIUM
Allocation of Resources Without Limits or Throttling (CWE-770)
2026-04-22 GitHub_M
5.3
CVSS 3.1 · Vendor: GitHub_M
View

Attack ChainAIDerived

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

  1. Access
    Attacker connects to Nimiq node
  2. Delivery
    Opens 1000 concurrent substreams
  3. Exploit
    Sends partial frames without closing streams
  4. Execution
    Target node's read_to_end() blocks on each stream
  5. Persist
    Stalled streams accumulate and exhaust resources
  6. Impact
    Node becomes unresponsive to legitimate peers

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

The vulnerability requires only that the target node is running nimiq-libp2p version prior to 1.3.0 and is connected to the attacker on the Nimiq libp2p network. No special configuration, feature flag enablement, or non-default settings are required - the vulnerability is inherent to the library's default behavior. The attacker must be able to establish libp2p connections to the target node (which is the normal operational mode for Nimiq nodes); no privileged access or authentication is needed. The attack is limited only by the per-connection resource budget and the attacker's ability to maintain concurrent connections.

Impact

CVSS 5.3 with network vector (AV:N/AC:L/PR:N/UI:N) and low confidentiality/integrity impact but availability impact (A:L) accurately reflects this as a classic resource exhaustion denial of service. EPSS data not provided; however, the attack is trivial to execute - no authentication, no user interaction, and low complexity. The vulnerability affects all Nimiq nodes running libp2p prior to 1.3.0, creating a direct attack surface for anyone running a Nimiq node on the network. The availability impact is bounded (A:L suggests partial degradation rather than complete loss) because the node can still function under attack, but coordinated attacks from multiple malicious peers can cumulatively exhaust resources. KEV status not provided, but the public GitHub advisory and commit fix suggest vendor awareness. Real-world risk is moderate to high for Nimiq network operators because this is a direct remote DoS against any unpatched node, requiring no sophisticated exploitation.

Exploit ScenarioDerived

An attacker operating a malicious Nimiq network peer opens 1000 concurrent substreams to a target node and sends a single partial frame on each without closing the streams. The target node's MessageCodec calls read_to_end() and blocks indefinitely waiting for stream closure. As the attacker repeats this across multiple connections, the target node accumulates thousands of stalled streams, exhausting memory and connection state until legitimate peer traffic is degraded or rejected.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.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 23, 2026

Denial of service in nimiq-libp2p prior to version 1.3.0 allows remote peers to exhaust node resources by sending partial frames on inbound substreams and keeping them open. The vulnerability combines unbounded stream reading via read_to_end() with a high concurrent stream limit of 1000, enabling attackers to accumulate stalled slots and degrade network availability without authentication or user interaction.

RemediationAI

Upgrade nimiq-libp2p to version 1.3.0 or later immediately. The vendor-released patch (commit c021a5337b808c73571b44999f9753051bac7508, tagged as v1.3.0) fixes the unbounded stream reading and concurrent stream limits. Update Cargo.toml or equivalent package manifest to pin nimiq-libp2p >= 1.3.0 and run cargo update. No workarounds are available per the vendor advisory; patching is the only mitigation. Network operators should prioritize this update to prevent exploitation by peers on the Nimiq network.

Affected VersionsENISA

network-libp2p < 1.3.0

Affected Packages

euvd network_libp2p fix: 1.3.0

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

nimiq-libp2p is a Rust-based networking library implementing the Nimiq blockchain protocol atop libp2p. The vulnerability exists in the MessageCodec implementation, specifically in the read_request() and read_response() methods, which call read_to_end() on inbound substreams. This design flaw means the codec will block indefinitely waiting for stream closure when a peer sends a partial frame without completing the transmission. The Behaviour::new() constructor exacerbates this by setting with_max_concurrent_streams(1000), far exceeding libp2p's default concurrency limits. Under CWE-770 (Allocation of Resources Without Limits or Throttling), this allows attackers to accumulate many partially-read streams, consuming connection state and memory until the node becomes unresponsive.

Know when Network Libp2P gets its next vulnerability

  • 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

Vendor (GitHub_M) PRIMARY 5.3 MEDIUM
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

Primary rating from Vendor (GitHub_M) · only source for this CVE.

CVSS VectorVendor: GitHub_M

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

Lifecycle Timeline

3
Patch released
Apr 24, 2026 - 17:11 nvd
Patch available
Patch available
Apr 22, 2026 - 20:32 EUVD
CVE Published
Apr 22, 2026 - 19:23 nvd
MEDIUM 5.3

DescriptionCVE.org

nimiq-libp2p is a Nimiq network implementation based on libp2p. Prior to version 1.3.0, MessageCodec::read_request and read_response call read_to_end() on inbound substreams, so a remote peer can send only a partial frame and keep the substream open. because Behaviour::new also sets with_max_concurrent_streams(1000), the node exposes a much larger stalled-slot budget than the library default. The patch for this vulnerability is formally released as part of v1.3.0. No known workarounds are available.

Threat Intelligence Overview

EPSS Score
0.0%
Top 89% exploitable
Social Media
1
Sightings
Data Quality
6 sources
Confidence: High

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 MEDIUM
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.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· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
Yes
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

26
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +26
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.

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