# CVE-2026-73645: OpenZeppelin Confidential Contracts ERC7984ERC20Wrapper: once a wrapper is filled, subsequent wrap requests do not revert and result in loss of funds.

- Severity: Medium 6.6 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.38%, higher than 34% of CVEs (2026-12-02)
- Published: 2026-01-05T19:57:46.000Z
- Modified: 2026-10-24T15:10:00.190Z
- Also known as: GHSA-hqf9-8xv5-x8xw
- Weaknesses: CWE-190
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- OpenZeppelin openzeppelin-confidential-contracts: < 0.3.1
- @openzeppelin/confidential-contracts (npm): before 0.3.1

## Every score

- GitHub_M: CVSS:4.0 6.6 Medium `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`
- GitHub: CVSS:4.0 Medium `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`

## References

- <https://github.com/OpenZeppelin/openzeppelin-confidential-contracts/security/advisories/GHSA-hqf9-8xv5-x8xw> (web)
- <https://github.com/OpenZeppelin/openzeppelin-confidential-contracts/pull/271>
- <https://github.com/OpenZeppelin/openzeppelin-confidential-contracts/commit/c620d4386021dde63ae3ea1507dee8543791134a>
- <https://github.com/OpenZeppelin/openzeppelin-confidential-contracts/releases/tag/v0.3.1>
- <https://github.com/OpenZeppelin/openzeppelin-confidential-contracts> (package)

## Sources

- CVE List: [CVE-2026-73645](https://www.cve.org/CVERecord?id=CVE-2026-73645), CVE Terms of Use, modified 2026-08-14
- GitHub Advisory Database: [GHSA-hqf9-8xv5-x8xw](https://github.com/advisories/GHSA-hqf9-8xv5-x8xw), CC-BY-4.0, modified 2026-08-13
- NVD: [CVE-2026-73645](https://nvd.nist.gov/vuln/detail/CVE-2026-73645), Public domain, modified 2026-10-24

---

Page: https://cve.day/CVE-2026-73645 · Whole record: https://cve.day/CVE-2026-73645.json · Rebuilt by cve.day 2026-11-25T22:59:32.819Z
