{"id":"CVE-2026-73645","aliases":["GHSA-hqf9-8xv5-x8xw"],"url":"https://o3.security/vulnerability/CVE-2026-73645","summary":"OpenZeppelin Confidential Contracts ERC7984ERC20Wrapper: once a wrapper is filled, subsequent wrap requests do not revert and result in loss of funds.","details":"### Impact\nThe `ERC7984` contract tracks total supply using a confidential `euint64` value. If a call to the internal `_mint` function would result in the total supply overflowing, the call fails silently. The `wrap` and `onTransferReceived` functions in `ERC7984ERC20Wrapper` assume that `_mint` won't fail silently and do not check the return value. If the mint function fails silently, users do not receive the confidential wrapped token but still send the underlying token, resulting in a loss of funds.\n\nBy default (without overriding `rate()`, the wrapper fills up after wrapping ~18.4 trillion tokens. There are very few tokens of value with sufficient total supply to result in the filling of the wrapper. That said, we recommend upgrading to `0.3.1` to remove this issue. \n\n### Patches\nThis issue has been patched in the `0.3.1` release.","published":"2026-08-13T17:54:42.793Z","modified":"2026-09-20T11:30:48.473282517Z","cvss":null,"epss":null,"cisaKev":null,"exploitsKnown":null,"affectedPackages":[{"ecosystem":"npm","name":"@openzeppelin/confidential-contracts","fixedVersion":"0.3.1"}],"fix":{"url":"https://github.com/OpenZeppelin/openzeppelin-confidential-contracts/commit/c620d4386021dde63ae3ea1507dee8543791134a","label":"OpenZeppelin/openzeppelin-confidential-contracts@c620d43"},"references":[{"type":"WEB","url":"https://github.com/OpenZeppelin/openzeppelin-confidential-contracts/releases/tag/v0.3.1"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/73xxx/CVE-2026-73645.json"},{"type":"ADVISORY","url":"https://github.com/OpenZeppelin/openzeppelin-confidential-contracts/security/advisories/GHSA-hqf9-8xv5-x8xw"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-73645"},{"type":"FIX","url":"https://github.com/OpenZeppelin/openzeppelin-confidential-contracts/commit/c620d4386021dde63ae3ea1507dee8543791134a"},{"type":"FIX","url":"https://github.com/OpenZeppelin/openzeppelin-confidential-contracts/pull/271"},{"type":"PACKAGE","url":"https://github.com/OpenZeppelin/openzeppelin-confidential-contracts"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-09-20T11:30:48.473282517Z"}}