GitHub Advisoryadvisory · crates.io

GHSA-6973-8887-87ff nimiq-block has skip block quorum bypass via out-of-range BitSet indices & u16 truncation

CRITICAL Published 2026-04-22 Modified 2026-10-30 Official page ↗
Aliases
CVE-2026-33471
Ecosystem
crates.io
Packages
nimiq-block
Severity
Critical
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:H
Weaknesses
CWE-1284, CWE-190, CWE-20, CWE-345
Reviewed
2026-04-22

Affected packages

• crates.io nimiq-block: < 1.7.2 → fixed in 1.7.2

Description

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.

Related

Alias · CVE (1)

  • CVE-2026-33471 nimiq-block contains block primitives to be used in Nimiq's Rust implementation. vulnerability

Weakness · CWE (4)

  • CWE-1284 Improper Validation of Specified Quantity in Input weakness
  • CWE-190 Integer Overflow or Wraparound weakness
  • CWE-20 Improper Input Validation weakness
  • CWE-345 Insufficient Verification of Data Authenticity weakness

References