CVEBrief

Home / OpenSSL / OpenSSL / CVE-2023-5678

CVE-2023-5678: is it exploited, and which versions of OpenSSL are affected and fixed?

CVE-2023-5678 is an unchecked Input for Loop Condition vulnerability in OpenSSL. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 14:08 UTC). Affected: OpenSSL from 1.0.2 before 1.0.2zj, OpenSSL from 1.1.1 before 1.1.1x, OpenSSL from 3.0.0 before 3.0.13 and 1 more (CVE record by openssl). Fixed in 1.0.2zj, 1.1.1x, 3.0.13 and 3.1.5 (CVE record by openssl). Severity: Medium (5.3, CVSS 3.1, from CISA-ADP).

Data checked December 3, 2026: last read CISA KEV December 3, 2026, 14:08 UTC, CVE record November 19, 2026, 07:13 UTC and NVD November 19, 2026, 07:34 UTC.

Exploited in the wild
Not in CISA KEV
KEV read December 3, 2026, 14:08 UTC
Affected
OpenSSL from 1.0.2 before 1.0.2zj, OpenSSL from 1.1.1 before 1.1.1x, OpenSSL from 3.0.0 before 3.0.13 and 1 more
CVE record by openssl
Fixed in
1.0.2zj, 1.1.1x, 3.0.13 and 3.1.5
CVE record by openssl
Severity
Medium 5.3
CVSS 3.1 from CISA-ADP
Exploit odds (EPSS)
5.09% in 30 days
higher than 93% of CVEs; FIRST, December 2, 2026
Free for up to 3 items: a weekly email, and an alert the day CISA lists one as exploited. We email you once to confirm. More about the watch

What is CVE-2023-5678?

Excessive time spent in DH check / generation with large Q parameter value

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.

From the CVE record by openssl, last updated October 14, 2026, 22:03 UTC.

Which versions are affected, and which fix it?

VendorProductAffectedFixed or not affected from
OpenSSLOpenSSLfrom 1.0.2 before 1.0.2zj
from 1.1.1 before 1.1.1x
from 3.0.0 before 3.0.13
from 3.1.0 before 3.1.5
1.0.2zj, 1.1.1x, 3.0.13, 3.1.5

As the CVE record by openssl states it, last updated October 14, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.

Which products and versions does the NVD list as affected?

VendorProductVersionsType
opensslopensslfrom 1.0.2 before 1.0.2zjapplication
opensslopensslfrom 1.1.1 before 1.1.1xapplication
opensslopensslfrom 3.0.0 before 3.0.13application
opensslopensslfrom 3.1.0 before 3.1.5application

NVD analysis (status Modified), last modified October 14, 2026, 22:17 UTC.

How severe is CVE-2023-5678?

ScoreVersionVectorSource
Medium 5.3CVSS 3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:LCISA-ADP
Medium 5.3CVSS 3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:LNVD

Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.

What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.

Is CVE-2023-5678 exploited in the wild?

CISA KEV
Not listed (catalog 2026.11.30)
CISA SSVC
Exploitation: none; automatable: yes; technical impact: partial (CISA ADP, December 2, 2025)
EPSS
5.09% probability of exploitation activity in the next 30 days, percentile 92.5 (FIRST EPSS, scores of December 2, 2026)

What kind of flaw is it?

Where are the vendor advisories and references?

Who found and reported it?

As published in the CVE record; contact details are removed.

When was it published, and where is the official record?

Reserved
October 20, 2023
Published
November 6, 2023, 15:47 UTC
CVE record updated
October 14, 2026, 22:03 UTC by openssl
NVD
Modified, last modified October 14, 2026, 22:17 UTC
Last checked
CVE list November 19, 2026, 07:13 UTC; NVD November 19, 2026, 07:34 UTC; KEV December 3, 2026, 14:08 UTC; EPSS December 2, 2026
Official record
cve.org · NVD

What other CVEs affect OpenSSL?

Every CVE in OpenSSL

Questions about CVE-2023-5678

Is CVE-2023-5678 exploited in the wild?

Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 14:08 UTC. FIRST's EPSS gives it a 5.09% chance of exploitation activity in the next 30 days (scores of December 2, 2026).

Which versions of OpenSSL are affected by CVE-2023-5678?

OpenSSL from 1.0.2 before 1.0.2zj, OpenSSL from 1.1.1 before 1.1.1x, OpenSSL from 3.0.0 before 3.0.13 and OpenSSL from 3.1.0 before 3.1.5, per the CVE record by openssl. The tables above give every range the sources list.

Which version fixes CVE-2023-5678?

1.0.2zj, 1.1.1x, 3.0.13 and 3.1.5, per the CVE record by openssl. Check the vendor's advisory before you rely on it.

How severe is CVE-2023-5678?

Medium (5.3, CVSS 3.1, from CISA-ADP). The severity table above shows each score with its source.

Where is the official record of CVE-2023-5678?

The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.