nimiq-blockchain CVE-2026-46543
MEDIUMAttack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessConnect as Nimiq network peer
-
DeliverySend RequestBatchSet with genesis block hash
-
ExploitTrigger backward macro block iteration in get_epoch_chunks
-
ExecutionPolicy::macro_block_before called at genesis block number
-
PersistUnconditional Rust panic
-
ImpactNode process crashes and drops off network
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V16 - Security Logging and Error Handling Reachable assertion handling
|
| Exploitation Conditions | The targeted node must be running nimiq-blockchain version prior to 1.5.0 and must be reachable on the Nimiq peer-to-peer network by the attacker. The CVSS PR:N confirms no authentication is required beyond establishing a network connection as a peer. The genesis block hash that triggers the panic is a fixed, publicly known constant for the Nimiq network, requiring no discovery or brute-forcing. No non-default configuration setting is required - any unpatched full node exposed to the peer network is vulnerable by default. Limiting factors: the attacker must have network-level connectivity to the victim node's peer port; nodes isolated behind firewalls that block untrusted peer connections are not directly exposed. Repeated exploitation requires reconnecting after each crash, but this is trivially automatable. |
| Impact | CVSS 5.3 Medium (AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L) accurately reflects the network-reachable, zero-authentication, low-complexity nature of the attack but the A:L rating may understate operational impact: for a blockchain full node, a process crash causes immediate disconnection from the peer-to-peer network and requires operator intervention to restart. No EPSS score was present in the provided data, so exploitation probability cannot be quantified. The vulnerability is not listed in the CISA KEV catalog and no public exploit code has been identified. Despite the medium CVSS, real-world priority is elevated for node operators because the triggering condition - the genesis block hash - is a fixed, publicly known constant, requiring no reconnaissance, and the attack is trivially automatable (AV:N/AC:L/PR:N/UI:N). An adversary could script repeated crash-and-reconnect cycles to sustain a denial-of-service against targeted nodes or broadly disrupt network consensus participation. There is no conflict between CVSS signals and the description; all signals are consistent. |
| Exploit ScenarioDerived | A malicious actor connects to a target Nimiq full node as a standard network peer and sends a single RequestBatchSet protocol message with the genesis block's hash as the requested hash value. The receiving node's handler invokes get_epoch_chunks, which iterates backward through macro blocks until Policy::macro_block_before is called at the genesis block number, triggering an unconditional Rust panic that immediately terminates the node process. No public exploit code has been identified, but the attack is straightforward to implement given public disclosure of the exact message type, the fixed genesis hash value, and the panic root cause. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – May 21, 2026
Unauthenticated remote crash of Nimiq full nodes running nimiq-blockchain versions before 1.5.0 is achievable by any network peer sending a single crafted RequestBatchSet message referencing the genesis block hash. The node's batch set handler iterates backward through macro blocks without a lower-bound guard, causing a Rust panic in Policy::macro_block_before when iteration reaches genesis, immediately terminating the process. No CISA KEV listing and no public exploit code exist at time of analysis; however, the attack requires no authentication and trivially low complexity, posing a real availability threat to any reachable full node.
RemediationAI
Upgrade nimiq-blockchain to version 1.5.0, the vendor-released patch confirmed in the GitHub advisory (GHSA-vghx-352f-93jm) and available at https://github.com/nimiq/core-rs-albatross/releases/tag/v1.5.0. The fix is delivered via commit 8e8b0abdb1b66f5e9b25b3833879f05c173a5596 (PR #3745). The vendor confirms no software workaround exists. As a partial operational mitigation, network-layer filtering or rate-limiting of RequestBatchSet messages from untrusted or unauthenticated peers - where the node's deployment architecture permits - could reduce exposure; however, this would also impair legitimate batch sync operations and is not a substitute for patching. The vendor notes that genesis batch set requests do not occur during normal network operation, so anomaly detection or logging on this specific message type is a viable detection signal while upgrade is pending.
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in cargo
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The affected component is the nimiq-blockchain Rust crate (pkg:rust/nimiq-blockchain) within the Nimiq Albatross proof-of-stake consensus implementation (core-rs-albatross). The root cause is CWE-617 (Reachable Assertion): Rust's panic mechanism - invoked either via an explicit panic! or via .expect() on a Result - can be triggered by attacker-controlled input. The RequestBatchSet message handler calls get_epoch_chunks, which iterates backward through macro blocks via Policy::macro_block_before. That function unconditionally panics when called with the genesis block number, as there are no macro blocks before genesis. Additionally, two prove_num_leaves calls used .expect('Failed to prove history size') rather than proper Result propagation, meaning any failure in those paths also crashed the node process. PR #3745 applies two fixes visible in the diff: a boundary guard (if prev_macro_block_number <= Policy::genesis_block_number() { break; }) added to chain_store.rs to halt backward iteration at genesis, and conversion of .expect() calls in consensus/src/messages/handlers.rs to graceful error returns using the ? operator with the new BatchSetError::CouldntProduceHistorySizeProof variant.
Know when the next one hits your stack
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Primary rating from Vendor (https://github.com/nimiq/core-rs-albatross) · only source for this CVE.
CVSS VectorVendor: https://github.com/nimiq/core-rs-albatross
DescriptionCVE.org
Impact
A remote peer can crash any full node by sending a RequestBatchSet message containing the genesis block's hash. The handler calls get_epoch_chunks which iterates backwards through macro blocks using Policy::macro_block_before. When it reaches the genesis block number, macro_block_before panics with "No macro blocks before genesis block".
Patches
The patch for this vulnerability is formally released as part of v1.5.0.
Workarounds
No Workaround, although requesting the genesis batch set is not used during normal operation.
Resources
See PR.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
GHSA-vghx-352f-93jm
NVD
CVE.org
EPSS
VulDB
Exploit-DB