CVE-2026-73645: OpenZeppelin Confidential Contracts ERC7984ERC20Wrapper: once a wrapper is filled, subsequent wrap requests do not revert and result in loss of funds.
OpenZeppelin Confidential Contracts is an experimental library for developing applications on the Zama fhEVM. Prior to 0.3.1, the ERC7984 contract tracked confidential total supply with an euint64 value, and an overflowing internal mint operation could fail silently. The wrap and onTransferReceived functions in contracts/token/ERC7984/extensions/ERC7984ERC20Wrapper.sol did not handle that failure, so a user could transfer the underlying token without receiving the corresponding confidential wrapped token. With the default rate(), the wrapper fills after approximately 18.4 trillion tokens, and subsequent wrapping requests can cause loss of funds. This issue is fixed in version 0.3.1.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
OpenZeppelin Confidential Contracts ERC7984ERC20Wrapperto a version that resolves this vulnerability.Fixed in 0.3.1
Event History
Frequently Asked Questions
What is the severity of CVE-2026-73645?
CVE-2026-73645 has a risk rating of 44.
How do I fix CVE-2026-73645?
The vulnerability can be addressed by updating to OpenZeppelin Confidential Contracts version 0.3.1 or later.
What kind of issue is described in CVE-2026-73645?
CVE-2026-73645 describes an integer overflow vulnerability that can lead to loss of funds during wrap operations.
What is affected by CVE-2026-73645?
CVE-2026-73645 affects the ERC7984ERC20Wrapper contract in the OpenZeppelin Confidential Contracts library.
What should developers using OpenZeppelin Confidential Contracts be aware of regarding CVE-2026-73645?
Developers should ensure they are using the latest version of the library to avoid the risks associated with this vulnerability.