CVE-2026-34069 nimiq-consensus panics via RequestMacroChain micro-block locator
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: yes · technical impact: partial
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.
Upgrade path
3 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| crates.io nimiq-consensus(crates.io) | <= 1.2.2 | after 1.2.2 | Fixed |
| nimiq proof-of-stake | < 1.3.0 | 1.3.0 | Fixed |
| nimiq core-rs-albatross | = < 1.3.0 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| nimiq core-rs-albatross | = < 1.3.0 | No fix listed |
| crates.io nimiq-consensus(crates.io) | <= 1.2.2 | No fix listed |
| nimiq proof-of-stake | < 1.3.0 | 1.3.0 |
References
- https://github.com/nimiq/core-rs-albatross/security/advisories/GHSA-48m6-486p-9j8p patch vendor-advisory
- https://github.com/nimiq/core-rs-albatross/pull/3660 issue-tracking patch
- https://github.com/nimiq/core-rs-albatross/commit/ae6c1e92342e72f80fd12accbe66ee80dd6802ac patch
- https://github.com/nimiq/core-rs-albatross/releases/tag/v1.3.0 release-notes
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com product
- github.com