nimiq-primitives: BlockInclusionProof interlink issue when hops are empty
Moderate severity
GitHub Reviewed
Published
May 15, 2026
in
nimiq/core-rs-albatross
•
Updated May 21, 2026
Description
Published to the GitHub Advisory Database
May 21, 2026
Reviewed
May 21, 2026
Last updated
May 21, 2026
Impact
A logic flaw in
BlockInclusionProof::is_block_provencauses the function to return true without performing any cryptographic verification whenget_interlink_hopsyields 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 is formally released as part of v1.4.0.
Workarounds
No Workarounds
Resources
See PR.
References