CVE-2026-34065: nimiq-primitives Node Crash Due To Missing Vulnerability
HIGHCVE-2026-34065 is a HIGH (CVSS 7.5) node crash due to missing vulnerability (CWE-755: Improper Handling of Exceptional Conditions) affecting nimiq-primitives libraries in the crates.io ecosystem. The issue involves node crash due to missing interlink validation in election macro block proposals. Remediation is available in the latest vendor maintenance releases.
CVE-2026-34065 at a Glance
Security Impact
CVSS: 7.5
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H).
How to Fix CVE-2026-34065
To remediate this vulnerability, upgrade all affected nimiq-primitives dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade nimiq-primitives to Latest secure release
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for nimiq-primitives
How to Check if You Are Affected
To determine whether your application is affected by CVE-2026-34065, inspect your project dependencies for nimiq-primitives:
inspect dependencies for nimiq-primitives
Analyze the terminal output to locate any version of nimiq-primitives in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than the patched release), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-755: Improper Handling of Exceptional Conditions, where the product does not handle or incorrectly handles an exceptional condition. In nimiq-primitives, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2026-34065 Affected nimiq-primitives Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
nimiq-primitives
|
crates.io |
≤ 0.2.0
|
|
References
Frequently Asked Questions
What is CVE-2026-34065?
Which nimiq-primitives versions are affected?
What version fixes CVE-2026-34065?
Is nimiq-primitives affected?
What is the CVSS score of CVE-2026-34065?
What CWE is associated with CVE-2026-34065?
How can I check crates.io dependencies for CVE-2026-34065?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-7c4j-2m43-2mgh",
"modified" : "2026-04-27T16:22:32Z",
"published" : "2026-04-22T19:19:28Z",
"aliases" : [ "CVE-2026-34065" ],
"summary" : "nimiq-primitives: Node crash due to missing interlink validation in election macro block proposals",
"details" : "### Impact\nAn 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.\n\nHashing an election macro header hashes `validators` and reaches `Validators::voting_keys()`, which calls `validator.voting_key.uncompress().unwrap()` and panics on invalid bytes.\n\n### Patches\n[The patch for this vulnerability](https://github.com/nimiq/core-rs-albatross/commit/e10eaebcd7774e5da6d0ff5e88ed13503474f0ff) 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.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "crates.io",
"name" : "nimiq-primitives"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"last_affected" : "0.2.0"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/nimiq/core-rs-albatross/security/advisories/GHSA-7c4j-2m43-2mgh"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-34065"
}, {
"type" : "WEB",
"url" : "https://github.com/nimiq/core-rs-albatross/pull/3662"
}, {
"type" : "WEB",
"url" : "https://github.com/nimiq/core-rs-albatross/commit/e10eaebcd7774e5da6d0ff5e88ed13503474f0ff"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/nimiq/core-rs-albatross"
}, {
"type" : "WEB",
"url" : "https://github.com/nimiq/core-rs-albatross/releases/tag/v1.3.0"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-252", "CWE-755" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2026-04-22T19:19:28Z",
"nvd_published_at" : "2026-04-22T20:16:41Z"
}
}