NewApp Monitoring is liveSign up free
AgentbeamBeta
Open-source package vulnerability · Rust (crates.io)

CVE-2026-46539: nimiq-primitives: BlockInclusionProof interlink issue when hops are empty

mediumCVSS 3.1 5.9GHSA-799f-29jm-gr6c

Impact A logic flaw in BlockInclusionProof::isblockproven causes the function to return true without performing any cryptographic verification when getinterlinkhops yields an empty hop list. This occurs when the target block is at the election block position immediately preceding the election head's epoch.

Published May 21, 2026 · Updated Jun 10, 2026

Affected packages

nimiq-primitives

Ecosystem
Rust (crates.io)
Affected
<= 0.2.0
Fixed in
No patched version yet
Check
cargo tree -i nimiq-primitives

Advisory details

From the GitHub Advisory Database (CC BY 4.0).

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 is formally released as part of v1.4.0.

Workarounds

No Workarounds

Resources

See PR.

Credited to 1seal.

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology

More Rust (crates.io) vulnerabilities

All Rust (crates.io) entries