nimiq-blockchain: Genesis batch set request
Moderate severity
GitHub Reviewed
Published
May 15, 2026
in
nimiq/core-rs-albatross
•
Updated May 21, 2026
Description
Published to the GitHub Advisory Database
May 21, 2026
Reviewed
May 21, 2026
Last updated
May 21, 2026
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_chunkswhich iterates backwards through macro blocks usingPolicy::macro_block_before. When it reaches the genesis block number,macro_block_beforepanics 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.
References