8.1high
nimiq-blockchain is missing a wall-clock upper bound on block timestamps
- Severity
- 8.1high CVSS:3.1 by GitHub_M
- Exploit likelihood
- 0.33% (higher than 28% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
- Also known as
- GHSA-49xc-52mp-cc9j
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
| Product or package | Versions | Reported by |
|---|---|---|
| nimiq core-rs-albatross | <= 1.3.0 | CVE List |
| nimiq-blockchain (crates.io) | up to 1.3.0 | GitHub Advisory Database |
| nimiq nimiq_proof-of-stake | before 1.3.0 | NVD |
All scores
| GitHub_M | 8.1high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H |
| GitHub | 9.1critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H |
Classification
What each source says
CVE List
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.
GitHub Advisory Database
Impact
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.
Patches
TBD
Workarounds
No know workarounds.
NVD (es)
nimiq-blockchain proporciona almacenamiento persistente de bloques para la implementación en Rust de Nimiq. En la versión 1.3.0 y anteriores, la validación de la marca de tiempo del bloque impone que la marca de tiempo >= la marca de tiempo del padre para bloques no omitidos y la marca de tiempo == la marca de tiempo del padre + MIN_PRODUCER_TIMEOUT para bloques omitidos, pero no hay una comprobación visible de límite superior contra el reloj de pared. Un validador malicioso que produce bloques puede establecer las marcas de tiempo de los bloques arbitrariamente lejos en el futuro. Esto afecta directamente los cálculos de recompensa a través de Policy::supply_at() y batch_delay() en blockchain/src/reward.rs, inflando la oferta monetaria más allá del cronograma de emisión previsto.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-40093 changed 2026-04-13 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-49xc-52mp-cc9j changed 2026-04-10 | CC-BY-4.0 |
| NVD | CVE-2026-40093 changed 2026-10-26 | Public domain |