{"id":"CVE-2022-3996","summary":"X.509 Policy Constraints Double Locking","details":"If an X.509 certificate contains a malformed policy constraint and\npolicy processing is enabled, then a write lock will be taken twice\nrecursively.  On some operating systems (most widely: Windows) this\nresults in a denial of service when the affected process hangs.  Policy\nprocessing being enabled on a publicly facing server is not considered\nto be a common setup.\n\nPolicy processing is enabled by passing the `-policy'\nargument to the command line utilities or by calling the\n`X509_VERIFY_PARAM_set1_policies()' function.\n\nUpdate (31 March 2023): The description of the policy processing enablement\nwas corrected based on CVE-2023-0466.","aliases":["GHSA-vr8j-hgmm-jh9r"],"modified":"2026-05-15T04:05:09.111172388Z","published":"2022-12-13T15:43:06.821Z","related":["CGA-vj4x-mwvp-c5pq","SUSE-SU-2022:4586-1","openSUSE-SU-2024:12573-1"],"database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/3xxx/CVE-2022-3996.json","cwe_ids":["CWE-667"],"cna_assigner":"openssl"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/3xxx/CVE-2022-3996.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-3996"},{"type":"ADVISORY","url":"https://security.netapp.com/advisory/ntap-20230203-0003/"},{"type":"ADVISORY","url":"https://www.openssl.org/news/secadv/20221213.txt"},{"type":"FIX","url":"https://github.com/openssl/openssl/commit/7725e7bfe6f2ce8146b6552b44e0d226be7638e7"}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}]}