nimiq-blockchain is missing a wall-clock upper bound on block timestamps
Description
Published by the National Vulnerability Database
Apr 9, 2026
Published to the GitHub Advisory Database
Apr 10, 2026
Reviewed
Apr 10, 2026
Impact
Block timestamp validation enforces that
timestamp >= parent.timestampfor non-skip blocks andtimestamp == parent.timestamp + MIN_PRODUCER_TIMEOUTfor 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 viaPolicy::supply_at()andbatch_delay()inblockchain/src/reward.rs, inflating the monetary supply beyond the intended emission schedule.Patches
TBD
Workarounds
No know workarounds.
References