CVE-2026-46540 Details
Description
Nimiq is a Rust implementation of the Nimiq Proof-of-Stake protocol based on the Albatross consensus algorithm. Prior to version 1.4.0, when LightBlockchain::rebranch() adopts a fork chain whose tip is a macro block (checkpoint or election), it only updates self.head but fails to update self.macro_head, self.election_head, self.current_validators, or store the election header in the chain_store. This is in direct contrast with the full Blockchain::rebranch() at blockchain/src/blockchain/push.rs:504-518, which correctly updates all macro/election state when the new head is a macro block. After a rebranch to a macro block, the stale macro_head causes subsequent macro blocks pushed via push() to be verified against the wrong predecessor via verify_macro_successor(&this.macro_head). If the rebranch target was an election block, the stale current_validators causes every subsequent block to fail verify_validators(), completely stalling the light client's chain progression. This issue has been patched in version 1.4.0.
A vulnerability exists in the Nimiq light blockchain implementation of the Proof-of-Stake protocol, prior to version 1.4.0. The issue arises in the LightBlockchain::rebranch() function when it adopts a fork chain whose tip is a macro block (checkpoint or election). The function only updates the self.head parameter, neglecting to update self.macro_head, self.election_head, self.current_validators, or store the election header in the chain_store. This behavior contradicts the full Blockchain::rebranch() function, which correctly updates all macro and election states when the new head is a macro block. As a result, after a rebranch to a macro block, the outdated macro_head causes subsequent macro blocks to be verified against the incorrect predecessor, disrupting the verification process. If the rebranch target was an election block, the stale current_validators parameter causes all subsequent blocks to fail the validation process, completely halting the light client's chain progression.
Users can upgrade to Nimiq version 1.4.0 or later, where this vulnerability has been patched.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Jun 10, 2026CISA-ADP
Assessed Jun 10, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/nimiq/core-rs-albatross/pull/3706 | [email protected] | Source CodeVendor |
| https://github.com/nimiq/core-rs-albatross/releases/tag/v1.4.0 | [email protected] | Release NotesVendor |
| https://github.com/nimiq/core-rs-albatross/security/advisories/GHSA-m3pg-qc2q-mg8c | [email protected] | AdvisoryRemedyVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-841 | Improper Enforcement of Behavioral Workflow | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| Nimiq | <= v1.3.0 (semver) |
CPE
Remediation
| |
| Nimiq core-rs-albatross | <= v1.3.0 (semver) |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jul 23, 2026 | CVE Translated | [email protected] |
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Jun 10, 2026 | New CVE Received | [email protected] |
Volerion