Quick answers
- Is CVE-2026-54541 exploited in the wild?
- No. Junglewise Threat Intelligence has no report of CVE-2026-54541 being exploited in the wild.
- How severe is CVE-2026-54541?
- Low severity, with a CVSS score of 3.7, published 14 September 2026.
- Which products and versions are affected?
- nimiq-primitives (crates.io) < 1.6.0, SEMVER:introduced=0,fixed=1.6.0; Nimiq Core-Rs-Albatross <= 1.5.1.
- Is there a fix for CVE-2026-54541?
- Yes. nimiq-primitives (crates.io): upgrade to 1.6.0 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
- How is CVE-2026-54541 attacked?
- It is attacked over the network, in a software library.
- Am I affected by CVE-2026-54541?
- Check whether you run nimiq-primitives (crates.io) or Nimiq Core-Rs-Albatross at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.
How to fix
- nimiq-primitives (crates.io): upgrade to 1.6.0 or later
cargo update -p nimiq-primitives
Technical details
A denial-of-service vulnerability exists in the `nimiq-primitives` library due to an unhandled exception (panic) in the `TrieProof::verify()` function. The root cause is an unconditional `unwrap()` on a `None` value in `TrieProofNode::child_index()` when processing two `TrieProofNode`s with identical keys, as `is_prefix_of` returns true for equal keys. This panic occurs during the processing of untrusted network input before cryptographic verification, meaning an attacker does not need a valid proof to trigger the crash. The attack is limited to the window when a victim is performing a state sync and has selected the attacker as a peer. The issue is fixed in version 1.6.0 by returning a `WrongPrefix` error instead of panicking.
Affected products
- Nimiq core-rs-albatross <= 1.5.1
- Nimiq nimiq-primitives < 1.6.0
Identifiers
- CVE-2026-54541
- GHSA-46wq-28cx-mhw4
Timeline
- 2026-06-05: disclosed
- 2026-07-16: advisory: GitHub Advisory published
- 2026-07-16: patched: Version 1.6.0 released