{"id":"CVE-2026-34065","state":"PUBLISHED","title":"nimiq-primitives: Node crash due to missing interlink validation in election macro block proposals","description":"nimiq-primitives contains primitives (e.g., block, account, transaction) to be used in Nimiq's Rust implementation. Prior to version 1.3.0, an untrusted p2p peer can cause a node to panic by announcing an election macro block whose `validators` set contains an invalid compressed BLS voting key. Hashing an election macro header hashes `validators` and reaches `Validators::voting_keys()`, which calls `validator.voting_key.uncompress().unwrap()` and panics on invalid bytes. The patch for this vulnerability is included as part of v1.3.0. No known workarounds are available.","publishedAt":"2026-04-22T19:45:01.171Z","updatedAt":"2026-04-23T14:17:01.654Z","severity":{"score":7.5,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","source":"GitHub_M"},"assigner":"GitHub_M","products":["nimiq nimiq-primitives"],"affected":[{"vendor":"nimiq","product":"nimiq-primitives","versions":[{"version":"< 1.3.0","status":"affected"}]}],"references":["https://github.com/nimiq/core-rs-albatross/security/advisories/GHSA-7c4j-2m43-2mgh","https://github.com/nimiq/core-rs-albatross/pull/3662","https://github.com/nimiq/core-rs-albatross/commit/e10eaebcd7774e5da6d0ff5e88ed13503474f0ff","https://github.com/nimiq/core-rs-albatross/releases/tag/v1.3.0"],"weaknesses":["CWE-252","CWE-755"],"ingestedAt":"2026-10-29T20:11:40.391Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/34xxx/CVE-2026-34065.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-34065","state":"PUBLISHED","datePublished":"2026-04-22T19:45:01.171Z","dateUpdated":"2026-04-23T14:17:01.654Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-03-25T16:21:40.867Z"},"containers":{"cna":{"title":"nimiq-primitives: Node crash due to missing interlink validation in election macro block proposals","descriptions":[{"lang":"en","value":"nimiq-primitives contains primitives (e.g., block, account, transaction) to be used in Nimiq's Rust implementation. Prior to version 1.3.0, an untrusted p2p peer can cause a node to panic by announcing an election macro block whose `validators` set contains an invalid compressed BLS voting key. Hashing an election macro header hashes `validators` and reaches `Validators::voting_keys()`, which calls `validator.voting_key.uncompress().unwrap()` and panics on invalid bytes. The patch for this vulnerability is included as part of v1.3.0. No known workarounds are available."}],"affected":[{"vendor":"nimiq","product":"nimiq-primitives","versions":[{"version":"< 1.3.0","status":"affected"}]}],"references":[{"url":"https://github.com/nimiq/core-rs-albatross/security/advisories/GHSA-7c4j-2m43-2mgh","name":"https://github.com/nimiq/core-rs-albatross/security/advisories/GHSA-7c4j-2m43-2mgh","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/nimiq/core-rs-albatross/pull/3662","name":"https://github.com/nimiq/core-rs-albatross/pull/3662","tags":["x_refsource_MISC"]},{"url":"https://github.com/nimiq/core-rs-albatross/commit/e10eaebcd7774e5da6d0ff5e88ed13503474f0ff","name":"https://github.com/nimiq/core-rs-albatross/commit/e10eaebcd7774e5da6d0ff5e88ed13503474f0ff","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":"LOW","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":7.5,"baseSeverity":"HIGH","confidentialityImpact":"NONE","integrityImpact":"NONE","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-252","lang":"en","description":"CWE-252: Unchecked Return Value","type":"CWE"}]},{"descriptions":[{"cweId":"CWE-755","lang":"en","description":"CWE-755: Improper Handling of Exceptional Conditions","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-04-22T19:45:01.171Z"},"source":{"advisory":"GHSA-7c4j-2m43-2mgh","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-04-23T14:16:52.791989Z","id":"CVE-2026-34065","options":[{"Exploitation":"none"},{"Automatable":"yes"},{"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:01.654Z"}}]}}}