Skip to main content

nimiq-keys CVE-2026-46542

MEDIUM
Reachable Assertion (CWE-617)
2026-05-21 https://github.com/nimiq/core-rs-albatross GHSA-h9cc-w26m-j342
4.3
CVSS 3.1 · Vendor: https://github.com/nimiq/core-rs-albatross
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Craft 32-byte invalid curve point
  2. Delivery
    Deliver key via social engineering to victim
  3. Exploit
    Victim initiates multisig setup with crafted key
  4. Execution
    Wallet calls Ed25519PublicKey::delinearize()
  5. Persist
    .unwrap() panics on failed decompression
  6. Impact
    Wallet process crashes

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V16 - Security Logging and Error Handling Reachable assertion handling
Exploitation Conditions

Exploitation requires three concurrent conditions: (1) the victim must be running a Nimiq browser wallet (web-client WASM) or desktop wallet application built on nimiq-wallet with nimiq-keys < 1.4.0; (2) the victim must be initiating or accepting a multisig key setup (not a normal single-sig transaction); and (3) the attacker must have successfully delivered a crafted 32-byte value - one that passes length validation but fails Edwards25519 curve point decompression - as a purported co-signer key that the victim includes in the multisig configuration. CVSS UI:R confirms user interaction is required; the attacker cannot trigger the crash purely remotely without the victim actively performing a multisig setup step. Exploitation is categorically prevented against validator nodes, consensus nodes, mempool, and all server-side Nimiq infrastructure because those components do not invoke the multisig delinearization code path. Impact is bounded to a client-side process crash with no code execution, no data exfiltration, and no persistence.

Impact

The CVSS 4.3 Medium score with vector AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L accurately captures the constrained nature of this issue: availability impact is limited (A:L) to the local wallet process rather than any shared infrastructure, user interaction is required (UI:R), and scope is unchanged (S:U). The network attack vector (AV:N) reflects that the crafted key can be delivered over a network channel, not that the crash is directly triggerable without user action. No EPSS score was provided in the input data, preventing quantitative exploitation probability assessment. No CISA KEV listing and no identified public exploit code suggest this has not been weaponized at scale. The practical real-world risk is low: the attacker must socially engineer the victim into including a crafted public key in a multisig arrangement, and the impact is limited to a wallet application crash with no code execution, data exfiltration, or persistence. The CVSS vector and vendor advisory are consistent - there is no conflicting signal between them.

Exploit ScenarioDerived

An attacker constructs a 32-byte value that satisfies the nimiq-keys byte-length check but does not decompress to a valid Edwards25519 curve point, then delivers it to a victim as a purported co-signer public key via a chat message, malicious multisig invitation link, or compromised key-sharing channel. When the victim opens their Nimiq browser or desktop wallet and attempts to configure a multisig arrangement including the crafted key, the wallet calls Ed25519PublicKey::delinearize(), the .unwrap() on failed curve point decompression panics, and the wallet process - or browser tab - crashes immediately. No public exploit code has been identified at time of analysis, but the attack primitive is conceptually straightforward given the patch diff reveals the exact failure point.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – May 21, 2026

Process crash in the nimiq-keys Rust crate (versions below 1.4.0) occurs when the Ed25519 multisig delinearization path receives a 32-byte public key that is length-valid but does not represent a valid point on the Edwards25519 curve, triggering a Rust .unwrap() panic that kills the hosting wallet process. Affected users are those running the Nimiq web-client WASM library or nimiq-wallet crate who can be persuaded by an attacker to include a crafted key in a multisig setup; validator nodes and all consensus infrastructure are explicitly out of scope. No public exploit has been identified at time of analysis, and no KEV listing exists, indicating this has not been broadly weaponized.

RemediationAI

Upgrade nimiq-keys to version 1.4.0 or later, the confirmed vendor-released patch that resolves both the primary panic in Ed25519PublicKey::delinearize() and the secondary panic in Commitment::From<[u8; 32]> by replacing .unwrap() calls with proper Result-based error propagation. The patch is available via PR https://github.com/nimiq/core-rs-albatross/pull/3713, commit https://github.com/nimiq/core-rs-albatross/commit/3bc449a8138960c4de6bfd506bad1730c621d4de, and the tagged release at https://github.com/nimiq/core-rs-albatross/releases/tag/v1.4.0. No code-level workaround exists short of the patch. As a behavioral mitigation prior to patching, wallet users should restrict multisig operations exclusively to public keys obtained from trusted and independently verified sources, which reduces the attack surface by limiting the attacker's key-delivery vector but does not eliminate the underlying vulnerability.

Affected Packages

cargo nimiq-keys fix: 1.4.0

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 package is the nimiq-keys Rust crate (pkg:rust/nimiq-keys), specifically the multisig code in keys/src/multisig/mod.rs and keys/src/multisig/commitment.rs. Ed25519 uses points on the Edwards25519 elliptic curve; a 32-byte byte sequence can be syntactically well-formed (passing length checks) without being a valid compressed curve point. The original Ed25519PublicKey construction validated only byte length, not curve membership (the CWE-617 'Reachable Assertion' root cause class), so a malformed key could traverse the full call chain to Ed25519PublicKey::delinearize(), where .unwrap() on the failed curve point decompression would panic the Rust process. A secondary identical panic existed in Commitment::From<[u8; 32]>. The patch (PR #3713, commit 3bc449a) converts From to TryFrom and propagates errors as Result<_, PartialSignatureError::InvalidCurvePoint> throughout the multisig call chain, eliminating all reachable panics in this path.

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

Vendor (https://github.com/nimiq/core-rs-albatross) PRIMARY 4.3 MEDIUM
AV:N/AC:L/PR:N/UI:R/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

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
Low

DescriptionCVE.org

Impact

A denial-of-service vulnerability exists in the Ed25519 multisig delinearization code path. Ed25519PublicKey::delinearize() in keys/src/multisig/mod.rs called .unwrap() on curve point decompression, which panics when a public key is constructed from 32 bytes that do not represent a valid point on the Ed25519 curve. Ed25519PublicKey construction only validates byte length, not curve membership, so invalid keys can reach the delinearization path and crash the hosting process.

A secondary panic existed in Commitment::From<[u8; 32]>, which similarly called .unwrap() on a failing curve point decompression.

Who is affected: Browser and desktop wallet users of the web-client WASM library and the nimiq-wallet crate, when initiating a multisig operation with an attacker-supplied public key. An attacker must convince the user to include a crafted public key in a multisig setup - this is not a remotely triggerable node/validator crash.

Who is NOT affected: Validator nodes, consensus, blockchain, mempool, and networking code. There is no on-chain multisig account type; multisig is a purely client-side construct, and no validator/consensus code calls the multisig delinearization path.

Patches

See PR.

Workarounds

No code-level workaround exists short of the patch. Users of wallet applications can mitigate exposure by only performing multisig operations with public keys received from trusted sources.

Resources

  • Affected code: keys/src/multisig/mod.rs, keys/src/multisig/commitment.rs

Threat Intelligence Overview

EPSS Score
0.0%
Top 90% exploitable
Threat Intel
1
1 source
Data Quality
5 sources
Confidence: Medium
NVD CVE.org EPSS GHSA GitHub VulDB

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

22
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +22
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

Affected Products (CPE)CVE.org

pkg:rust/nimiq-keys

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy