Skip to main content
Mallory
MediumVulnerability

CVE-2023-5678: OpenSSL X9.42 Diffie-Hellman Excessive Computation Denial of Service

Published Nov 6, 2023 · Updated 9 days ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 days4 mentions · peak 2 in a dayToday
CVSS5.3Medium · v3.1
EPSS5.1%92nd percentile
CISA KEVNoNot listed
In the wildReported1 exploitation record in Mallory
Vendor
OpenSSL Software Foundation
IdentifiersCVE-2023-5678CWE-400

CVE-2023-5678 is a denial-of-service vulnerability in OpenSSL's X9.42 Diffie-Hellman key generation and validation operations. DH_check_pub_key() lacks checks for excessively large P and Q parameters, while DH_generate_key() checks P but does not adequately constrain Q. Processing oversized, untrusted keys or parameters can therefore cause prolonged computation. The issue also affects DH_check_pub_key_ex(), EVP_PKEY_public_check(), EVP_PKEY_generate(), the OpenSSL pkey utility with -pubcheck, and the genpkey utility. OpenSSL's SSL/TLS implementation and its 3.0 and 3.1 FIPS providers are not affected.

Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Analyst brief

Impact, mitigation & remediation

What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.

Impact

What an attacker gets, and what they’ve been doing with it.

Applications processing attacker-controlled X9.42 Diffie-Hellman keys or parameters can experience excessive computation and long processing delays, degrading availability or causing denial of service. No confidentiality or integrity impact is established for this vulnerability.

Mitigation

If you can’t patch tonight, do this now.

Prevent untrusted X9.42 Diffie-Hellman keys or parameters from reaching affected generation and validation operations. Enforce parameter-size limits before expensive cryptographic processing. DH_check() can perform the necessary parameter checks when the fixes for CVE-2023-3817 are present; reject parameters that fail validation before passing them to affected operations. OpenSSL's SSL/TLS implementation is unaffected, so disabling TLS DHE cipher suites is not a general mitigation for this library vulnerability.

Remediation

Patch, then assume compromise.

Install vendor updates explicitly addressing CVE-2023-5678, including updates to products that bundle OpenSSL. Fixed distribution builds include Chainguard libcrypto3 3.1.4-r1, Echo openssl-3.0.9 3.0.9+e1, RHEL 8 OpenSSL 1.1.1k-12.el8_9, RHEL 8.8 OpenSSL 1.1.1k-12.el8_8, and RHEL 8.6 OpenSSL 1.1.1k-12.el8_6; use these or later vendor-supported fixed builds for the corresponding platform. Restart services linked against OpenSSL, or reboot, after installing the update.

Public exploits

Exploits

No public exploits tracked yet. Mallory keeps watching.

View more in app →
No public exploit code observed for this vulnerability. Mallory keeps watching.
Exposure surface

Affected products & vendors

Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.

VendorProductType
OpenSSL Software FoundationOpensslapplication
FAQ

Frequently asked questions

Is CVE-2023-5678 exploited in the wild?
Yes. As of Nov 7, 2026, Mallory has reports of exploitation in the wild.
Is there a public exploit for CVE-2023-5678?
As of Nov 7, 2026, Mallory has found no public exploit for CVE-2023-5678.
Is there a patch for CVE-2023-5678?
Install vendor updates explicitly addressing CVE-2023-5678, including updates to products that bundle OpenSSL. Fixed distribution builds include Chainguard libcrypto3 3.1.4-r1, Echo openssl-3.0.9 3.0.9+e1, RHEL 8 OpenSSL 1.1.1k-12.el8_9, RHEL 8.8 OpenSSL 1.1.1k-12.el8_8, and RHEL 8.6 OpenSSL 1.1.1k-12.el8_6; use these or later vendor-supported fixed builds for the corresponding platform.
What products are affected by CVE-2023-5678?
OpenSSL Software Foundation Openssl.
How severe is CVE-2023-5678?
CVE-2023-5678 has a CVSS v3.1 score of 5.3 (Medium) and an EPSS score of 5.1% (92nd percentile) as of Nov 7, 2026.
Activity feed

Recent activity

45 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.

View more in app →
tenable nessus pluginsNews · Nov 7, 2026EulerOS Virtualization 2.15.1 : edk2 (EulerOS-SA-2026-4584) | Tenable®Insufficient size checks on X9.42 Diffie-Hellman parameters can cause excessive computation during key generation or validation, enabling denial of service when applications accept untrusted parameters. Affected interfaces include DH_generate_key(), DH_check_pub_key(), related EVP functions, and the OpenSSL pkey and genpkey utilities. OpenSSL SSL/TLS and the listed FIPS providers are unaffected.Read more ↗tenable nessus pluginsNews · Nov 7, 2026EulerOS Virtualization 2.15.0 : edk2 (EulerOS-SA-2026-4626) | Tenable®Insufficient size checks on X9.42 Diffie-Hellman parameters can cause excessive computation and denial of service when applications generate keys or validate attacker-controlled keys or parameters. Affected interfaces include DH_generate_key(), DH_check_pub_key(), related EVP functions, and the pkey and genpkey command-line applications. OpenSSL SSL/TLS and the 3.0 and 3.1 FIPS providers are unaffected.Read more ↗tenable cloud security pluginsNews · Nov 5, 2026Echo: openssl-3.0.9: security update to 3.0.9+e1openssl-3.1.0:... | Tenable®An OpenSSL denial-of-service vulnerability caused by insufficient checks on excessively large X9.42 Diffie-Hellman parameters during key generation or public-key validation. Affected functions include DH_generate_key(), DH_check_pub_key(), DH_check_pub_key_ex(), EVP_PKEY_public_check(), and EVP_PKEY_generate(). The openssl pkey -pubcheck and genpkey commands are also affected. OpenSSL's SSL/TLS implementation and the OpenSSL 3.0 and 3.1 FIPS providers are not affected. The reference assigns a CVSS v3 base score of 5.3 and directs users to update the openssl-3.0.9 library and related packages to 3.0.9+e1 or later; its title also identifies a 3.1.0+e1 security update.Read more ↗tenable cloud security pluginsNews · Oct 29, 2026Chainguard: libcrypto3, multiple openssl packages: security up... | Tenable®An OpenSSL denial-of-service vulnerability caused by insufficient size checks on X9.42 Diffie-Hellman parameters during key generation or public-key validation. Affected functions include DH_generate_key(), DH_check_pub_key(), DH_check_pub_key_ex(), EVP_PKEY_public_check(), and EVP_PKEY_generate(). The openssl pkey -pubcheck and genpkey commands are also affected. OpenSSL SSL/TLS and the OpenSSL 3.0 and 3.1 FIPS providers are not affected. The advisory assigns a CVSS v3 score of 5.3 and directs users to update Chainguard libcrypto3 and related packages to version 3.1.4-r1 or later.Read more ↗
+37 more in the timeline. Sign up to see them
Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Mallory platform

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which adversaries are exploiting it right now, and which detections to deploy tonight.
Exposure mappingQuery your assets running an affected version, and investigate the blast radius.
Threat actor evidenceEvery report linking this CVE to a named adversary.
Associated malwareMalware families linked to this CVE, with evidence and IOCs.
Detection signaturesYARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Vendor-by-vendor mappingCross-references every affected SKU, including bundled OEM variants.
Social activityCommunity discussion across Reddit, Mastodon, and other social sources.