CVE-2026-40093 nimiq-blockchain is missing a wall-clock upper bound on block timestamps
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
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.
Upgrade path
3 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| crates.io nimiq-blockchain(crates.io) | <= 1.3.0 | after 1.3.0 | Fixed |
| nimiq proof-of-stake | < 1.3.0 | 1.3.0 | Fixed |
| nimiq core-rs-albatross | = <= 1.3.0 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| crates.io nimiq-blockchain(crates.io) | <= 1.3.0 | No fix listed |
| nimiq core-rs-albatross | = <= 1.3.0 | No fix listed |
| nimiq proof-of-stake | < 1.3.0 | 1.3.0 |
References
- https://github.com/nimiq/core-rs-albatross/security/advisories/GHSA-49xc-52mp-cc9j broken-link vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com product
- github.com