{"id":"CVE-2022-3996","aliases":["GHSA-vr8j-hgmm-jh9r"],"url":"https://o3.security/vulnerability/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.","published":"2022-12-13T15:43:06.821Z","modified":"2026-08-12T13:33:16.762026Z","cvss":{"score":7.5,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},"epss":{"score":0.0123,"percentile":0.67479,"asOf":"2026-09-17"},"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"crates.io","name":"openssl-src","fixedVersion":"300.0.12"}],"fix":{"url":"https://github.com/openssl/openssl/commit/7725e7bfe6f2ce8146b6552b44e0d226be7638e7","label":"openssl/openssl@7725e7b"},"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"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-08-12T13:33:16.762026Z"}}