{"id":"CVE-2026-73645","published":"2026-08-13T17:54:42Z","modified":"2026-08-14T18:09:13Z","title":"OpenZeppelin Confidential Contracts ERC7984ERC20Wrapper: once a wrapper is filled, subsequent wrap requests do not…","vendor":"OpenZeppelin","product":"openzeppelin-confidential-contracts","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.6,"severity":"MEDIUM","version":"4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N/E:U","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00524,"percentile":0.45332,"provenance":"source"},"cwes":[{"id":"CWE-190","name":"Integer Overflow or Wraparound"}],"references":[{"url":"https://github.com/OpenZeppelin/openzeppelin-confidential-contracts/security/advisories/GHSA-hqf9-8xv5-x8xw","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/OpenZeppelin/openzeppelin-confidential-contracts/pull/271","tags":["x_refsource_MISC"]},{"url":"https://github.com/OpenZeppelin/openzeppelin-confidential-contracts/commit/c620d4386021dde63ae3ea1507dee8543791134a","tags":["x_refsource_MISC"]},{"url":"https://github.com/OpenZeppelin/openzeppelin-confidential-contracts/releases/tag/v0.3.1","tags":["x_refsource_MISC"]}],"priority":{"score":13.7,"factors":[{"name":"EPSS percentile","points":9.07},{"name":"CVSS severity","points":4.62}]},"vendorSlug":"openzeppelin","affectedVersions":[{"vendor":"OpenZeppelin","product":"openzeppelin-confidential-contracts","versions":["< 0.3.1"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2026-08-14T17:41:19.442878Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"@openzeppelin/confidential-contracts","vulnerableRanges":["<0.3.1"],"patched":["0.3.1"],"from":["GHSA-hqf9-8xv5-x8xw"],"provenance":"source"}],"summary":{"text":"The flaw is in the ERC7984ERC20Wrapper extension of OpenZeppelin Confidential Contracts (openzeppelin-confidential-contracts), where the wrap and onTransferReceived functions fail to handle a silently failing internal _mint when the confidential total supply overflows, so underlying tokens can be transferred without the corresponding confidential wrapped tokens being issued. An attacker needs no privileges or user interaction on the network, and once the wrapper fills (around 18.4 trillion tokens with the default rate), subsequent wrap requests can cause loss of funds.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:41:51Z"},"euvd":{"id":"EUVD-2026-58188","exploited":false,"provenance":"source"}}