Advisory

GHSA-vghx-352f-93jm

Also known as: CVE-2026-46543

Summary

nimiq-blockchain: Genesis batch set request

Details

Impact
A remote peer can crash any full node by sending a RequestBatchSet message containing the genesis block's hash. The handler calls get_epoch_chunks which iterates backwards through macro blocks using Policy::macro_block_before. When it reaches the genesis block number, macro_block_before panics with "No macro blocks before genesis block".

Patches
The patch for this vulnerability is formally released as part of v1.5.0.

Workarounds
No Workaround, although requesting the genesis batch set is not used during normal operation.

Resources
See PR.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2026-05-21 19:46 UTC
Modified
2026-06-10 13:45 UTC

Affected packages and fixes

nimiq-blockchain

crates.io · All systems

Affected

  • introduced 0, fixed 1.5.0 (semver)

Fixed versions

1.5.0

Fix

  • Fixed version 1.5.0
    cargo update -p nimiq-blockchain --precise 1.5.0

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