CVE-2026-46539
MEDIUM 5.9CVSS 3.1nimiq-primitives: BlockInclusionProof interlink issue when hops are empty
Nimiq 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.
- Published
- 10 Jun 2026
- Last modified
- 23 Jul 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Deferred
- Weakness
- CWE-345
- Also known as
- GHSA-799f-29jm-gr6c
- Sources
- NVDJSONOSV GHSA-799f-29jm-gr6cJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | MEDIUM 5.9 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.9 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | crates.io | nimiq-primitives | <= 0.2.0 |
References
- https://github.com/nimiq/core-rs-albatross/pull/3705 · WEB
- https://github.com/nimiq/core-rs-albatross/releases/tag/v1.4.0 · WEB
- https://github.com/nimiq/core-rs-albatross/security/advisories/GHSA-799f-29jm-gr6c · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-46539 · ADVISORY
- https://github.com/nimiq/core-rs-albatross/commit/cc5a1d54bbbffd1ea975bd2ee87d5f7b3b30bbf1 · WEB
- https://github.com/nimiq/core-rs-albatross · PACKAGE
History
- 25 Nov 2026 21:03 UTC · NVD: first stored (published 10 Jun 2026)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 21 May 2026)