CVE-2022-3996
HIGH 7.5CVSS 3.1Denial of service by double-checked locking in openssl-src
If an X.509 certificate contains a malformed policy constraint and
policy processing is enabled, then a write lock will be taken twice
recursively. On some operating systems (most widely: Windows) this
results in a denial of service when the affected process hangs. Policy
processing being enabled on a publicly facing server is not considered
to be a common setup.
Policy processing is enabled by passing the -policy' argument to the command line utilities or by calling the X509_VERIFY_PARAM_set1_policies()' function.
Update (31 March 2023): The description of the policy processing enablement
was corrected based on CVE-2023-0466.
- Published
- 13 Dec 2022
- Last modified
- 10 Sep 2026
- Assigned by
- openssl-security@openssl.org
- NVD status
- Modified
- Weakness
- CWE-667
- Also known as
- GHSA-vr8j-hgmm-jh9r
- Sources
- NVDJSONOSV GHSA-vr8j-hgmm-jh9rJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N | |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | openssl | opensslcpe:2.3:a:openssl:openssl:*:*:*:*:*:*:*:* |
>= 3.0.0, <= 3.0.7 | |
| OSV | crates.io | openssl-src | >= 300.0.0, < 300.0.12 | 300.0.12 |
References
- https://github.com/openssl/openssl/commit/7725e7bfe6f2ce8146b6552b44e0d226be7638e7 · Patch, Third Party Advisory, WEB
- https://www.openssl.org/news/secadv/20221213.txt · Vendor Advisory, WEB
- https://security.netapp.com/advisory/ntap-20230203-0003/
- https://nvd.nist.gov/vuln/detail/CVE-2022-3996 · ADVISORY
- https://github.com/alexcrichton/openssl-src-rs · PACKAGE
History
- 25 Nov 2026 20:35 UTC · NVD: first stored (published 13 Dec 2022)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 13 Dec 2022)