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 package | Versions | Reported by |
|---|---|---|
| nimiq nimiq-block | < 1.3.0 | CVE List |
| nimiq-block (crates.io) | before 1.7.2 | GitHub Advisory Database |
| nimiq nimiq_proof-of-stake | before 1.3.0 | NVD |
All scores
| GitHub_M | 9.6critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:H |
| GitHub | 9.6critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:H |
Classification
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
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-33471 changed 2026-04-23 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-6973-8887-87ff changed 2026-10-30 | CC-BY-4.0 |
| NVD | CVE-2026-33471 changed 2026-10-26 | Public domain |