Skip to content
OpenAdvisories
Medium · 5.3 CVE-2026-34069 EUVD-2026-22160GHSA-48m6-486p-9j8p

nimiq-consensus panics via RequestMacroChain micro-block locator

Published Apr 13, 2026 · Updated Apr 14, 2026 · Assigned by GitHub_M

Description

nimiq/core-rs-albatross is a Rust implementation of the Nimiq Proof-of-Stake protocol based on the Albatross consensus algorithm. In versions 1.2.2 and below, an unauthenticated p2p peer can cause the RequestMacroChain message handler task to panic. Sending a RequestMacroChain message where the first locator hash on the victim’s main chain is a micro block hash (not a macro block hash) causes said panic. The RequestMacroChain::handle 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). This issue has been fixed in version 1.3.0.

Affected products

VendorProductAffectedFixed
nimiq core-rs-albatross < 1.3.0 —

Affected packages

EcosystemPackageAffectedFixedRecord
crates.io nimiq-consensus <= 1.2.2 — GHSA-48m6-486p-9j8p

References