CVE-2026-40093
JSON

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 packageVersionsReported by
nimiq core-rs-albatross<= 1.3.0CVE List
nimiq-blockchain (crates.io)up to 1.3.0GitHub Advisory Database
nimiq nimiq_proof-of-stakebefore 1.3.0NVD

All scores

GitHub_M8.1high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H
GitHub9.1critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H

Classification

CWE-20CWE-1284

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

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

SourceRecordLicence
CVE ListCVE-2026-40093 changed 2026-04-13CVE Terms of Use
GitHub Advisory DatabaseGHSA-49xc-52mp-cc9j changed 2026-04-10CC-BY-4.0
NVDCVE-2026-40093 changed 2026-10-26Public domain