Advisory

GHSA-48m6-486p-9j8p

Also known as: CVE-2026-34069

Summary

nimiq-consensus panics via RequestMacroChain micro-block locator

Details

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.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2026-04-13 16:36 UTC
Modified
2026-04-15 21:04 UTC

Affected packages and fixes

nimiq-consensus

crates.io · All systems

Affected

  • introduced 0, last affected 1.2.2 (semver)

Fixed versions

None listed

Fix

No fixed version is listed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences