Denial of Service (DoS) Affecting openssl package, versions [,3.0.13)[3.1.0,3.1.5)


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
4.46% (91st percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-CONAN-OPENSSL-10078071
  • published8 May 2025
  • disclosed24 Oct 2023
  • creditDavid Benjamin

Introduced: 24 Oct 2023

CVE-2023-5678  (opens in a new tab)
CWE-400  (opens in a new tab)

How to fix?

Upgrade openssl to version 3.0.13, 3.1.5 or higher.

Overview

Affected versions of this package are vulnerable to Denial of Service (DoS) when the DH_generate_key(), DH_check_pub_key(), DH_check_pub_key_ex(), EVP_PKEY_public_check(), and EVP_PKEY_generate() functions are used. An attacker can cause long delays and potentially a Denial of Service by supplying excessively long X9.42 DH keys or parameters obtained from an untrusted source.

Note:

This is only exploitable if the application uses these functions to generate or check an X9.42 DH key or parameters. Also, the OpenSSL pkey command line application, when using the -pubcheck option, as well as the OpenSSL genpkey command line application, are vulnerable to this issue.

CVSS Base Scores

version 3.1