CVE-2023-49798
HIGH 7.5CVSS 3.1OpenZeppelin Contracts and Contracts Upgradeable duplicated execution of subcalls in v4.9.4
OpenZeppelin Contracts is a library for smart contract development. A merge issue when porting the 5.0.1 patch to the 4.9 branch caused a line duplication. In the version of Multicall.sol released in @openzeppelin/contracts@4.9.4 and @openzeppelin/contracts-upgradeable@4.9.4, all subcalls are executed twice. Concretely, this exposes a user to unintentionally duplicate operations like asset transfers. The duplicated delegatecall was removed in version 4.9.5. The 4.9.4 version is marked as deprecated. Users are advised to upgrade. There are no known workarounds for this issue.
- Published
- 9 Dec 2023
- Last modified
- 10 Sep 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Modified
- Weakness
- CWE-670
- Also known as
- GHSA-699g-q6qh-q4v8
- Sources
- NVDJSONOSV GHSA-699g-q6qh-q4v8JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | MEDIUM 5.9 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.9 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | openzeppelin | contractscpe:2.3:a:openzeppelin:contracts:4.9.4:*:*:*:*:node.js:*:* |
= 4.9.4 | |
| NVD | openzeppelin | contracts_upgradeablecpe:2.3:a:openzeppelin:contracts_upgradeable:4.9.4:*:*:*:*:node.js:*:* |
= 4.9.4 | |
| OSV | npm | @openzeppelin/contracts | >= 4.9.4, < 4.9.5 | 4.9.5 |
| OSV | npm | @openzeppelin/contracts-upgradeable | >= 4.9.4, < 4.9.5 | 4.9.5 |
References
- https://github.com/OpenZeppelin/openzeppelin-contracts/commit/88ac712e06832bce73b41e8166cded2729e25205 · Patch, WEB
- https://github.com/OpenZeppelin/openzeppelin-contracts/security/advisories/GHSA-699g-q6qh-q4v8 · Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2023-49798 · ADVISORY
- https://github.com/OpenZeppelin/openzeppelin-contracts-upgradeable/commit/31f9fb9d171f60b2271b2b9c6f62d43302bf9489 · WEB
- https://github.com/OpenZeppelin/openzeppelin-contracts · PACKAGE
History
- 25 Nov 2026 20:37 UTC · NVD: first stored (published 9 Dec 2023)
- 25 Nov 2026 20:10 UTC · OSV: first stored (published 12 Dec 2023)