GitHub Advisoryadvisory · crates.io
GHSA-48m6-486p-9j8p nimiq-consensus panics via RequestMacroChain micro-block locator
MEDIUM
Official page ↗
- Aliases
- CVE-2026-34069
- Ecosystem
- crates.io
- Packages
- nimiq-consensus
- Severity
- Moderate
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
- Weaknesses
- CWE-617
- Reviewed
- 2026-04-13
Affected packages
• crates.io nimiq-consensus: <= 1.2.2 (no fix yet)
Description
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.
Related
Alias · CVE (1)
- CVE-2026-34069 nimiq/core-rs-albatross is a Rust implementation of the Nimiq Proof-of-Stake protocol based on the Albatross consensus algorithm. vulnerability
Weakness · CWE (1)
- CWE-617 Reachable Assertion weakness
References
- https://github.com/nimiq/core-rs-albatross/security/advisories/GHSA-48m6-486p-9j8p web
- https://nvd.nist.gov/vuln/detail/CVE-2026-34069 advisory
- https://github.com/nimiq/core-rs-albatross/pull/3660 web
- https://github.com/nimiq/core-rs-albatross/commit/ae6c1e92342e72f80fd12accbe66ee80dd6802ac web
- https://github.com/nimiq/core-rs-albatross package
- https://github.com/nimiq/core-rs-albatross/releases/tag/v1.3.0 web