CVE-2022-39384 in Openzeppelin Contracts and 1 more product
OpenZeppelin Contracts is a library for secure smart contract development. Before version 4.4.1 but after 3.2.0, initializer functions that are invoked separate from contract creation (the most prominent example being minimal proxies) may be reentered if they make an untrusted non-view external call. Once an initial...
Affects 2 products from 1 vendor. Facts below cite their sources.
Remotely exploitable over the network, high complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Openzeppelin | Contracts | ≥ 3.2.0, < 4.4.1 |
| Openzeppelin | Contracts Upgradeable | ≥ 3.2.0, < 4.4.1 |
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.
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official description
OpenZeppelin Contracts is a library for secure smart contract development. Before version 4.4.1 but after 3.2.0, initializer functions that are invoked separate from contract creation (the most prominent example being minimal proxies) may be reentered if they make an untrusted non-view external call. Once an initializer has finished running it can never be re-executed. However, an exception put in place to support multiple inheritance made reentrancy possible in the scenario described above, breaking the expectation that there is a single execution. Note that upgradeable proxies are commonly initialized together with contract creation, where reentrancy is not feasible, so the impact of this issue is believed to be minor. This issue has been patched, please upgrade to version 4.4.1. As a workaround, avoid untrusted external calls during initialization.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2022-39384 |
|---|---|
| BreachSpider ID | BS-2022-GLOBAL-331542-M |
| CVSS vector | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L |
| Published | 2022-11-04 |
| Last modified | 2026-06-17 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-665: CWE-665
Related attack patterns (CAPEC)
CAPEC-29 Leveraging Time-of-Check and Time-of-Use (TOCTOU) Race Conditions via CWE-665
CAPEC-26 Leveraging Race Conditions via CWE-665
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
CVE-2022-39384 affects OpenZeppelin Contracts versions before 4.4.1 but after 3.2.0, where initializer functions can be reentered if they make an untrusted non-view external call, potentially leading to unauthorized access or state manipulation.
Attackers can exploit this vulnerability by deploying a minimal proxy that interacts with the vulnerable contract. They can then trigger the initializer function again, bypassing the intended one-time execution mechanism, leading to potential reentrancy attacks.
Questions
What is CVE-2022-39384?
CVE-2022-39384 affects OpenZeppelin Contracts versions before 4.4.1 but after 3.2.0, where initializer functions can be reentered if they make an untrusted non-view external call, potentially leading to unauthorized access or state manipulation.
What is the CVSS score for CVE-2022-39384?
CVE-2022-39384 has CVSS 5.6 (Medium). Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L. EPSS: 0.8%.
Is CVE-2022-39384 actively exploited?
No confirmed active exploitation of CVE-2022-39384 as of 2026-09-25.
How do I remediate CVE-2022-39384?
Priority: MEDIUM.
What systems are affected by CVE-2022-39384?
CVE-2022-39384 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 2026-06-17.