Advisory

GHSA-7c4j-2m43-2mgh

Also known as: CVE-2026-34065

Summary

nimiq-primitives: Node crash due to missing interlink validation in election macro block proposals

Details

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.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2026-04-22 19:19 UTC
Modified
2026-05-05 16:03 UTC

Affected packages and fixes

nimiq-primitives

crates.io · All systems

Affected

  • introduced 0, last affected 0.2.0 (semver)

Fixed versions

None listed

Fix

No fixed version is listed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences