nimiq-primitives: Panic DoS in trie chunk processing via ROOT-keyed item
cve-program · CVE-2026-46545
PublishedNimiq is a Rust implementation of the Nimiq Proof-of-Stake protocol based on the Albatross consensus algorithm. Prior to version 1.5.0, a remote, unauthenticated denial-of-service vulnerability in MerkleRadixTrie::put_chunk allows any state-sync peer to crash any node performing state synchronization (freshly joining nodes and recovering nodes). This issue has been patched in version 1.5.0.
Read the publisher's advisoryeuvd · EUVD-2026-35894
PublishedNimiq is a Rust implementation of the Nimiq Proof-of-Stake protocol based on the Albatross consensus algorithm. Prior to version 1.5.0, a remote, unauthenticated denial-of-service vulnerability in MerkleRadixTrie::put_chunk allows any state-sync peer to crash any node performing state synchronization (freshly joining nodes and recovering nodes). This issue has been patched in version 1.5.0.
Read the publisher's advisorynvd · CVE-2026-46545
PublishedNimiq is a Rust implementation of the Nimiq Proof-of-Stake protocol based on the Albatross consensus algorithm. Prior to version 1.5.0, a remote, unauthenticated denial-of-service vulnerability in MerkleRadixTrie::put_chunk allows any state-sync peer to crash any node performing state synchronization (freshly joining nodes and recovering nodes). This issue has been patched in version 1.5.0.
Read the publisher's advisoryosv · GHSA-mw3q-r9wh-h2ff
Published### Impact A remote, unauthenticated denial-of-service vulnerability in `MerkleRadixTrie::put_chunk` allows any state-sync peer to crash any node performing state synchronization (freshly joining nodes and recovering nodes). A malicious peer can respond to a `RequestChunk` with a `ResponseChunk::Chunk` whose first `TrieItem.key` is the empty (ROOT) key. The chunk passes sorting, range, and Merkle-proof validation, but when `put_raw` tries to store a value at the root node, it calls `TrieNode::put_value(...).unwrap()`, which returns `Err(RootCantHaveValue)` and panics, aborting the node process. The panic fires on the first malicious chunk the victim commits; no rate limit or authentication gate caps the attack. Impacted: any node running state sync against untrusted peers — this includes fresh nodes performing initial download and existing nodes recovering from data loss. Honest nodes never construct ROOT-keyed items, so non-syncing operation is unaffected. ### Patches See [PR](https://github.com/nimiq/core-rs-albatross/pull/3762). ### Workarounds There is no safe in-process workaround: any peer serving state-sync data can trigger the crash and the code path is not guarded by a feature flag. ### Resources - Fix commit: (link to the merged PR commit, once merged) - Affected code: [`primitives/trie/src/trie.rs`](https://github.com/nimiq/core-rs-albatross/blob/albatross/primitives/trie/src/trie.rs) — `put_chunk` (around line 819) and `put_raw` (around line 351)
Read the publisher's advisoryAffected versions, risk and source history
Related advisories and sources
Publishers link these advisories through the identifiers shown below. A shared identifier or date alone does not tell you whether your software is affected or whether the advisories describe the same cause.
CVE-2026-46545 · CVE overview and exploitation status
cve-program · CVE-2026-46545
- https://github.com/nimiq/core-rs-albatross/security/advisories/GHSA-mw3q-r9wh-h2ff
- https://github.com/nimiq/core-rs-albatross/pull/3762
- https://github.com/nimiq/core-rs-albatross/releases/tag/v1.5.0
euvd · EUVD-2026-35894
- https://github.com/nimiq/core-rs-albatross/security/advisories/GHSA-mw3q-r9wh-h2ff
- https://github.com/nimiq/core-rs-albatross/pull/3762
- https://github.com/nimiq/core-rs-albatross/releases/tag/v1.5.0
nvd · CVE-2026-46545
- https://github.com/nimiq/core-rs-albatross/pull/3762
- https://github.com/nimiq/core-rs-albatross/releases/tag/v1.5.0
- https://github.com/nimiq/core-rs-albatross/security/advisories/GHSA-mw3q-r9wh-h2ff
osv · GHSA-mw3q-r9wh-h2ff
- https://github.com/nimiq/core-rs-albatross/security/advisories/GHSA-mw3q-r9wh-h2ff
- https://nvd.nist.gov/vuln/detail/CVE-2026-46545
- https://github.com/nimiq/core-rs-albatross/pull/3762
- https://github.com/nimiq/core-rs-albatross/commit/0fb8766adea91e038af00e635a6eb92756e50172
- https://github.com/nimiq/core-rs-albatross
- https://github.com/nimiq/core-rs-albatross/releases/tag/v1.5.0
Related changes
Linked by CVE identifierNo related changes are available here.