CVE-2026-73645

Source
https://cve.org/CVERecord?id=CVE-2026-73645
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-73645.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-73645
Aliases
Published
2026-08-13T17:54:42.793Z
Modified
2026-08-16T03:31:12.912126044Z
Severity
  • 6.6 (Medium) CVSS_V4 - 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 CVSS Calculator
Summary
OpenZeppelin Confidential Contracts ERC7984ERC20Wrapper: once a wrapper is filled, subsequent wrap requests do not revert and result in loss of funds.
Details

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.

Database specific
{
    "cwe_ids": [
        "CWE-190"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/73xxx/CVE-2026-73645.json",
    "cna_assigner": "GitHub_M"
}
References

Affected packages

Git / github.com/openzeppelin/openzeppelin-confidential-contracts

Affected ranges

Type
GIT
Repo
https://github.com/openzeppelin/openzeppelin-confidential-contracts
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Fixed
Database specific
Show details
{
    "source": [
        "AFFECTED_FIELD",
        "REFERENCES"
    ],
    "extracted_events": [
        {
            "introduced": "0"
        },
        {
            "fixed": "0.3.1"
        }
    ]
}

Affected versions

v0.*
v0.3.0
v0.3.0-rc.0

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-73645.json"