nimiq-blockchain
Affected
- introduced
0, fixed1.5.0(semver)
Fixed versions
1.5.0
Fix
- Fixed version
1.5.0cargo update -p nimiq-blockchain --precise 1.5.0
Advisory
Also known as: CVE-2026-46543
nimiq-blockchain: Genesis batch set request
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.
Medium Basis: The source's own band: MODERATE
0, fixed 1.5.0 (semver)1.5.0
1.5.0cargo update -p nimiq-blockchain --precise 1.5.0Fix 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
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0