Vulnerabilities

CVE-2023-3817

Medium 5.3 CVSS 3.1

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. After fixing CVE-2023-3446 it was discovered that a large q parameter value can also trigger an overly long computation during some of these checks. A correct q value, if present, cannot be larger than the modulus p parameter, thus it is unnecessary to perform these checks if q is larger than p. An application that calls DH_check() and supplies a key or parameters obtained from an untrusted source could be vulnerable 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.

Description as published by the source, in English.

Key facts

Published
2023-07-31
Last modified
2026-10-14
Assigned by
openssl-security@openssl.org
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Scored by
nvd@nist.gov (NVD Primary)
Probability of exploitation
3.0 % higher than 86 % of all known vulnerabilities
EPSS, next 30 days, model v2026.06.15
Fix available
Yes, see references

Affected products

Vendor Product Versions Status
Openssl Openssl 1.0.2 Affected
Openssl Openssl 1.0.2a Affected
Openssl Openssl 1.0.2b Affected
Openssl Openssl 1.0.2c Affected
Openssl Openssl 1.0.2d Affected
Openssl Openssl 1.0.2e Affected
Openssl Openssl 1.0.2f Affected
Openssl Openssl 1.0.2g Affected
Openssl Openssl 1.0.2h Affected
Openssl Openssl 1.0.2i Affected
Openssl Openssl 1.0.2j Affected
Openssl Openssl 1.0.2k Affected
Openssl Openssl 1.0.2l Affected
Openssl Openssl 1.0.2m Affected
Openssl Openssl 1.0.2n Affected
Openssl Openssl 1.0.2o Affected
Openssl Openssl 1.0.2p Affected
Openssl Openssl 1.0.2q Affected
Openssl Openssl 1.0.2r Affected
Openssl Openssl 1.0.2s Affected
Openssl Openssl 1.0.2t Affected
Openssl Openssl 1.0.2u Affected
Openssl Openssl 1.0.2v Affected
Openssl Openssl 1.0.2w Affected
Openssl Openssl 1.0.2x Affected
Openssl Openssl 1.0.2y Affected
Openssl Openssl 1.0.2za Affected
Openssl Openssl 1.0.2zb Affected
Openssl Openssl 1.0.2zc Affected
Openssl Openssl 1.0.2zd Affected
Openssl Openssl 1.0.2ze Affected
Openssl Openssl 1.0.2zf Affected
Openssl Openssl 1.0.2zg Affected
Openssl Openssl 1.0.2zh Affected
Openssl Openssl 1.1.1 Affected
Openssl Openssl 1.1.1a Affected
Openssl Openssl 1.1.1b Affected
Openssl Openssl 1.1.1c Affected
Openssl Openssl 1.1.1d Affected
Openssl Openssl 1.1.1e Affected
Openssl Openssl 1.1.1f Affected
Openssl Openssl 1.1.1g Affected
Openssl Openssl 1.1.1h Affected
Openssl Openssl 1.1.1i Affected
Openssl Openssl 1.1.1j Affected
Openssl Openssl 1.1.1k Affected
Openssl Openssl 1.1.1l Affected
Openssl Openssl 1.1.1m Affected
Openssl Openssl 1.1.1n Affected
Openssl Openssl 1.1.1o Affected
Openssl Openssl 1.1.1p Affected
Openssl Openssl 1.1.1q Affected
Openssl Openssl 1.1.1r Affected
Openssl Openssl 1.1.1s Affected
Openssl Openssl 1.1.1t Affected
Openssl Openssl 1.1.1u Affected
Openssl Openssl ≥ 3.0.0, < 3.0.10 Affected
Openssl Openssl ≥ 3.1.0, < 3.1.2 Affected

Weakness type

  • CWE-834: Excessive Iteration

    The product performs an iteration or loop without sufficiently limiting the number of times that the loop is executed.

  • CWE-606: Unchecked Input for Loop Condition

    The 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.

References

Related at Berigo

Articles

Does this affect you?

A vulnerability matters only if you run the product, in an affected version, somewhere an attacker can reach.

Check your asset list Browse all vulnerabilities