~ / search / GHSA-vghx-352f-93jm

GHSA-vghx-352f-93jm

nimiq-blockchain: Genesis batch set request

Source: GitHub Advisory Database (reviewed) Moderate CVE-2026-46543

Packages

EcosystemPackageAffectedFixed in
crates.io nimiq-blockchain < 1.5.0 1.5.0

Details

As written in the advisory (Markdown source, shown as plain text).

### 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](https://github.com/nimiq/core-rs-albatross/pull/3745) is formally released as part of [v1.5.0](https://github.com/nimiq/core-rs-albatross/releases/tag/v1.5.0). ### Workarounds No Workaround, although requesting the genesis batch set is not used during normal operation. ### Resources See [PR](https://github.com/nimiq/core-rs-albatross/pull/3745).

References

External links from the advisory. They lead to third-party sites.