Vulnerability Description
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.
Related Weaknesses (CWE)
References
- https://github.com/OpenZeppelin/openzeppelin-confidential-contracts/commit/c620d
- https://github.com/OpenZeppelin/openzeppelin-confidential-contracts/pull/271
- https://github.com/OpenZeppelin/openzeppelin-confidential-contracts/releases/tag
- https://github.com/OpenZeppelin/openzeppelin-confidential-contracts/security/adv
FAQ
What is CVE-2026-73645?
CVE-2026-73645 is a documented vulnerability. 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 val...
How severe is CVE-2026-73645?
CVSS scoring is not yet available for CVE-2026-73645. Check NVD for updates.
Is there a patch for CVE-2026-73645?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.