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

Goal: 1000 CNY · Raised: 1000 CNY

100.0%

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

CVSS 5.3 · Medium EPSS 0.04% · P11
Get alerts for future matching vulnerabilitiesLog 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: NVD (National Vulnerability Database)
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: NVD (National Vulnerability Database)
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
Source: NVD (National Vulnerability Database)
Vulnerability Type
整数下溢(超界折返)
Source: NVD (National Vulnerability Database)
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

VendorProductAffected VersionsCPESubscribe
nimiqnimiq-account < 1.3.0 -

II. Public POCs for CVE-2026-34064

#POC DescriptionSource LinkShenlong Link
AI-Generated POCPremium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-34064

登录查看更多情报信息。

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

CVE-2026-334719.6 CRITICALnimiq-block has skip block quorum bypass via out-of-range BitSet indices & u16 truncation
CVE-2026-340637.5 HIGHnetwork-libp2p: Peer can crash the node by opening discovery protocol substream twice
CVE-2026-340657.5 HIGHnimiq-primitives: Node crash due to missing interlink validation in election macro block p
CVE-2026-340686.8 MEDIUMnimiq-transaction: UpdateValidator transactions allows voting key change without proof-of-
CVE-2026-340625.3 MEDIUMNimiq has Allocation of Resources Without Limits or Throttling in its libp2p request/respo
CVE-2026-340665.3 MEDIUMnimiq-blockchain: Peer-triggerable panic during history sync
CVE-2026-340673.1 LOWnimiq-transaction vulnerable to panic via `HistoryTreeProof` length mismatch

IV. Related Vulnerabilities

V. Comments for CVE-2026-34064

No comments yet


Leave a comment