# CVE-2022-39384: OpenZeppelin Contracts initializer reentrancy may lead to double initialization

- Severity: Medium 5.6 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L`
- 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.68%, higher than 53% of CVEs (2026-12-01)
- Published: 2021-12-14T21:47:33.000Z
- Modified: 2026-07-16T03:59:27.534Z
- Also known as: GHSA-88g8-f5mf-f5rj, GHSA-9c22-pwxw-p6hx
- Related: CVE-2021-46320
- Weaknesses: CWE-665
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- OpenZeppelin openzeppelin-contracts: >= 3.2.0, < 4.4.1
- @openzeppelin/contracts (npm): before 4.4.1; from 3.2.0 before 4.4.1
- @openzeppelin/contracts-upgradeable (npm): from 3.2.0 before 4.4.1
- openzeppelin contracts: from 3.2.0 before 4.4.1
- openzeppelin contracts_upgradeable: from 3.2.0 before 4.4.1

## Every score

- GitHub_M: CVSS:3.1 5.6 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L`
- GitHub: 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`
- GitHub: CVSS:3.1 5.6 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L`
- NVD: CVSS:3.1 5.6 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L`

## References

- <https://github.com/OpenZeppelin/openzeppelin-contracts/security/advisories/GHSA-9c22-pwxw-p6hx> (third-party-advisory, web)
- <https://github.com/OpenZeppelin/openzeppelin-contracts/pull/3006> (patch, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-46320> (advisory)
- <https://github.com/OpenZeppelin/openzeppelin-contracts> (package)
- <https://github.com/OpenZeppelin/openzeppelin-contracts/releases/tag/v4.4.1> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2022-39384> (advisory)

## Sources

- CVE List: [CVE-2022-39384](https://www.cve.org/CVERecord?id=CVE-2022-39384), CVE Terms of Use, modified 2025-04-23
- GitHub Advisory Database: [GHSA-88g8-f5mf-f5rj](https://github.com/advisories/GHSA-88g8-f5mf-f5rj), CC-BY-4.0, modified 2026-07-16
- GitHub Advisory Database: [GHSA-9c22-pwxw-p6hx](https://github.com/advisories/GHSA-9c22-pwxw-p6hx), CC-BY-4.0, modified 2026-07-16
- NVD: [CVE-2022-39384](https://nvd.nist.gov/vuln/detail/CVE-2022-39384), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-39384 · Whole record: https://cve.day/CVE-2022-39384.json · Rebuilt by cve.day 2026-11-25T22:58:16.238Z
