{"id":"CVE-2026-34067","state":"PUBLISHED","title":"nimiq-transaction vulnerable to panic via `HistoryTreeProof` length mismatch","description":"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.","publishedAt":"2026-04-22T19:52:43.916Z","updatedAt":"2026-04-23T14:17:59.735Z","severity":{"score":3.1,"label":"Low","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:L","source":"GitHub_M"},"assigner":"GitHub_M","products":["nimiq nimiq-transaction"],"affected":[{"vendor":"nimiq","product":"nimiq-transaction","versions":[{"version":"< 1.3.0","status":"affected"}]}],"references":["https://github.com/nimiq/core-rs-albatross/security/advisories/GHSA-264v-m8fm-76jm","https://github.com/nimiq/core-rs-albatross/pull/3659","https://github.com/nimiq/core-rs-albatross/commit/6ff0800e8e031363e787c827d8d033e5694e4e6a","https://github.com/nimiq/core-rs-albatross/releases/tag/v1.3.0"],"weaknesses":["CWE-617"],"ingestedAt":"2026-10-29T20:11:40.391Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/34xxx/CVE-2026-34067.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-34067","state":"PUBLISHED","datePublished":"2026-04-22T19:52:43.916Z","dateUpdated":"2026-04-23T14:17:59.735Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-03-25T16:21:40.867Z"},"containers":{"cna":{"title":"nimiq-transaction vulnerable to panic via `HistoryTreeProof` length mismatch","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"nimiq","product":"nimiq-transaction","versions":[{"version":"< 1.3.0","status":"affected"}]}],"references":[{"url":"https://github.com/nimiq/core-rs-albatross/security/advisories/GHSA-264v-m8fm-76jm","name":"https://github.com/nimiq/core-rs-albatross/security/advisories/GHSA-264v-m8fm-76jm","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/nimiq/core-rs-albatross/pull/3659","name":"https://github.com/nimiq/core-rs-albatross/pull/3659","tags":["x_refsource_MISC"]},{"url":"https://github.com/nimiq/core-rs-albatross/commit/6ff0800e8e031363e787c827d8d033e5694e4e6a","name":"https://github.com/nimiq/core-rs-albatross/commit/6ff0800e8e031363e787c827d8d033e5694e4e6a","tags":["x_refsource_MISC"]},{"url":"https://github.com/nimiq/core-rs-albatross/releases/tag/v1.3.0","name":"https://github.com/nimiq/core-rs-albatross/releases/tag/v1.3.0","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"HIGH","attackVector":"NETWORK","availabilityImpact":"LOW","baseScore":3.1,"baseSeverity":"LOW","confidentialityImpact":"NONE","integrityImpact":"NONE","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:L","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-617","lang":"en","description":"CWE-617: Reachable Assertion","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-04-22T19:52:43.916Z"},"source":{"advisory":"GHSA-264v-m8fm-76jm","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-04-23T14:17:49.301869Z","id":"CVE-2026-34067","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-04-23T14:17:59.735Z"}}]}}}