Advisory Database
  • Advisories
  • Dependency Scanning
  1. cargo
  2. ›
  3. nimiq-blockchain
  4. ›
  5. CVE-2026-46369

CVE-2026-46369: nimiq-blockchain: Validity store off by one error

August 12, 2026

The validity store treats a transaction with stored block_number = X as “in window” only when X > last_bn - transaction_validity_window_blocks (strict inequality). However the protocol’s Transaction::is_valid_at accepts a transaction for inclusion in any block in [validity_start_height - blocks_per_batch, validity_start_height + window - 1]. By choosing validity_start_height = X + blocks_per_batch (the largest value still compatible with first inclusion at block X), an attacker can replay the same signed transaction in any block B such that X + window < B < validity_start_height + window, i.e., a contiguous window of blocks_per_batch - 1 blocks (59 on MainNet, ~10 minutes) during which the replay-protection check fails to flag it. The same transaction is then executed twice: the sender is debited twice, the recipient credited twice.

References

  • github.com/advisories/GHSA-3763-qp59-59vf
  • github.com/nimiq/core-rs-albatross/commit/a530b2434ebca6e3716f07c73079786fcc6f2e41
  • github.com/nimiq/core-rs-albatross/pull/3772
  • github.com/nimiq/core-rs-albatross/security/advisories/GHSA-3763-qp59-59vf
  • nvd.nist.gov/vuln/detail/CVE-2026-46369

Code Behaviors & Features

Detect and mitigate CVE-2026-46369 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 1.5.1

Fixed versions

  • 1.5.1

Solution

Upgrade to version 1.5.1 or above.

Impact 7.5 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

Learn more about CVSS

Weakness

  • CWE-193: Off-by-one Error
  • CWE-294: Authentication Bypass by Capture-replay

Source file

cargo/nimiq-blockchain/CVE-2026-46369.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Tue, 22 Sep 2026 12:20:06 +0000.