CVE-2023-3446: Excessive time spent checking DH keys and parameters
Vulnerability summary
CVE-2023-3446 is a medium (CVSS 5.3) Unchecked Input for Loop Condition vulnerability in openssl. EPSS estimates a 6.53% chance of exploitation in the next 30 days, higher than 93.8% of scored vulnerabilities.
Not severe (CVSS 5.3, network access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 23 · Related 14Timeline
- 19-07-2023PublishedVulnerability first disclosed.
- 14-10-2026Last modifiedVulnerability information updated.
Description
Issue summary: Checking excessively long DH keys or parameters may be very slow. Impact summary: Applications that use the functions DH_check(), DH_check_ex() or EVP_PKEY_param_check() to check a DH key or DH parameters may experience long delays. Where the key or parameters that are being checked have been obtained from an untrusted source this may lead to a Denial of Service. The function DH_check() performs various checks on DH parameters. One of those checks confirms that the modulus ('p' parameter) is not too large. Trying to use a very large modulus is slow and OpenSSL will not normally use a modulus which is over 10,000 bits in length. However the DH_check() function checks numerous aspects of the key or parameters that have been supplied. Some of those checks use the supplied modulus value even if it has already been found to be too large. An application that calls DH_check() and supplies a key or parameters obtained from an untrusted source could be vulernable to a Denial of Service attack. The function DH_check() is itself called by a number of other OpenSSL functions. An application calling any of those other functions may similarly be affected. The other functions affected by this are DH_check_ex() and EVP_PKEY_param_check(). Also vulnerable are the OpenSSL dhparam and pkeyparam command line applications when using the '-check' option. The OpenSSL SSL/TLS implementation is not affected by this issue. The OpenSSL 3.0 and 3.1 FIPS providers are not affected by this issue.
CVSS metrics
8 scores · 8 sources · 1 version- OSV · AlpineEcosystem advisory · calculated5.3MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
- OSV · Red hatEcosystem advisory · calculated5.3MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
- OSV · UbuntuEcosystem advisory · calculated5.3MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
- OSV · DebianEcosystem advisory · calculated5.3MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
- OSV · WolfiEcosystem advisory · calculated5.3MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
- OSV · ChainguardEcosystem advisory · calculated5.3MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
- NVDNIST5.3MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
EPSS trend
Probability
6.53%
Chance of exploitation in the next 30 days
Percentile
94%
Versus all other CVEs
30-day change
No change 0.00 pp
From 6.53% on 04-10-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 cause- CWE-606Unchecked Input for Loop ConditionThe product does not properly check inputs that are used for loop conditions, potentially leading to a denial of service or other consequences because of excessive looping.
- CWE-1333Inefficient Regular Expression ComplexityThe product uses a regular expression with a worst-case computational complexity that is inefficient and possibly exponential.
Affected systems
Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
Suse28 products
- openssl-1_0_0&distro=SUSE Enterprise Storage 7< 1.0.2p-150000.3.82.1
- openssl-1_0_0&distro=SUSE Enterprise Storage 7.1< 1.0.2p-150000.3.82.1
- openssl-1_0_0&distro=SUSE Linux Enterprise High Performance Computing 15 SP3-ESPOS< 1.0.2p-150000.3.82.1
- openssl-1_0_0&distro=SUSE Linux Enterprise High Performance Computing 15 SP3-LTSS< 1.0.2p-150000.3.82.1
- openssl-1_0_0&distro=SUSE Linux Enterprise Module for Legacy 15 SP4< 1.0.2p-150000.3.82.1
Opensuse8 products
- openssl-1_0_0&distro=openSUSE Leap 15.4< 1.0.2p-150000.3.82.1
- openssl-1_0_0&distro=openSUSE Leap 15.5< 1.0.2p-150000.3.82.1
- openssl-1_0_0&distro=openSUSE Tumbleweed< 1.0.2u-21.1
- openssl-1_1&distro=openSUSE Leap 15.4< 1.1.1l-150400.7.48.1
- openssl-1_1&distro=openSUSE Leap 15.5< 1.1.1l-150500.17.9.1
Chainguard4 products
- eco-dotnet-libssl-1.0-ld-so-confAll versions (No fix recorded)
- openssl< 3.1.1-r3
- openssl-provider-fipsAll versions (No fix recorded)
- openssl-provider-fips-3.1.2All versions (No fix recorded)
Ubuntu4 products
- edk2All versions (No fix recorded) | < 2022.02-3ubuntu0.22.04.4 | < 2024.02-2ubuntu0.6
- nodejsAll versions (No fix recorded)
- openssl< 1.0.1f-1ubuntu2.27+esm10 | < 1.0.2g-1ubuntu4.20+esm10 | < 1.0.2g-1ubuntu4.fips.4.20.10 | All versions (No fix recorded) | < 1.1.1-1ubuntu2.1~18.04.23+esm3 | < 1.1.1-1ubuntu2.fips.2.1~18.04.23.3 | < 1.1.1f-1ubuntu2.20 | < 1.1.1f-1ubuntu2.fips.20 | < 3.0.2-0ubuntu1.12 | < 3.0.2-0ubuntu1.12+Fips1
- openssl1.0< 1.0.2n-1ubuntu5.13+esm1
Alpine3 products
- openssl< 1.1.1u-r2 | < 3.0.9-r3 | < 3.1.1-r3
- openssl1.1-compat< 1.1.1u-r1
- openssl3< 3.0.9-r2
Redhat3 products
- edk2< 0:20220126gitbb1bba3d77-6.el8_9.3
- edk2-aarch64< 0:20220126gitbb1bba3d77-6.el8_9.3
- edk2-ovmf< 0:20220126gitbb1bba3d77-6.el8_9.3
Debian1 product
- openssl< 3.0.10-1~deb12u1 | < 3.0.10-1
Openssl1 product
- opensslEOL≥ 3.1.0, < 3.1.2 | ≥ 3.0.0, < 3.0.10 | ≥ 1.1.1, < 1.1.1v | ≥ 1.0.2, < 1.0.2zi | 1.0.2 | 1.1.1 | 3.0.0 | 3.1.0 | 3.1.1
Wolfi1 product
- openssl< 3.1.1-r3
9 vendors · 53 products
References
50 links- git.openssl.org/gitweb/?p=openssl.git;a=commitdiff;h=fc9867c1e03c22ebf56943be205202e576aabf23PatchFIXMailing ListVendor Advisory
- git.openssl.org/gitweb/?p=openssl.git;a=commitdiff;h=1fa20cf2f506113c761777127a38bce5068740ebPatchFIXMailing ListVendor Advisory
- git.openssl.org/gitweb/?p=openssl.git;a=commitdiff;h=8780a896543a654e757db1b9396383f9d8095528PatchFIXMailing ListVendor Advisory
- git.openssl.org/gitweb/?p=openssl.git;a=commitdiff;h=9a0a4d3c1e7138915563c0df4fe6a3f9377b839cPatchFIXBroken LinkVendor Advisory