Vulnerability · Published Apr 13, 2026 · Assigned by GitHub_M
CVE-2026-34069nimiq-consensus panics via RequestMacroChain micro-block locator
Medium 5.3
In plain English
A medium-severity security flaw in core-rs-albatross from nimiq. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 22% of all known vulnerabilities).
Official 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 (as reported)
| Vendor | Product | Versions |
|---|---|---|
| nimiq | core-rs-albatross | < 1.3.0 |
Weakness: CWE-617 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
References
- https://github.com/nimiq/core-rs-albatross/security/advisories/GHSA-48m6-486p-9j8p x_refsource_CONFIRM
- https://github.com/nimiq/core-rs-albatross/pull/3660 x_refsource_MISC
- https://github.com/nimiq/core-rs-albatross/commit/ae6c1e92342e72f80fd12accbe66ee80dd6802ac x_refsource_MISC
- https://github.com/nimiq/core-rs-albatross/releases/tag/v1.3.0 x_refsource_MISC