{"id":"CVE-2026-54541","published":"2026-09-14T15:30:51Z","modified":"2026-09-16T15:13:43Z","title":"Nimiq: Panic in TrieProof::verify via child_index unwrap on equal-length keys","vendor":"nimiq","product":"core-rs-albatross","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":3.7,"severity":"LOW","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00443,"percentile":0.39388,"provenance":"source"},"cwes":[{"id":"CWE-248","name":"Uncaught Exception"}],"references":[{"url":"https://github.com/nimiq/core-rs-albatross/security/advisories/GHSA-46wq-28cx-mhw4","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/nimiq/core-rs-albatross/pull/3789","tags":["x_refsource_MISC"]},{"url":"https://github.com/nimiq/core-rs-albatross/commit/41d35acee1b5cf3bc34ec3ddc1abbc03604e791e","tags":["x_refsource_MISC"]},{"url":"https://github.com/nimiq/core-rs-albatross/releases/tag/v1.6.0","tags":["x_refsource_MISC"]}],"priority":{"score":10.5,"factors":[{"name":"EPSS percentile","points":7.88},{"name":"CVSS severity","points":2.59}]},"vendorSlug":"nimiq","affectedVersions":[{"vendor":"nimiq","product":"core-rs-albatross","versions":["< 1.6.0"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-09-16T15:13:11.485372Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"crates.io","package":"nimiq-primitives","vulnerableRanges":["<1.6.0"],"patched":["1.6.0"],"from":["GHSA-46wq-28cx-mhw4"],"provenance":"source"}],"summary":{"text":"The flaw is in the TrieProof::verify path of the core-rs-albatross component of Nimiq, a Rust implementation of the Albatross Proof-of-Stake protocol: when two trie proof nodes share identical keys, child_index unwraps a None value and panics. An attacker who is selected as a node's state-sync peer can crash the syncing node by sending a crafted TrieChunk proof over the network, without needing authentication or user interaction, though the attacker must be chosen as that node's sync peer during state sync and the crash is transient because the node restarts and resynchronizes.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:06:28Z"},"euvd":{"id":"EUVD-2026-77576","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2026-46545","published":"2026-06-09","fixed":"1.5.0","kev":false,"link":{"from":"CVE-2026-46545","to":"CVE-2026-54541","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"crates.io:nimiq-primitives","fromFixed":"1.5.0","toFixed":"1.6.0","daysApart":97}]}},{"cve":"CVE-2026-54541","published":"2026-09-14","fixed":"1.6.0","kev":false},{"cve":"CVE-2026-54542","published":"2026-09-14","fixed":"1.6.0","kev":false}],"package":"crates.io:nimiq-primitives"}}