# CVE-2022-3996: X.509 Policy Constraints Double Locking

- Severity: High 7.5 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- 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): 1.32%, higher than 71% of CVEs (2026-12-01)
- Published: 2022-12-13T15:43:06.821Z
- Modified: 2026-09-10T03:49:50.494Z
- Also known as: GHSA-vr8j-hgmm-jh9r
- Weaknesses: CWE-667
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: openssl

## Description

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.

(As written by CVE List.)

## Affected

- OpenSSL OpenSSL: from 3.0.0 up to 3.0.7; from 3.0.0 before 3.0.7
- netapp ontap_9: before *
- netapp fas\/aff_baseboard_management_controller: before *
- netapp management_services_for_element_software: before *
- netapp altavault_ost_plug-in: before *
- netapp hci_baseboard_management_controller: before *
- netapp smi-s_provider: before *
- openssl-src (crates.io): from 300.0.0 before 300.0.12

## Every score

- CISA-ADP: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- GitHub: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- GitHub: CVSS:4.0 High `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: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://www.openssl.org/news/secadv/20221213.txt> (vendor-advisory, web)
- <https://github.com/openssl/openssl/commit/7725e7bfe6f2ce8146b6552b44e0d226be7638e7> (patch, third-party-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)

## Sources

- CVE List: [CVE-2022-3996](https://www.cve.org/CVERecord?id=CVE-2022-3996), CVE Terms of Use, modified 2024-08-03
- GitHub Advisory Database: [GHSA-vr8j-hgmm-jh9r](https://github.com/advisories/GHSA-vr8j-hgmm-jh9r), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2022-3996](https://nvd.nist.gov/vuln/detail/CVE-2022-3996), Public domain, modified 2026-06-17

---

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