CVE-2023-49798 in Openzeppelin Contracts and 1 more product
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/[email protected]` and `@openzeppelin/[email protected]`, all subcalls are executed twice. C...
Affects 2 products from 1 vendor. Facts below cite their sources.
Remotely exploitable over the network, low complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, no confidentiality impact, full integrity impact, no availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Openzeppelin | Contracts | 4.9.4 |
| Openzeppelin | Contracts Upgradeable | 4.9.4 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
No official vendor advisory link on record. See the CVE record.
Vendor PSIRT: [email protected]
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official 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/[email protected]` and `@openzeppelin/[email protected]`, 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.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2023-49798 |
|---|---|
| BreachSpider ID | BS-2023-GLOBAL-024247-H |
| CVSS vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
| Published | 2023-12-09 |
| Last modified | 2024-11-21 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-670: CWE-670
Analysis AI-written, not human-reviewed
A merge issue in OpenZeppelin Contracts 4.9.4 and 4.9.4-upgradeable led to line duplication in Multicall.sol, causing all subcalls to execute twice. This can result in unintended duplication of operations such as asset transfers.
The vulnerability arises from a merge conflict resolution error during the porting of the 5.0.1 patch to the 4.9 branch, resulting in duplicated lines of code in Multicall.sol. This duplication causes all subcalls made through the multicall function to be executed twice, potentially leading to unintended consequences such as double asset transfers.
Questions
What is CVE-2023-49798?
A merge issue in OpenZeppelin Contracts 4.9.4 and 4.9.4-upgradeable led to line duplication in Multicall.sol, causing all subcalls to execute twice. This can result in unintended duplication of operations such as asset transfers.
What is the CVSS score for CVE-2023-49798?
CVE-2023-49798 has CVSS 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N. EPSS: 0.6%.
Is CVE-2023-49798 actively exploited?
No confirmed active exploitation of CVE-2023-49798 as of 2026-05-30.
How do I remediate CVE-2023-49798?
Priority: HIGH. PSIRT: [email protected]
What systems are affected by CVE-2023-49798?
CVE-2023-49798 affects Openzeppelin Contracts, Contracts Upgradeable.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Openzeppelin","product":"Contracts","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2024-11-21.