CVE-2026-34069 PUBLISHED

nimiq-consensus panics via RequestMacroChain micro-block locator

Assigner: GitHub_M
Reserved: 25.03.2026 Published: 13.04.2026 Updated: 13.04.2026

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.

Metrics

CVSS Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
CVSS Score: 5.3

Product Status

Vendor nimiq
Product core-rs-albatross
Versions
  • Version < 1.3.0 is affected

References

Problem Types

  • CWE-617: Reachable Assertion CWE