# CVE-2023-49798: Duplicated execution of subcalls in OpenZeppelin Contracts

- Severity: Medium 5.9 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N`
- 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.54%, higher than 47% of CVEs (2026-12-01)
- Published: 2023-12-08T23:35:24.467Z
- Modified: 2026-09-10T03:49:59.502Z
- Also known as: GHSA-699g-q6qh-q4v8
- Weaknesses: CWE-670
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- OpenZeppelin openzeppelin-contracts: = 4.9.4
- @openzeppelin/contracts (npm): from 4.9.4 before 4.9.5
- @openzeppelin/contracts-upgradeable (npm): from 4.9.4 before 4.9.5
- openzeppelin contracts: 4.9.4
- openzeppelin contracts_upgradeable: 4.9.4

## Every score

- GitHub_M: CVSS:3.1 5.9 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N`
- GitHub: CVSS:3.1 5.9 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N`

## References

- <https://github.com/OpenZeppelin/openzeppelin-contracts/security/advisories/GHSA-699g-q6qh-q4v8> (vendor-advisory, web)
- <https://github.com/OpenZeppelin/openzeppelin-contracts/commit/88ac712e06832bce73b41e8166cded2729e25205> (patch, 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)

## Sources

- CVE List: [CVE-2023-49798](https://www.cve.org/CVERecord?id=CVE-2023-49798), CVE Terms of Use, modified 2024-08-02
- GitHub Advisory Database: [GHSA-699g-q6qh-q4v8](https://github.com/advisories/GHSA-699g-q6qh-q4v8), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2023-49798](https://nvd.nist.gov/vuln/detail/CVE-2023-49798), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2023-49798 · Whole record: https://cve.day/CVE-2023-49798.json · Rebuilt by cve.day 2026-11-25T22:58:31.169Z
