{"id":"CVE-2026-46369","aliases":["GHSA-3763-qp59-59vf"],"url":"https://o3.security/vulnerability/CVE-2026-46369","summary":"Nimiq: Validity store off by one error","details":"### Impact\nThe validity store treats a transaction with stored `block_number = X` as \"in window\" only when `X > last_bn - transaction_validity_window_blocks` (strict inequality). However the protocol's `Transaction::is_valid_at` accepts a transaction for inclusion in any block in `[validity_start_height - blocks_per_batch, validity_start_height + window - 1]`. By choosing `validity_start_height = X + blocks_per_batch` (the largest value still compatible with first inclusion at block X), an attacker can replay the same signed transaction in any block B such that `X + window < B < validity_start_height + window`, i.e., a contiguous window of `blocks_per_batch - 1` blocks (59 on MainNet, ~10 minutes) during which the replay-protection check fails to flag it. The same transaction is then executed twice: the sender is debited twice, the recipient credited twice.\n\n### Patches\nhttps://github.com/nimiq/core-rs-albatross/pull/3772\n\n### Workarounds\nNo known workarounds","published":"2026-08-26T19:32:46.025Z","modified":"2026-09-11T03:30:42.893546260Z","cvss":{"score":7.5,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N"},"epss":{"score":0.00392,"percentile":0.32962,"asOf":"2026-09-17"},"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"crates.io","name":"nimiq-blockchain","fixedVersion":"1.5.1"}],"fix":{"url":"https://github.com/nimiq/core-rs-albatross/commit/a530b2434ebca6e3716f07c73079786fcc6f2e41","label":"nimiq/core-rs-albatross@a530b24"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/46xxx/CVE-2026-46369.json"},{"type":"ADVISORY","url":"https://github.com/nimiq/core-rs-albatross/security/advisories/GHSA-3763-qp59-59vf"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-46369"},{"type":"FIX","url":"https://github.com/nimiq/core-rs-albatross/commit/a530b2434ebca6e3716f07c73079786fcc6f2e41"},{"type":"FIX","url":"https://github.com/nimiq/core-rs-albatross/pull/3772"},{"type":"PACKAGE","url":"https://github.com/nimiq/core-rs-albatross"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-09-11T03:30:42.893546260Z"}}