medium5.3
CVE-2026-46543
Nimiq is a Rust implementation of the Nimiq Proof-of-Stake protocol based on the Albatross consensus algorithm.
Impact
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.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| rust | nimiq-blockchain | < 1.5.0 | 1.5.0 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/advisories/GHSA-vghx-352f-93jm
- 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