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 getepochchunks which iterates backwards through macro blocks using Policy::macroblockbefore. When it reaches the genesis block number, macroblockbefore panics with "No macro blocks before genesis block".
Published May 21, 2026 · Updated Jun 10, 2026
Affected packages
nimiq-blockchain
- Ecosystem
- Rust (crates.io)
- Affected
- < 1.5.0
- Fixed in
- 1.5.0
- Check
cargo tree -i nimiq-blockchain
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
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.
Credited to Piravlos.
References
- https://github.com/nimiq/core-rs-albatross/security/advisories/GHSA-vghx-352f-93jm
- https://github.com/nimiq/core-rs-albatross/pull/3745
- https://github.com/nimiq/core-rs-albatross/commit/8e8b0abdb1b66f5e9b25b3833879f05c173a5596
- https://github.com/nimiq/core-rs-albatross/releases/tag/v1.5.0
- https://nvd.nist.gov/vuln/detail/CVE-2026-46543
- https://github.com/advisories/GHSA-vghx-352f-93jm
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
