CVE-2026-46539
JSON

5.9medium

nimiq-primitives: BlockInclusionProof interlink issue when hops are empty

Severity
5.9medium CVSS:3.1 by GitHub_M
Exploit likelihood
0.15% (higher than 4% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M
Also known as
GHSA-799f-29jm-gr6c

Description

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.

Affected

Product or packageVersionsReported by
nimiq core-rs-albatross< 1.4.0CVE List
nimiq-primitives (crates.io)up to 0.2.0GitHub Advisory Database

All scores

GitHub_M5.9medium CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N
GitHub5.9medium CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N

Classification

CWE-345

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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.

GitHub Advisory Database
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.

NVD (es)

Nimiq es una implementación en Rust del protocolo Nimiq de Prueba de Participación basado en el algoritmo de consenso Albatross. Antes de la versión 1.4.0, una falla lógica en BlockInclusionProof::is_block_proven hace que la función devuelva verdadero sin realizar ninguna verificación criptográfica cuando get_interlink_hops produce una lista de saltos vacía. Esto ocurre cuando el bloque objetivo está en la posición del bloque de elección inmediatamente anterior a la época del election head. Un atacante que proporciona pruebas de inclusión de transacciones puede falsificar un encabezado de MacroBloque para esa posición de época y hacer que sea aceptado como 'probado' sin ninguna verificación de hash o firma. Este problema ha sido parcheado en la versión 1.4.0.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-46539 changed 2026-06-10CVE Terms of Use
GitHub Advisory DatabaseGHSA-799f-29jm-gr6c changed 2026-06-10CC-BY-4.0
NVDCVE-2026-46539 changed 2026-07-23Public domain