Vesting Contract Underflow Vulnerability in Nimiq's Rust Implementation
CVE-2026-34064
5.3MEDIUM
What is CVE-2026-34064?
Nimiq's Rust implementation contains a vulnerability within the VestingContract that can be exploited to cause a node crash. This occurs when the precondition min_cap exceeds the balance, leading to an underflow during error handling. As attackers can create a vesting contract without proper validation of total_amount, they can orchestrate an outgoing transaction that triggers a panic in the node during mempool admission. It is essential for users to upgrade to version 1.3.0 or later to mitigate this risk, as no workarounds are available.
Affected Version(s)
nimiq-account < 1.3.0
