nimiq/core-rs-albatross · Security
nimiq-primitives: Node crash due to missing interlink validation in election macro block proposals
- GHSA ID
- GHSA-7c4j-2m43-2mgh
- CVE ID
- CVE-2026-34065
- Severity
- high
- Published
- Updated
- CVSS
- 7.5 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- CVSS v3
- 7.5 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Description
Impact
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.
Patches
The patch for this vulnerability is included as part of v1.3.0.
Workarounds
No known workarounds.
CWEs
- CWE-252 · Unchecked Return Value
- CWE-755 · Improper Handling of Exceptional Conditions
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://nvd.nist.gov/vuln/detail/CVE-2026-34065 ↗
- https://github.com/nimiq/core-rs-albatross/releases/tag/v1.3.0 ↗
- https://github.com/advisories/GHSA-7c4j-2m43-2mgh ↗