Security advisory
In OpenZeppelin <=v4.4.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, breaking the expectation that there is a single execution.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2021-46320, CVE-2022-39384
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 12:02 UTC · Revision 1
Source evidence
In OpenZeppelin <=v4.4.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, breaking the expectation that there is a single execution.
osv:CVE-2021-46320
Complete source record
{
"id": "c610fa516880d266a820b05c9ba8ecb694b514b586f885ebe307a2e3dd5534f3",
"url": "https://osv.dev/vulnerability/CVE-2021-46320",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2021-46320",
"summary": "In OpenZeppelin <=v4.4.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, breaking the expectation that there is a single execution.",
"evidence": "osv:CVE-2021-46320",
"products": [],
"severity": "high",
"structured": {
"id": "CVE-2021-46320",
"aliases": [
"CVE-2021-46320",
"CVE-2022-39384",
"GHSA-88g8-f5mf-f5rj",
"GHSA-9c22-pwxw-p6hx"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/openzeppelin/openzeppelin-contracts",
"type": "GIT",
"events": [
{
"introduced": "1ada3b633e5bfd9d4ffe0207d64773a11f5a7c40"
},
{
"last_affected": "4961a51cc736c7d4aa9bd2e11e4cbbaff73efee9"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:openzeppelin:openzeppelin:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "3.2.0"
},
{
"last_affected": "4.4.0"
}
],
"source": "CPE_RANGE"
}
]
}
}
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-46320.json"
}
}
],
"modified": "2026-10-20T10:55:09.495137448Z",
"provider": "osv",
"references": [
"https://github.com/OpenZeppelin/openzeppelin-contracts/security/advisories/GHSA-9c22-pwxw-p6hx"
],
"provider_metadata": {}
},
"related_cves": [
{
"value": "CVE-2021-46320",
"evidence": "/id"
},
{
"value": "CVE-2022-39384",
"evidence": "/aliases"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 386965,
"published_at": "2022-02-04T12:15:07.623+00:00"
}