BREACHSPIDER
CVE databaseVendorsIntelFeaturesDevelopersDocsPricingSign inStart free trial

CVE-2026-34064 in Nimiq Proof-Of-Stake

High 8.2

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 underfl...

Affects 1 product from 1 vendor. Facts below cite their sources.

CVSS 3.18.2
EPSS0.5%
EPSS percentile36th
FixUnknown

Remotely exploitable over the network, low complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, no confidentiality impact, full availability impact.

Affected products and versions

VendorProductAffected versions
Nimiq Nimiq Proof-Of-Stake < 1.3.0

A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.

Fix and vendor advisory

No official vendor advisory link on record. See the CVE record.

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitNot confirmed

Official description

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.

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2026-34064
BreachSpider IDBS-2026-GLOBAL-151115-H
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H
Published2026-04-22
Last modified2026-10-26
Weakness (CWE)
SourceNVD

Weakness definitions

CWE-191: CWE-191

Analysis AI-written, not human-reviewed

A vulnerability in nimiq-account prior to version 1.3.0 can cause a node crash due to an underflow error in the VestingContract::can_change_balance function.

An attacker can exploit this vulnerability by reaching a state where the minimum capital requirement (min_cap) exceeds the current balance, leading to an underflow error when constructing the AccountError::InsufficientFunds error. This underflow causes the Coin::sub function to panic, resulting in a node crash.

Questions

What is CVE-2026-34064?

A vulnerability in nimiq-account prior to version 1.3.0 can cause a node crash due to an underflow error in the VestingContract::can_change_balance function.

What is the CVSS score for CVE-2026-34064?

CVE-2026-34064 has CVSS 8.2 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H. EPSS: 0.5%.

Is CVE-2026-34064 actively exploited?

No confirmed active exploitation of CVE-2026-34064 as of 2026-11-03.

How do I remediate CVE-2026-34064?

Priority: HIGH.

What systems are affected by CVE-2026-34064?

CVE-2026-34064 affects Nimiq Nimiq Proof-Of-Stake.

For developers and AI agents

Run this check from your own code or agent

REST API

curl -s https://breachspider.com/api/v1/assets/correlate-cves \
 -H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
 -H "Content-Type: application/json" \
 -d '{"assets":[{"asset_id":"dev-1","vendor":"Nimiq","product":"Nimiq Proof-Of-Stake","version":"1.0"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-10-26.