{"id":"CVE-2026-34066","published":"2026-04-22T19:47:49Z","modified":"2026-04-23T12:57:06Z","title":"nimiq-blockchain: Peer-triggerable panic during history sync","vendor":"nimiq","product":"nimiq-blockchain","tier":"tail","description":{"text":"nimiq-blockchain provides persistent block storage for Nimiq's Rust implementation. Prior to version 1.3.0, `HistoryStore::put_historic_txns` uses an `assert!` to enforce invariants about `HistoricTransaction.block_number` (must be within the macro block being pushed and within the same epoch). During history sync, a peer can influence the `history: &[HistoricTransaction]` input passed into `Blockchain::push_history_sync`, and a malformed history list can violate these invariants and trigger a panic. `extend_history_sync` calls `this.history_store.add_to_history(..)` before comparing the computed history root against the macro block header (`block.history_root()`), so the panic can happen before later rejection checks run. The patch for this vulnerability is included as part of v1.3.0. No known workarounds are available.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.3,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00246,"percentile":0.16141,"provenance":"source"},"cwes":[{"id":"CWE-20","name":"Improper Input Validation"},{"id":"CWE-617","name":"Reachable Assertion"},{"id":"CWE-754","name":"Improper Check for Unusual or Exceptional Conditions"}],"references":[{"url":"https://github.com/nimiq/core-rs-albatross/security/advisories/GHSA-j99g-7rqw-q9jg","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/nimiq/core-rs-albatross/pull/3656","tags":["x_refsource_MISC"]},{"url":"https://github.com/nimiq/core-rs-albatross/commit/6f5511309c199d84b012fe6b9aba7e5582892c50","tags":["x_refsource_MISC"]},{"url":"https://github.com/nimiq/core-rs-albatross/releases/tag/v1.3.0","tags":["x_refsource_MISC"]}],"priority":{"score":6.9,"factors":[{"name":"EPSS percentile","points":3.23},{"name":"CVSS severity","points":3.71}]},"vendorSlug":"nimiq","affectedVersions":[{"vendor":"nimiq","product":"nimiq-blockchain","versions":["< 1.3.0"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-04-23T12:56:55.597573Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"crates.io","package":"nimiq-blockchain","vulnerableRanges":["<=0.2.0"],"patched":[],"from":["GHSA-j99g-7rqw-q9jg"],"provenance":"source"}],"euvd":{"id":"EUVD-2026-25064","exploited":false,"provenance":"source"}}