CVE-2026-54542
Published:July 16, 2026
Updated:August 27, 2026
A malicious peer acting as a state-sync source can crash a syncing node with a crafted "TrieChunk" whose proof contains a "TrieNodeChild" whose "suffix", when concatenated with the parent key via "KeyNibbles::Add", exceeds the fixed 63-byte backing array. "Add" ("primitives/src/key_nibbles.rs:332" / ":341") indexes "bytes[self.bytes_len()..self.bytes_len() + other.bytes_len()]" with no combined-length check, causing an out-of-bounds slice panic (both the even- and odd-length branches). "KeyNibbles" deserialization validates only the individual "length <= 126", not the combined parent + suffix length. The panic occurs at "put_chunk" → "child.key()" → "is_stump()" → "+", i.e. before "proof.verify()", so no valid proof is required. As with the related "child_index" issue, exploitation requires being the victim's sync peer during state sync, and the resulting crash is transient (the node restarts and re-syncs). Affected: core-rs-albatross <= 1.5.1 ("nimiq-primitives").
Affected Packages
https://github.com/nimiq/core-rs-albatross.git (GITHUB):
Affected version(s) >=v1.0.0 <v1.6.0Fix Suggestion:
Update to version v1.6.0Related Resources (5)
Do you need more information?
Contact UsCVSS v4
Base Score:
6.3
Attack Vector
NETWORK
Attack Complexity
HIGH
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
NONE
Vulnerable System Confidentiality
NONE
Vulnerable System Integrity
NONE
Vulnerable System Availability
LOW
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
3.7
Attack Vector
NETWORK
Attack Complexity
HIGH
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
LOW
Weakness Type (CWE)
Out-of-bounds Read