GitHub Advisoryadvisory · crates.io
GHSA-vghx-352f-93jm nimiq-blockchain: Genesis batch set request
MEDIUM
Official page ↗
- Aliases
- CVE-2026-46543
- Ecosystem
- crates.io
- Packages
- nimiq-blockchain
- Severity
- Moderate
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
- Weaknesses
- CWE-617
- Reviewed
- 2026-05-21
Affected packages
• crates.io nimiq-blockchain: < 1.5.0 → fixed in 1.5.0
Description
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.
Related
Alias · CVE (1)
- CVE-2026-46543 Nimiq is a Rust implementation of the Nimiq Proof-of-Stake protocol based on the Albatross consensus algorithm. vulnerability
Weakness · CWE (1)
- CWE-617 Reachable Assertion weakness
References
- https://github.com/nimiq/core-rs-albatross/security/advisories/GHSA-vghx-352f-93jm web
- https://nvd.nist.gov/vuln/detail/CVE-2026-46543 advisory
- https://github.com/nimiq/core-rs-albatross/pull/3745 web
- https://github.com/nimiq/core-rs-albatross/commit/8e8b0abdb1b66f5e9b25b3833879f05c173a5596 web
- https://github.com/nimiq/core-rs-albatross package
- https://github.com/nimiq/core-rs-albatross/releases/tag/v1.5.0 web