NewApp Monitoring is liveSign up free
AgentbeamBeta
Open-source package vulnerability · Rust (crates.io)

CVE-2026-34069: nimiq-consensus panics via RequestMacroChain micro-block locator

mediumCVSS 3.1 5.3GHSA-48m6-486p-9j8p

Impact An unauthenticated p2p peer can cause the RequestMacroChain message handler task to panic by sending a RequestMacroChain message where the first locator hash that is on the victim’s main chain is a micro block hash (not a macro block hash).

Published Apr 13, 2026 · Updated Apr 15, 2026

Affected packages

nimiq-consensus

Ecosystem
Rust (crates.io)
Affected
<= 1.2.2
Fixed in
No patched version yet
Check
cargo tree -i nimiq-consensus

Advisory details

From the GitHub Advisory Database (CC BY 4.0).

Impact

An unauthenticated p2p peer can cause the RequestMacroChain message handler task to panic by sending a RequestMacroChain message where the first locator hash that is on the victim’s main chain is a micro block hash (not a macro block hash).

In RequestMacroChain::handle, the handler selects the locator based only on "is on main chain", then calls get_macro_blocks() and panics via .unwrap() when the selected hash is not a macro block (BlockchainError::BlockIsNotMacro).

Patches

The patch for this vulnerability](https://github.com/nimiq/core-rs-albatross/pull/3660) is formally released as part of v1.3.0.

Workarounds

No known workarounds.

Credited to jsdanielh, 1seal.

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology