{"id":"CVE-2026-34067","aliases":["CVE-2026-34067","GHSA-264v-m8fm-76jm"],"related":[],"kind":"vulnerability","state":"published","title":"nimiq-transaction vulnerable to panic via `HistoryTreeProof` length mismatch","summary":"nimiq-transaction provides the transaction primitive to be used in Nimiq's Rust implementation. Prior to version 1.3.0, `HistoryTreeProof::verify` panics on a malformed proof where `history.len() != positions.len()` due to `assert_eq!(history.len(), positions.len())`. The proof object is derived from untrusted p2p responses (`ResponseTransactionsProof.proof`) and is therefore attacker-controlled at the network boundary until validated. A malicious peer could trigger a crash by returning a crafted inclusion proof with a length mismatch. The patch for this vulnerability is included as part of v1.3.0. No known workarounds are available.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"nimiq-transaction provides the transaction primitive to be used in Nimiq's Rust implementation. Prior to version 1.3.0, `HistoryTreeProof::verify` panics on a malformed proof where `history.len() != positions.len()` due to `assert_eq!(history.len(), positions.len())`. The proof object is derived from untrusted p2p responses (`ResponseTransactionsProof.proof`) and is therefore attacker-controlled at the network boundary until validated. A malicious peer could trigger a crash by returning a crafted inclusion proof with a length mismatch. The patch for this vulnerability is included as part of v1.3.0. No known workarounds are available.","source":"cvelist"},{"lang":"en","text":"### Impact\n`HistoryTreeProof::verify` panics on a malformed proof where `history.len() != positions.len()` due to `assert_eq!(history.len(), positions.len())`. \n\nThe proof object is derived from untrusted p2p responses (`ResponseTransactionsProof.proof`) and is therefore attacker-controlled at the network boundary until validated. A malicious peer could trigger a crash by returning a crafted inclusion proof with a length mismatch.\n\n### Patches\n[The patch for this vulnerability](https://github.com/nimiq/core-rs-albatross/commit/6ff0800e8e031363e787c827d8d033e5694e4e6a) is included as part of [v1.3.0](https://github.com/nimiq/core-rs-albatross/releases/tag/v1.3.0).\n\n### Workarounds\nNo known workarounds know.","format":"markdown","source":"ghsa"},{"lang":"es","text":"nimiq-transaction proporciona la primitiva de transacción para ser utilizada en la implementación de Nimiq en Rust. Antes de la versión 1.3.0, ’HistoryTreeProof::verify’ entra en pánico ante una prueba malformada donde ’history.len() != positions.len()’ debido a ’assert_eq!(history.len(), positions.len())’. El objeto de prueba se deriva de respuestas p2p no confiables (’ResponseTransactionsProof.proof’) y, por lo tanto, es controlado por el atacante en el límite de la red hasta que sea validado. Un par malicioso podría desencadenar un fallo al devolver una prueba de inclusión manipulada con una discrepancia de longitud. El parche para esta vulnerabilidad está incluido como parte de la v1.3.0. No se conocen soluciones alternativas disponibles.","source":"nvd"}],"published":"2026-04-22T19:20:50.000Z","modified":"2026-10-26T22:10:00.163Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:L","score":3.1,"rating":"LOW"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:L","score":3.1,"rating":"LOW"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:L","score":3.1,"rating":"LOW"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","score":6.5,"rating":"MEDIUM"}],"cwes":["CWE-617"],"affected":[{"ranges":[{"version":"< 1.3.0","status":"affected"}],"vendor":"nimiq","product":"nimiq-transaction","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","lastAffected":"0.2.0"}],"ecosystem":"crates.io","package":"nimiq-transaction","purl":"pkg:cargo/nimiq-transaction","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"1.3.0"}],"vendor":"nimiq","product":"nimiq_proof-of-stake","cpe":"cpe:2.3:a:nimiq:nimiq_proof-of-stake:*:*:*:*:*:rust:*:*","source":"nvd"}],"references":[{"url":"https://github.com/nimiq/core-rs-albatross/security/advisories/GHSA-264v-m8fm-76jm","tags":["patch","vendor-advisory","web","x-refsource-confirm"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/nimiq/core-rs-albatross/pull/3659","tags":["issue-tracking","patch","web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/nimiq/core-rs-albatross/commit/6ff0800e8e031363e787c827d8d033e5694e4e6a","tags":["patch","web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/nimiq/core-rs-albatross/releases/tag/v1.3.0","tags":["release-notes","web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-34067","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/nimiq/core-rs-albatross","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-04-23T14:17:49.301Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-34067","url":"https://www.cve.org/CVERecord?id=CVE-2026-34067","licence":"CVE Terms of Use","modified":"2026-04-23T14:17:59.735Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-264v-m8fm-76jm","url":"https://github.com/advisories/GHSA-264v-m8fm-76jm","licence":"CC-BY-4.0","modified":"2026-05-05T15:59:34.424Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-34067","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-34067","licence":"Public domain","modified":"2026-10-26T22:10:00.163Z"}],"updatedAt":"2026-11-25T22:59:19.351Z","epss":{"score":0.00331,"percentile":0.28273,"date":"2026-12-01T12:00:22.000Z"}}