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

CVE-2026-34069: nimiq-consensus panics via RequestMacroChain micro-block locator

April 13, 2026 (updated April 15, 2026)

An unauthenticated p2p peer can cause the RequestMacroChain message handler task to panic by sending a RequestMacroChain message where the first locator hash that is on the victim’s main chain is a micro block hash (not a macro block hash).

In RequestMacroChain::handle, the handler selects the locator based only on “is on main chain”, then calls get_macro_blocks() and panics via .unwrap() when the selected hash is not a macro block (BlockchainError::BlockIsNotMacro).

References

  • github.com/advisories/GHSA-48m6-486p-9j8p
  • github.com/nimiq/core-rs-albatross
  • github.com/nimiq/core-rs-albatross/commit/ae6c1e92342e72f80fd12accbe66ee80dd6802ac
  • github.com/nimiq/core-rs-albatross/pull/3660
  • github.com/nimiq/core-rs-albatross/releases/tag/v1.3.0
  • github.com/nimiq/core-rs-albatross/security/advisories/GHSA-48m6-486p-9j8p
  • nvd.nist.gov/vuln/detail/CVE-2026-34069

Code Behaviors & Features

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

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions up to 1.2.2

Solution

Unfortunately, there is no solution available yet.

Impact 5.3 MEDIUM

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

Learn more about CVSS

Weakness

  • CWE-617: Reachable Assertion

Source file

cargo/nimiq-consensus/CVE-2026-34069.yml

Spotted a mistake? Edit the file on GitLab.

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

Page generated Sat, 09 May 2026 12:18:23 +0000.