CVE-2026-34064 json
nimiq-account: Vesting insufficient funds error can panic
published 6mo ago modified 14d ago also GHSA-vc34-39q2-m6q3 , EUVD-2026-25060
- cvss
- 5.3
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.3%
- EPSS 0.3% chance of exploitation in 30 days, percentile 20%
- public exploits
- 0
- none known
Summary
nimiq-account contains account primitives to be used in Nimiq's Rust implementation. Prior to version 1.3.0, `VestingContract::can_change_balance` returns `AccountError::InsufficientFunds` when `new_balance < min_cap`, but it constructs the error using `balance: self.balance - min_cap`. `Coin::sub` panics on underflow, so if an attacker can reach a state where `min_cap > balance`, the node crashes while trying to return an error. The `min_cap > balance` precondition is attacker-reachable because the vesting contract creation data (32-byte format) allows encoding `total_amount` without validating `total_amount <= transaction.value` (the real contract balance). After creating such a vesting contract, the attacker can broadcast an outgoing transaction to trigger the panic during mempool admission and block processing. The patch for this vulnerability is included as part of v1.3.0. No known workarounds are available.
Patch / fix
- nimiq nimiq_proof-of-stake 1.3.0
Is CVE-2026-34064 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerCISA SSVC
- Exploitation
- none
- Automatable
- yes
- Technical impact
- partial
- Assessed
- 6mo ago
Exploit prediction
0.28% chance of exploitation in the next 30 days, higher than 20% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N |
| NVD | 3.1 | 8.2 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H |
| GitHub | 3.1 | 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| crates.io | nimiq-account | <=0.2.0 |
no fix listed |
Affected products
- nimiq nimiq-account
Classification
- Weakness
-
- CWE-191 Integer Underflow (Wrap or Wraparound)
References
-
github.com
/nimiq/core-rs-albatross/pull/3658
web, issue-tracking, patch
-
github.com
/nimiq/core-rs-albatross/commit/4d01946f0b3d6c6e31786f91cdfb3eb902908da0
web, patch
-
github.com
/nimiq/core-rs-albatross/security/advisories/GHSA-vc34-39q2-m6q3
web, patch, vendor-advisory
-
github.com
/nimiq/core-rs-albatross/releases/tag/v1.3.0
web, release-notes
-
nvd.nist.gov
/vuln/detail/CVE-2026-34064
advisory
-
github.com
/nimiq/core-rs-albatross
package
Sources
- CVE List CVE-2026-34064
- GitHub Advisory GHSA-vc34-39q2-m6q3
- NVD CVE-2026-34064
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.