CVE-2026-34062 Nimiq has Allocation of Resources Without Limits or Throttling in its libp2p request/response

Medium 5.3 Published Updated

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.

Sources

Also known as GHSA-gh7r-qh4p-q4fr.

Is CVE-2026-34062 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free