CVE Catalog

CVE-2026-73645

MediumCVSS 6.6
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.38%

32th percentile - higher than 32% of all known CVEs

Summary

OpenZeppelin Confidential Contracts before version 0.3.1 has a vulnerability in the ERC7984 contract where the _mint operation can silently fail due to overflow, and the wrap and onTransferReceived functions do not handle this failure. A user can transfer the underlying token without receiving the corresponding confidential wrapped token, leading to loss of funds after approximately 18.4 trillion tokens with the default rate().

Risk Assessment

Risk of financial loss for users wrapping tokens in applications using this contract.

Recommendation

Upgrade to version 0.3.1 or later, which includes the fix.

Original NVD description (English source)

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 data from NVD (NIST) · CISA KEV · EPSS