CVE-2022-3996: X.509 Policy Constraints Double Locking
Vulnerability summary
CVE-2022-3996 is a high (CVSS 7.5) Improper Locking vulnerability in openssl. EPSS estimates a 1.31% chance of exploitation in the next 30 days, higher than 70.4% of scored vulnerabilities.
Advisory lineage
Upstream 0 · Downstream 2 · Related 6Timeline
- 13-12-2022PublishedVulnerability first disclosed.
- 03-08-2024Last modifiedVulnerability information updated.
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.
CVSS metrics
9 scores · 8 sources · 2 versions- OSV · AlpineEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- OSV · UbuntuEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- OSV · DebianEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- OSV · WolfiEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- OSV · ChainguardEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- OSV · Crates.ioEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- NVDNIST7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS trend
Probability
1.31%
Chance of exploitation in the next 30 days
Percentile
70%
Versus all other CVEs
30-day change
Increase +0.08 pp
From 1.23% on 22-09-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Chainguard3 products
- openssl< 3.0.7-r1
- openssl-provider-fips< 3.0.8-r0
- ruby-3.1All versions (No fix recorded)
Alpine2 products
- openssl≥ 3.0.0, < 3.0.7-r2
- openssl3< 3.0.8-r0
Ubuntu2 products
- edk2All versions (No fix recorded)
- openssl< 3.0.2-0ubuntu1.9
Wolfi2 products
- openssl< 3.0.7-r1
- ruby-3.1All versions (No fix recorded)
Crates.Io1 product
- openssl-src≥ 300.0.0, < 300.0.12
Debian1 product
- openssl< 3.0.7-2
Openssl1 product
- openssl≥ 3.0.0, ≤ 3.0.7
Opensuse1 product
- openssl-3&distro=openSUSE Tumbleweed< 3.0.7-2.1
8 vendors · 13 products
References
12 links- github.com/openssl/openssl/commit/7725e7bfe6f2ce8146b6552b44e0d226be7638e7PatchFIXWEBThird Party Advisory