---
id: CVE-2026-54541
title: >-
  Nimiq is a Rust implementation of the Nimiq Proof-of-Stake protocol based on
  the Albatross consensus algorithm
summary: >-
  Nimiq is a Rust implementation of the Nimiq Proof-of-Stake protocol based on
  the Albatross consensus algorithm. Prior to 1.6.0, a malicious state-sync peer
  can crash a syncing node by sending a crafted TrieChunk proof containing two
  Trie…
severity: low
cvss: 3.7
cvssVector: 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L'
cwe:
  - CWE-248
vendor: nimiq-primitives
product: nimiq-primitives
affected:
  - nimiq-primitives < 1.6.0
patched:
  - nimiq-primitives 1.6.0
published: '2026-09-14'
updated: '2026-09-16'
sourceUpdated: '2026-09-16T16:17:08.883'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-54541'
references:
  - url: >-
      https://github.com/nimiq/core-rs-albatross/commit/41d35acee1b5cf3bc34ec3ddc1abbc03604e791e
    label: security-advisories@github.com
  - url: 'https://github.com/nimiq/core-rs-albatross/pull/3789'
    label: security-advisories@github.com
  - url: 'https://github.com/nimiq/core-rs-albatross/releases/tag/v1.6.0'
    label: security-advisories@github.com
  - url: >-
      https://github.com/nimiq/core-rs-albatross/security/advisories/GHSA-46wq-28cx-mhw4
    label: security-advisories@github.com
  - url: 'https://github.com/advisories/GHSA-46wq-28cx-mhw4'
tags:
  - nvd
  - ghsa
  - rust
  - cve.org
epss: 0.00275
epssPercentile: 0.20115
aliases:
  - GHSA-46wq-28cx-mhw4
ecosystem: rust
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: partial
  timestamp: '2026-09-16T15:13:11.485372Z'
ingestedAt: '2026-07-16T20:58:03.044Z'
---

## Overview

Nimiq is a Rust implementation of the Nimiq Proof-of-Stake protocol based on the Albatross consensus algorithm. Prior to 1.6.0, a malicious state-sync peer can crash a syncing node by sending a crafted TrieChunk proof containing two TrieProofNode values with identical keys. TrieProof::verify calls TrieProofNode::child_index in primitives/src/trie/trie_proof_node.rs, where is_prefix_of accepts equal keys and KeyNibbles::get is called at the key length, returns None, and is unconditionally unwrapped. Untrusted ResponseChunk data reaches commit_chunks, put_chunk, and proof.verify before cryptographic proof validation, so the attacker does not need a valid proof. Exploitation requires the attacker to be selected as the victim's sync peer during state sync, and the resulting panic is transient because the node restarts and resynchronizes. This issue is fixed in version 1.6.0.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.

## Package advisory (CVE-2026-54541)

Affected packages:

- `nimiq-primitives < 1.6.0`

Patched in:

- `nimiq-primitives 1.6.0`

Source: https://github.com/advisories/GHSA-46wq-28cx-mhw4
