Advisory Database
  • Advisories
  • Dependency Scanning
  1. cargo
  2. ›
  3. nimiq-primitives
  4. ›
  5. CVE-2026-34065

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

April 22, 2026 (updated April 27, 2026)

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.

References

  • github.com/advisories/GHSA-7c4j-2m43-2mgh
  • github.com/nimiq/core-rs-albatross/commit/e10eaebcd7774e5da6d0ff5e88ed13503474f0ff
  • github.com/nimiq/core-rs-albatross/pull/3662
  • github.com/nimiq/core-rs-albatross/releases/tag/v1.3.0
  • github.com/nimiq/core-rs-albatross/security/advisories/GHSA-7c4j-2m43-2mgh
  • nvd.nist.gov/vuln/detail/CVE-2026-34065

Code Behaviors & Features

Detect and mitigate CVE-2026-34065 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions up to 0.2.0

Solution

Unfortunately, there is no solution available yet.

Impact 7.5 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Learn more about CVSS

Weakness

  • CWE-252: Unchecked Return Value
  • CWE-755: Improper Handling of Exceptional Conditions

Source file

cargo/nimiq-primitives/CVE-2026-34065.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:15:41 +0000.