5.3medium
nimiq-blockchain: Genesis batch set request
- Severity
- 5.3medium CVSS:3.1 by GitHub_M
- Exploit likelihood
- 0.29% (higher than 23% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
- Also known as
- GHSA-vghx-352f-93jm
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| nimiq core-rs-albatross | < 1.5.0 | CVE List |
| nimiq-blockchain (crates.io) | before 1.5.0 | GitHub Advisory Database |
All scores
| GitHub_M | 5.3medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |
| GitHub | 5.3medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |
Classification
SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial.
What each source says
CVE List
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.
GitHub Advisory Database
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.
NVD (es)
Nimiq es una implementación en Rust del protocolo Nimiq Proof-of-Stake basado en el algoritmo de consenso Albatross. Antes de la versión 1.5.0, un par remoto puede bloquear cualquier nodo completo enviando un mensaje RequestBatchSet que contiene el hash del bloque génesis. El gestor llama a get_epoch_chunks, que itera hacia atrás a través de los macro bloques usando Policy::macro_block_before. Cuando alcanza el número de bloque génesis, macro_block_before entra en pánico con 'No hay macro bloques antes del bloque génesis'. Este problema ha sido parcheado en la versión 1.5.0.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-46543 changed 2026-06-10 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-vghx-352f-93jm changed 2026-06-10 | CC-BY-4.0 |
| NVD | CVE-2026-46543 changed 2026-07-23 | Public domain |