CVE-2026-34062 Nimiq has Allocation of Resources Without Limits or Throttling in its libp2p request/response
A remote peer can exhaust resources by keeping substreams open, causing denial of service in Nimiq libp2p nodes.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2026-34062?
CVE-2026-34062 is a medium-severity denial of service vulnerability in nimiq network-libp2p, published on 22 Apr 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
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.
Weakness: CWE-770
Which versions are affected by CVE-2026-34062?
It affects 1 product.
Products include Nimiq Nimiq Proof-of-Stake.
How do I fix CVE-2026-34062?
No fix has been published for CVE-2026-34062 yet. Limit exposure of the affected software until one is available.
Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.
Is CVE-2026-34062 being exploited?
There is no known exploitation of CVE-2026-34062 in the wild and no public exploit code.
Other vulnerabilities in nimiq network-libp2p
- CVE-2026-33471 nimiq-block has skip block quorum bypass via out-of-range BitSet indices & u16 truncation
- CVE-2026-40093 nimiq-blockchain is missing a wall-clock upper bound on block timestamps
- CVE-2026-34063 network-libp2p: Peer can crash the node by opening discovery protocol substream twice
- CVE-2026-34065 nimiq-primitives: Node crash due to missing interlink validation in election macro block proposals
- CVE-2026-32605 Nimiq: Remote crash via off-by-one signer bounds check in proposal buffer
Sources
Also known as GHSA-gh7r-qh4p-q4fr.