~ / search / GHSA-799f-29jm-gr6c

GHSA-799f-29jm-gr6c

nimiq-primitives: BlockInclusionProof interlink issue when hops are empty

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

Packages

EcosystemPackageAffectedFixed in
crates.io nimiq-primitives <= 0.2.0 no fix listed

Details

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

### Impact A logic flaw in `BlockInclusionProof::is_block_proven` causes the function to return true without performing any cryptographic verification when `get_interlink_hops` yields an empty hop list. This occurs when the target block is at the election block position immediately preceding the election head's epoch. An attacker providing transaction inclusion proofs can forge a MacroBlock header for that epoch position and have it accepted as "proven" without any hash or signature verification. ### Patches [The patch for this vulnerability](https://github.com/nimiq/core-rs-albatross/pull/3705) is formally released as part of [v1.4.0](https://github.com/nimiq/core-rs-albatross/releases/tag/v1.4.0). ### Workarounds No Workarounds ### Resources See [PR](https://github.com/nimiq/core-rs-albatross/pull/3705).

References

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