CVE-2026-73645: CWE-190: Integer Overflow or Wraparound in OpenZeppelin openzeppelin-confidential-contracts
CVE-2026-73645 is an integer overflow vulnerability in OpenZeppelin Confidential Contracts versions prior to 0.3.1. The ERC7984 contract uses an euint64 value to track confidential total supply, and an overflowing _mint operation can fail silently. This leads to a mismatch where users can transfer the underlying token without receiving the corresponding confidential wrapped token, potentially causing loss of funds when wrapping tokens beyond approximately 18.4 trillion. The issue is fixed in version 0.3.1.
AI Analysis
Technical Summary
OpenZeppelin Confidential Contracts, an experimental library for the Zama fhEVM, had an integer overflow issue in the ERC7984 contract's confidential total supply tracking using an euint64 value. The internal _mint operation could silently fail on overflow, and the wrap and onTransferReceived functions did not handle this failure. As a result, users could transfer the underlying token without receiving the wrapped confidential token, causing potential loss of funds when wrapping requests exceed about 18.4 trillion tokens. This vulnerability is addressed in version 0.3.1.
Potential Impact
The silent failure of the _mint operation on integer overflow can cause users to lose funds by transferring underlying tokens without receiving the corresponding confidential wrapped tokens. This affects token wrapping operations beyond approximately 18.4 trillion tokens, potentially leading to financial loss for users interacting with the affected contracts.
Mitigation Recommendations
Upgrade to OpenZeppelin Confidential Contracts version 0.3.1 or later, where this integer overflow issue is fixed. No other mitigation is indicated or required.
CVE-2026-73645: CWE-190: Integer Overflow or Wraparound in OpenZeppelin openzeppelin-confidential-contracts
Description
CVE-2026-73645 is an integer overflow vulnerability in OpenZeppelin Confidential Contracts versions prior to 0.3.1. The ERC7984 contract uses an euint64 value to track confidential total supply, and an overflowing _mint operation can fail silently. This leads to a mismatch where users can transfer the underlying token without receiving the corresponding confidential wrapped token, potentially causing loss of funds when wrapping tokens beyond approximately 18.4 trillion. The issue is fixed in version 0.3.1.
CVSS v4.0
Score 6.6medium
Affected software
pkg:github/openzeppelin/openzeppelin-confidential-contractsRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
OpenZeppelin Confidential Contracts, an experimental library for the Zama fhEVM, had an integer overflow issue in the ERC7984 contract's confidential total supply tracking using an euint64 value. The internal _mint operation could silently fail on overflow, and the wrap and onTransferReceived functions did not handle this failure. As a result, users could transfer the underlying token without receiving the wrapped confidential token, causing potential loss of funds when wrapping requests exceed about 18.4 trillion tokens. This vulnerability is addressed in version 0.3.1.
Potential Impact
The silent failure of the _mint operation on integer overflow can cause users to lose funds by transferring underlying tokens without receiving the corresponding confidential wrapped tokens. This affects token wrapping operations beyond approximately 18.4 trillion tokens, potentially leading to financial loss for users interacting with the affected contracts.
Mitigation Recommendations
Upgrade to OpenZeppelin Confidential Contracts version 0.3.1 or later, where this integer overflow issue is fixed. No other mitigation is indicated or required.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-08-13T14:04:09.604Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a7e08efbf8831d5399b79a5
Added to database: 08/13/2026, 18:11:59 UTC
Last enriched: 08/13/2026, 18:27:42 UTC
Last updated: 08/14/2026, 00:25:31 UTC
Views: 7
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.