GHSA-49xc-52mp-cc9j

Suggest an improvement
Source
https://github.com/advisories/GHSA-49xc-52mp-cc9j
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/04/GHSA-49xc-52mp-cc9j/GHSA-49xc-52mp-cc9j.json
JSON Data
https://api.test.osv.dev/v1/vulns/GHSA-49xc-52mp-cc9j
Aliases
  • CVE-2026-40093
Published
2026-04-10T19:55:04Z
Modified
2026-04-10T20:04:42.580279Z
Severity
  • 9.1 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H CVSS Calculator
Summary
nimiq-blockchain is missing a wall-clock upper bound on block timestamps
Details

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.

Database specific
{
    "github_reviewed": true,
    "cwe_ids": [
        "CWE-1284",
        "CWE-20"
    ],
    "severity": "CRITICAL",
    "nvd_published_at": "2026-04-09T21:16:11Z",
    "github_reviewed_at": "2026-04-10T19:55:04Z"
}
References

Affected packages

crates.io / nimiq-blockchain

Package

Name
nimiq-blockchain
View open source insights on deps.dev
Purl
pkg:cargo/nimiq-blockchain

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Last affected
1.3.0

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/04/GHSA-49xc-52mp-cc9j/GHSA-49xc-52mp-cc9j.json"