{"id":"CVE-2026-46369","aliases":["CVE-2026-46369","GHSA-3763-qp59-59vf"],"related":[],"kind":"vulnerability","state":"published","title":"Nimiq: Validity store off by one error","summary":"Nimiq is a Rust implementation of the Nimiq Proof-of-Stake protocol based on the Albatross consensus algorithm. Through 1.5.0, the validity store uses a strict lower-bound comparison that expires a stored transaction too early relative to Transaction::is_valid_at, allowing a remote attacker to replay the same signed transaction during a blocks_per_batch minus one block window and cause the sender and recipient balances to be updated twice. This issue is fixed in version 1.5.1.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Nimiq is a Rust implementation of the Nimiq Proof-of-Stake protocol based on the Albatross consensus algorithm. Through 1.5.0, the validity store uses a strict lower-bound comparison that expires a stored transaction too early relative to Transaction::is_valid_at, allowing a remote attacker to replay the same signed transaction during a blocks_per_batch minus one block window and cause the sender and recipient balances to be updated twice. This issue is fixed in version 1.5.1.","source":"cvelist"},{"lang":"en","text":"### 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","format":"markdown","source":"ghsa"}],"published":"2026-08-12T15:16:53.000Z","modified":"2026-09-09T21:09:13.080Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","score":7.5,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","score":7.5,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","score":7.5,"rating":"HIGH"}],"cwes":["CWE-193","CWE-294"],"affected":[{"ranges":[{"version":"< 1.5.1","status":"affected"}],"vendor":"nimiq","product":"core-rs-albatross","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.5.1"}],"ecosystem":"crates.io","package":"nimiq-blockchain","purl":"pkg:cargo/nimiq-blockchain","source":"ghsa"}],"references":[{"url":"https://github.com/nimiq/core-rs-albatross/security/advisories/GHSA-3763-qp59-59vf","tags":["web","x-refsource-confirm"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/nimiq/core-rs-albatross/pull/3772","tags":["web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/nimiq/core-rs-albatross/commit/a530b2434ebca6e3716f07c73079786fcc6f2e41","tags":["web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/nimiq/core-rs-albatross","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"partial","date":"2026-08-27T15:22:06.489Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-46369","url":"https://www.cve.org/CVERecord?id=CVE-2026-46369","licence":"CVE Terms of Use","modified":"2026-08-27T15:22:58.317Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-3763-qp59-59vf","url":"https://github.com/advisories/GHSA-3763-qp59-59vf","licence":"CC-BY-4.0","modified":"2026-08-12T15:41:04.474Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-46369","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-46369","licence":"Public domain","modified":"2026-09-09T21:09:13.080Z"}],"updatedAt":"2026-11-25T22:59:35.423Z","epss":{"score":0.00392,"percentile":0.3541,"date":"2026-12-01T12:00:22.000Z"}}