Skip to content
OpenAdvisories
High · 8.1 CVE-2026-40093 EUVD-2026-21146GHSA-49xc-52mp-cc9j

nimiq-blockchain is missing a wall-clock upper bound on block timestamps

Published Apr 9, 2026 · Updated Apr 13, 2026 · Assigned by GitHub_M

Description

nimiq-blockchain provides persistent block storage for Nimiq's Rust implementation. In 1.3.0 and earlier, block timestamp validation enforces that timestamp >= parent.timestamp for non-skip blocks and timestamp == parent.timestamp + MIN_PRODUCER_TIMEOUT for skip blocks, but there is no visible upper bound check against the wall clock. A malicious block-producing validator can set block timestamps arbitrarily far in the future. This directly affects reward calculations via Policy::supply_at() and batch_delay() in blockchain/src/reward.rs, inflating the monetary supply beyond the intended emission schedule.

Affected products

VendorProductAffectedFixed
nimiq core-rs-albatross <= 1.3.0 —

Affected packages

EcosystemPackageAffectedFixedRecord
crates.io nimiq-blockchain <= 1.3.0 — GHSA-49xc-52mp-cc9j

References