nimiq-primitives: BlockInclusionProof interlink issue when hops are empty
cve-program · CVE-2026-46539
PublishedNimiq is a Rust implementation of the Nimiq Proof-of-Stake protocol based on the Albatross consensus algorithm. Prior to version 1.4.0, 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. This issue has been patched in version 1.4.0.
Read the publisher's advisoryeuvd · EUVD-2026-35880
PublishedNimiq is a Rust implementation of the Nimiq Proof-of-Stake protocol based on the Albatross consensus algorithm. Prior to version 1.4.0, 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. This issue has been patched in version 1.4.0.
Read the publisher's advisorynvd · CVE-2026-46539
PublishedNimiq is a Rust implementation of the Nimiq Proof-of-Stake protocol based on the Albatross consensus algorithm. Prior to version 1.4.0, 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. This issue has been patched in version 1.4.0.
Read the publisher's advisoryosv · GHSA-799f-29jm-gr6c
Published### 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).
Read the publisher's advisoryAffected versions, risk and source history
Related advisories and sources
Publishers link these advisories through the identifiers shown below. A shared identifier or date alone does not tell you whether your software is affected or whether the advisories describe the same cause.
CVE-2026-46539 · CVE overview and exploitation status
cve-program · CVE-2026-46539
- https://github.com/nimiq/core-rs-albatross/security/advisories/GHSA-799f-29jm-gr6c
- https://github.com/nimiq/core-rs-albatross/pull/3705
- https://github.com/nimiq/core-rs-albatross/releases/tag/v1.4.0
euvd · EUVD-2026-35880
- https://github.com/nimiq/core-rs-albatross/security/advisories/GHSA-799f-29jm-gr6c
- https://github.com/nimiq/core-rs-albatross/pull/3705
- https://github.com/nimiq/core-rs-albatross/releases/tag/v1.4.0
nvd · CVE-2026-46539
- https://github.com/nimiq/core-rs-albatross/pull/3705
- https://github.com/nimiq/core-rs-albatross/releases/tag/v1.4.0
- https://github.com/nimiq/core-rs-albatross/security/advisories/GHSA-799f-29jm-gr6c
osv · GHSA-799f-29jm-gr6c
- https://github.com/nimiq/core-rs-albatross/security/advisories/GHSA-799f-29jm-gr6c
- https://nvd.nist.gov/vuln/detail/CVE-2026-46539
- https://github.com/nimiq/core-rs-albatross/pull/3705
- https://github.com/nimiq/core-rs-albatross/commit/cc5a1d54bbbffd1ea975bd2ee87d5f7b3b30bbf1
- https://github.com/nimiq/core-rs-albatross
- https://github.com/nimiq/core-rs-albatross/releases/tag/v1.4.0
Related changes
Linked by CVE identifierNo related changes are available here.