Integer overflow in Openzeppelin Openzeppelin-Confidential-Contracts
CVE-2026-73645
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.
Vulnerability class: Integer Overflow
Published · last modified .
EPSS exploit prediction
EPSS: 0.005 (42.1th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 42nd percentile — 42.1% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.004 · newest: 0.005 · change: +0.001
Affected products
- Openzeppelin Openzeppelin-Confidential-Contracts — versions < 0.3.1
Weakness classification (CWE)
References
- github.com/OpenZeppelin/openzeppelin-confidential-contracts/commit/c620d4386021…
- github.com/OpenZeppelin/openzeppelin-confidential-contracts/pull/271
- github.com/OpenZeppelin/openzeppelin-confidential-contracts/releases/tag/v0.3.1
- github.com/OpenZeppelin/openzeppelin-confidential-contracts/security/advisories…