CVE-2026-73645

Medium

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.

SeverityMedium
CVSS6.6
Exploit probability—
Product@openzeppelin/confidential-contracts
PublishedAug 13, 2026
First seenAug 13, 2026

How to fix

Update
  • @openzeppelin/confidential-contracts0.3.1 or later

Affected products

ProductAffected versionsFixed in
@openzeppelin/confidential-contractsnpmv < 0.3.10.3.1

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.