{"id":"CVE-2023-49798","published":"2023-12-08T23:35:24Z","modified":"2024-08-02T22:01:26Z","title":"Duplicated execution of subcalls in OpenZeppelin Contracts","vendor":"OpenZeppelin","product":"openzeppelin-contracts","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.9,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00543,"percentile":0.46537,"provenance":"source"},"cwes":[{"id":"CWE-670","name":"Always-Incorrect Control Flow Implementation"}],"references":[{"url":"https://github.com/OpenZeppelin/openzeppelin-contracts/security/advisories/GHSA-699g-q6qh-q4v8","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/OpenZeppelin/openzeppelin-contracts/commit/88ac712e06832bce73b41e8166cded2729e25205","tags":["x_refsource_MISC"]}],"priority":{"score":13.4,"factors":[{"name":"EPSS percentile","points":9.31},{"name":"CVSS severity","points":4.13}]},"vendorSlug":"openzeppelin","affectedVersions":[{"vendor":"OpenZeppelin","product":"openzeppelin-contracts","versions":["= 4.9.4"]}],"affected":[{"ecosystem":"npm","package":"@openzeppelin/contracts","vulnerableRanges":[">=4.9.4, <4.9.5"],"patched":["4.9.5"],"from":["GHSA-699g-q6qh-q4v8"],"provenance":"source"},{"ecosystem":"npm","package":"@openzeppelin/contracts-upgradeable","vulnerableRanges":[">=4.9.4, <4.9.5"],"patched":["4.9.5"],"from":["GHSA-699g-q6qh-q4v8"],"provenance":"source"}],"summary":{"text":"A duplicated line in the Multicall.sol contract of OpenZeppelin Contracts (openzeppelin-contracts) causes every subcall to execute twice in the 4.9.4 releases of the library and its upgradeable variant. An attacker with network access and no privileges can cause those duplicated operations to occur, such as asset transfers, though the attack complexity is high and the flaw affects users who interact with the contract without any user interaction required beyond normal use.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:44:14Z"},"euvd":{"id":"EUVD-2023-3124","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2023-34234","published":"2023-06-07","fixed":"4.9.1","kev":false},{"cve":"CVE-2023-34459","published":"2023-06-16","fixed":"4.9.2","kev":false},{"cve":"CVE-2023-40014","published":"2023-08-10","fixed":"4.9.3","kev":false},{"cve":"CVE-2023-49798","published":"2023-12-08","fixed":"4.9.5","kev":false},{"cve":"CVE-2024-27094","published":"2024-02-29","fixed":"5.0.2","kev":false,"link":{"from":"CVE-2023-49798","to":"CVE-2024-27094","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"npm:@openzeppelin/contracts","fromFixed":"4.9.5","toFixed":"4.9.6","daysApart":83},{"kind":"version-step","provenance":"source","package":"npm:@openzeppelin/contracts-upgradeable","fromFixed":"4.9.5","toFixed":"4.9.6","daysApart":83}]}},{"cve":"CVE-2025-54070","published":"2025-07-17","fixed":"5.4.0","kev":false}],"package":"npm:@openzeppelin/contracts"}}