Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-34064— nimiq-account: Vesting insufficient funds error can panic

Quick assessment

Affected
nimiq nimiq-account
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Nimiq是Nimiq开源的一个Albatross协议的Rust实现。 Nimiq 1.3.0之前版本存在数字错误漏洞,该漏洞源于nimiq-account中VestingContract::can_change_balance在new_balance < min_cap时返回AccountError::InsufficientFunds,但它使用balance: self.balance - min_cap构造错误。Coin::sub在下溢时触发panic,因此如果攻击者能达到min_cap > bal

CVSS 5.3 · Medium EPSS 0.49% · P40

Possible ATT&CK Techniques 1 AI

T1496 · Resource Hijacking
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-34064

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
nimiq-account: Vesting insufficient funds error can panic
Source: CVE Program / CVE List V5
Vulnerability 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: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
Source: CVE Program / CVE List V5
Vulnerability Type
整数下溢(超界折返)
Source: CVE Program / CVE List V5
Vulnerability Title
Nimiq 数字错误漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Nimiq是Nimiq开源的一个Albatross协议的Rust实现。 Nimiq 1.3.0之前版本存在数字错误漏洞,该漏洞源于nimiq-account中VestingContract::can_change_balance在new_balance < min_cap时返回AccountError::InsufficientFunds,但它使用balance: self.balance - min_cap构造错误。Coin::sub在下溢时触发panic,因此如果攻击者能达到min_cap > bal
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
nimiq nimiq-account < 1.3.0 -

II. Public POCs for CVE-2026-34064

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-34064

请登录查看更多情报信息。

Patches & Fixes for CVE-2026-34064 (1)

Same Patch Batch · nimiq · 2026-04-22 · 8 CVEs total

CVE-2026-33471 9.6 CRITICAL nimiq-block has skip block quorum bypass via out-of-range BitSet indices & u16 truncation
CVE-2026-34063 7.5 HIGH network-libp2p: Peer can crash the node by opening discovery protocol substream twice
CVE-2026-34065 7.5 HIGH nimiq-primitives: Node crash due to missing interlink validation in election macro block p
CVE-2026-34068 6.8 MEDIUM nimiq-transaction: UpdateValidator transactions allows voting key change without proof-of-
CVE-2026-34062 5.3 MEDIUM Nimiq has Allocation of Resources Without Limits or Throttling in its libp2p request/respo
CVE-2026-34066 5.3 MEDIUM nimiq-blockchain: Peer-triggerable panic during history sync
CVE-2026-34067 3.1 LOW nimiq-transaction vulnerable to panic via `HistoryTreeProof` length mismatch

IV. Related Vulnerabilities

V. Comments for CVE-2026-34064

No comments yet


Leave a comment