CVE-2026-33471
JSON

9.6critical

nimiq-block has skip block quorum bypass via out-of-range BitSet indices & u16 truncation

Severity
9.6critical CVSS:3.1 by GitHub_M
Exploit likelihood
0.22% (higher than 13% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M
Also known as
GHSA-6973-8887-87ff

Description

nimiq-block contains block primitives to be used in Nimiq's Rust implementation. `SkipBlockProof::verify` computes its quorum check using `BitSet.len()`, then iterates `BitSet` indices and casts each `usize` index to `u16` (`slot as u16`) for slot lookup. Prior to version 1.3.0, if an attacker can get a `SkipBlockProof` verified where `MultiSignature.signers` contains out-of-range indices spaced by 65536, these indices inflate `len()` but collide onto the same in-range `u16` slot during aggregation. This makes it possible for a malicious validator with far fewer than `2f+1` real signer slots to pass skip block proof verification by multiplying a single BLS signature by the same factor. The patch for this vulnerability is included as part of v1.3.0. No known workarounds are available.

Affected

Product or packageVersionsReported by
nimiq nimiq-block< 1.3.0CVE List
nimiq-block (crates.io)before 1.7.2GitHub Advisory Database
nimiq nimiq_proof-of-stakebefore 1.3.0NVD

All scores

GitHub_M9.6critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:H
GitHub9.6critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:H

Classification

CWE-20CWE-190CWE-345CWE-1284

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

What each source says

CVE List

nimiq-block contains block primitives to be used in Nimiq's Rust implementation. `SkipBlockProof::verify` computes its quorum check using `BitSet.len()`, then iterates `BitSet` indices and casts each `usize` index to `u16` (`slot as u16`) for slot lookup. Prior to version 1.3.0, if an attacker can get a `SkipBlockProof` verified where `MultiSignature.signers` contains out-of-range indices spaced by 65536, these indices inflate `len()` but collide onto the same in-range `u16` slot during aggregation. This makes it possible for a malicious validator with far fewer than `2f+1` real signer slots to pass skip block proof verification by multiplying a single BLS signature by the same factor. The patch for this vulnerability is included as part of v1.3.0. No known workarounds are available.

GitHub Advisory Database
Impact

SkipBlockProof::verify computes its quorum check using BitSet.len(), then iterates BitSet indices and casts each usize index to u16 (slot as u16) for slot lookup. If an attacker can get a SkipBlockProof verified where MultiSignature.signers contains out-of-range indices spaced by 65536, these indices inflate len() but collide onto the same in-range u16 slot during aggregation.

This makes it possible for a malicious validator with far fewer than 2f+1 real signer slots to pass skip block proof verification by multiplying a single BLS signature by the same factor.

Patches

The patch for this vulnerability is included as part of v1.3.0.

Workarounds

No known workarounds.

NVD (es)

nimiq-block contiene primitivas de bloque para ser utilizadas en la implementación de Nimiq en Rust. SkipBlockProof::verify calcula su verificación de quórum usando BitSet.len(), luego itera los índices de BitSet y convierte cada índice usize a u16 (slot as u16) para la búsqueda de slot. Antes de la versión 1.3.0, si un atacante puede lograr que se verifique un SkipBlockProof donde MultiSignature.signers contiene índices fuera de rango espaciados por 65536, estos índices inflan len() pero colisionan en el mismo slot u16 dentro del rango durante la agregación. Esto hace posible que un validador malicioso con muchos menos de 2f+1 slots de firmante reales pase la verificación de prueba de bloque de salto multiplicando una única firma BLS por el mismo factor. El parche para esta vulnerabilidad se incluye como parte de la v1.3.0. No se conocen soluciones alternativas disponibles.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-33471 changed 2026-04-23CVE Terms of Use
GitHub Advisory DatabaseGHSA-6973-8887-87ff changed 2026-10-30CC-BY-4.0
NVDCVE-2026-33471 changed 2026-10-26Public domain