{"id":"GHSA-3763-qp59-59vf","revision":"bc453930afb647fa8e000166e3b26b01","records":[{"revision":"bc453930afb647fa8e000166e3b26b01","observedAt":"2026-10-24T13:19:54.901+00:00","statement":{"source":"osv","id":"GHSA-3763-qp59-59vf","aliases":["CVE-2026-46369"],"title":"nimiq-blockchain: Validity store off by one error","description":"### 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","state":0,"publishedAt":"2026-08-12T15:16:53+00:00","modifiedAt":"2026-08-12T15:41:04.47417+00:00","affected":[{"ecosystem":"crates.io","name":"nimiq-blockchain","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"1.5.1"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V3","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"HIGH"}],"references":["https://github.com/nimiq/core-rs-albatross/security/advisories/GHSA-3763-qp59-59vf","https://github.com/nimiq/core-rs-albatross/pull/3772","https://github.com/nimiq/core-rs-albatross/commit/a530b2434ebca6e3716f07c73079786fcc6f2e41","https://github.com/nimiq/core-rs-albatross"],"sourceUrl":"https://github.com/advisories/GHSA-3763-qp59-59vf","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-3763-qp59-59vf","identifiers":["GHSA-3763-qp59-59vf","CVE-2026-46369"]},"retained":false,"historicalAffected":[]}],"coverage":[]}