GHSA-2cj7-mg3x-9mhq · Severity: high — Issue summary: Generating excessively long X9.42 DH keys or checking excessively long X9.42 DH...
Issue summary: Generating excessively long X9.42 DH keys or checking excessively long X9.42 DH keys or parameters may be very slow. Impact summary: Applications that use the functions DH_generate_key() to generate an X9.42 DH key may experience long delays. Likewise, applications that use DH_check_pub_key(), DH_check_pub_key_ex() or EVP_PKEY_public_check() to check an X9.42 DH key or X9.42 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. While DH_check() performs all the necessary checks (as of CVE-2023-3817), DH_check_pub_key() doesn't make any of these checks, and is therefore vulnerable for excessively large P and Q parameters. Likewise, while DH_generate_key() performs a check for an excessively large P, it doesn't check for an excessively large Q. An application that calls DH_generate_key() or DH_check_pub_key() and supplies a key or parameters obtained from an untrusted source could be vulnerable to a Denial of Service attack. DH_generate_key() and DH_check_pub_key() are also 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_pub_key_ex(), EVP_PKEY_public_check(), and EVP_PKEY_generate(). Also vulnerable are the OpenSSL pkey command line application when using the "-pubcheck" option, as well as the OpenSSL genpkey command line application. 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.
Conclusion & alert: CVE-2023-5678 is rated Moderate Risk (44.8/100): CVSS Medium severity, with medium exploitation likelihood (EPSS 0.54%). Mandatory action: Review affected assets and schedule remediation.
Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.
EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).
| # | Date | Old EPSS score | New EPSS score | Delta (New - Old) |
|---|---|---|---|---|
| 1 | 2026-05-12 | 0.64% | 0.54% | -0.10% |
| 2 | 2026-05-10 | 0.66% | 0.64% | -0.02% |
| 3 | 2026-04-27 | — | 0.66% | — |
Full EPSS history (24 records total)
CVSS metrics for this CVE.
| Base score | Version | Severity | Vector | Exploitability | Impact | Score source |
|---|---|---|---|---|---|---|
| 5.3 | 3.1 | MEDIUM |
|
3.9 | 1.4 | [email protected] |
| 5.3 | 3.1 | MEDIUM |
|
3.9 | 1.4 | 134c704f-9b21-4f2e-91b3-4a467353bcc0 |
GHSA-2cj7-mg3x-9mhq · Severity: high — Issue summary: Generating excessively long X9.42 DH keys or checking excessively long X9.42 DH...
| vendor | priority | summary | link |
|---|---|---|---|
alpine
|
— | CVE-2023-5678: 1 source package rows (openssl); 164 state rows across 7 repos (3.17-main, 3.18-main, 3.19-main, 3.20-main, 3.21-main, 3.22-main, edge-main); fixed 33, open 131. | https://security.alpinelinux.org/vuln/CVE-2023-5678 |
debian
|
not yet assigned | CVE-2023-5678 not yet assigned priority: Debian including 1 source packages (openssl), 5 status rows across 5 suites (bookworm, bullseye, forky, sid, trixie): resolved 5. | https://security-tracker.debian.org/tracker/CVE-2023-5678 |
redhat
|
low | — | https://access.redhat.com/security/cve/CVE-2023-5678 |
suse
|
medium | CVE-2023-5678 severity moderate: SUSE including 532 source package names (1.2.3-2.2.63:libopenssl1_1-1.1.1l-150400.7.60.2, 1.2.3-3.2.78:libopenssl1_1-1.1.1l-150400.7.60.2, …), 1303 product×package rows across 300 product lines (Container bci/bci-base-fips, Container bci/bci-init, … (300 product lines)): Fixed 1030, Known Affected 185, Known Not Affected 88. | https://www.suse.com/security/cve/CVE-2023-5678/ |
ubuntu
|
low | CVE-2023-5678 low priority: Ubuntu including 4 source packages (edk2, nodejs, openssl, openssl1.0), 48 status rows across 12 suites (bionic, focal, jammy, lunar, mantic, noble, oracular, plucky, questing, trusty, upstream, xenial): not-affected 13, released 13, DNE 10, ignored 5, needs-triage 4, needed 3. | https://ubuntu.com/security/CVE-2023-5678 |
| Vendor | Product | Version | Raw CPE |
|---|---|---|---|
| openssl | openssl | >= 1.0.2, < 1.0.2zj | cpe:2.3:a:openssl:openssl:*:*:*:*:*:*:*:* |
| openssl | openssl | >= 1.1.1, < 1.1.1x | cpe:2.3:a:openssl:openssl:*:*:*:*:*:*:*:* |
| openssl | openssl | >= 3.0.0, < 3.0.13 | cpe:2.3:a:openssl:openssl:*:*:*:*:*:*:*:* |
| openssl | openssl | >= 3.1.0, < 3.1.5 | cpe:2.3:a:openssl:openssl:*:*:*:*:*:*:*:* |