nimiq-blockchain: Genesis batch set request
nimiq core-rs-albatross
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| nimiq-blockchain crates.io |
|
|
Original description
Nimiq is a Rust implementation of the Nimiq Proof-of-Stake protocol based on the Albatross consensus algorithm. Prior to version 1.5.0, 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". This issue has been patched in version 1.5.0.
From the CVE record · GitHub_M
References
- github.com/nimiq/core-rs-albatross/security/advisories/GHSA-vghx-352f-93jm
- github.com/nimiq/core-rs-albatross/pull/3745
- github.com/nimiq/core-rs-albatross/releases/tag/v1.5.0
- github.com/CVEProject/cvelistV5/tree/main/cves/2026/46xxx/CVE-2026-46543.json
- nvd.nist.gov/vuln/detail/CVE-2026-46543
- github.com/nimiq/core-rs-albatross/commit/8e8b0abdb1b66f5e9b25b3833879f05c173a5596
- github.com/nimiq/core-rs-albatross