{"id":"CVE-2026-54542","published":"2026-09-14T15:29:45Z","modified":"2026-09-14T20:07:10Z","title":"Nimiq: Out-of-bounds panic in KeyNibbles::Add from oversized child suffix in a deserialized proof","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 whose proof contains a TrieNodeChild suffix that is individually valid but exceeds the 63-byte KeyNibbles backing array when combined with the parent key. KeyNibbles::Add in primitives/src/key_nibbles.rs performs the combined slice operation without checking the total length, and the input reaches put_chunk, TrieNodeChild::key, and TrieNodeChild::is_stump before proof.verify, so the attacker does not need a valid cryptographic proof. Exploitation requires the attacker to be selected as the victim's sync peer during state sync. The resulting out-of-bounds 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.39389,"provenance":"source"},"cwes":[{"id":"CWE-125","name":"Out-of-bounds Read"}],"references":[{"url":"https://github.com/nimiq/core-rs-albatross/security/advisories/GHSA-5rg2-xv9j-gv5p","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/nimiq/core-rs-albatross/pull/3790","tags":["x_refsource_MISC"]},{"url":"https://github.com/nimiq/core-rs-albatross/commit/eabfc3e21731b0628c3f933163a0f1e1864217bf","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-14T19:20:57.604270Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"crates.io","package":"nimiq-primitives","vulnerableRanges":["<1.6.0"],"patched":["1.6.0"],"from":["GHSA-5rg2-xv9j-gv5p"],"provenance":"source"}],"summary":{"text":"A flaw in the KeyNibbles::Add function (primitives/src/key_nibbles.rs) of the core-rs-albatross component of Nimiq, a Rust implementation of the Proof-of-Stake protocol, lets a crafted proof with an oversized child suffix trigger an out-of-bounds panic. An attacker who can act as a node's state-sync peer, requiring no authentication or user interaction and no valid cryptographic proof, can crash a syncing node with a transient denial of service, since the node restarts and resynchronizes.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:06:28Z"},"euvd":{"id":"EUVD-2026-77574","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-nimiq-core-rs-albatross-cve-2026-46545","parents":[{"from":"CVE-2026-46545","to":"CVE-2026-54542","relation":"successor","confidence":"high","kind":"lineage","evidence":[{"kind":"version-step","provenance":"source","package":"crates.io:nimiq-primitives","fromFixed":"1.5.0","toFixed":"1.6.0","daysApart":97},{"kind":"same-code","provenance":"machine","files":["primitives/trie/src/trie.rs"],"commits":["https://github.com/nimiq/core-rs-albatross/commit/0fb8766adea91e038af00e635a6eb92756e50172","https://github.com/nimiq/core-rs-albatross/commit/eabfc3e21731b0628c3f933163a0f1e1864217bf"],"basis":"rarely changed file"}]}],"packageHistory":[{"cve":"CVE-2026-46545","published":"2026-06-09","fixed":"1.5.0","kev":false},{"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"}}