CVE-2023-5678
No exploitation reported by the sources we read.
- Published2023-11-06
- Fixed in3.1.5 · 3.0.13 · 1.1.1x · 1.0.2zj
- WeaknessCWE-606 · CWE-754
Am I affected?
Debian, Ubuntu or Red Hat sometimes backport a fix without changing the upstream version number: such a version reads « to verify », never « affected ».With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.
Description
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.
Timeline
dates in UTC- 2023-11-0616:15CVE publishedNVD
Versions per branch
NVD| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 3.1 | ≥ 3.1.0, < 3.1.5 | 3.1.5 | NVD |
| 3.0 | ≥ 3.0.0, < 3.0.13 | 3.0.13 | NVD |
| 1.1 | ≥ 1.1.1, < 1.1.1x | 1.1.1x | NVD |
| 1.0 | ≥ 1.0.2, < 1.0.2zj | 1.0.2zj | NVD |
as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.
Products declared by the CNA1 product
As openssl, the CNA that assigned this CVE, declared them in the CVE record; versions as written.
- OpenSSLother versions: not affectedAffected
- ≥ 1.0.2, < 1.0.2zjfixed in 1.0.2zjcustom
- ≥ 1.1.1, < 1.1.1xfixed in 1.1.1xcustom
- ≥ 3.0.0, < 3.0.13fixed in 3.0.13semver
- ≥ 3.1.0, < 3.1.5fixed in 3.1.5semver
Source: the CNA record (CVE Program), © The MITRE Corporation,CVE terms of useCVE recordupdated 2024-10-14
Distribution builds and vendor advisories
Packages from OSV.dev and products from the vendors' CSAF advisories.
version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.
Packages
- cloud-hypervisor-cvmAzure Linux:3all versions · fixed in 38.0.72.2-1
- cloud-hypervisor-cvmAzure Linux:2all versions · fixed in 38.0.72.2-1
- compat-openssl098SUSE:Linux Enterprise Server for SAP Applications 12 SP5all versions · fixed in 0.9.8j-106.61.1
- compat-openssl098SUSE:Linux Enterprise Module for Legacy 12all versions · fixed in 0.9.8j-106.61.1
- eco-dotnet-libssl-1.0Chainguardall versions · no fixed version listedand 2 other packages
- edk2Ubuntu:Pro:20.04:LTSall versions · no fixed version listed
- edk2Ubuntu:Pro:18.04:LTSall versions · no fixed version listed
- edk2Ubuntu:Pro:16.04:LTSall versions · no fixed version listed
149 more package ranges on OSV.dev
Vendor advisories
openssl: Generating excessively long X9.42 DH keys or checking excessively long X9.42 DH keys or parameters may be very slow
openssl as a component of Red Hat Enterprise Linux 6 · openssl-devel as a component of Red Hat Enterprise Linux 6 · openssl-perl as a component of Red Hat Enterprise Linux 6 · +12 more
Red Hat Bug Fix Advisory: OpenShift sandboxed containers 1.6.0 update
Red Hat Security Advisory: openssl and openssl-fips-provider security update
Siemens SINEC NMS
SINEC NMS
Red Hat Security Advisory: Red Hat JBoss Core Services Apache HTTP Server 2.4.57 SP3 security update
Red Hat Security Advisory: Red Hat JBoss Core Services Apache HTTP Server 2.4.57 SP3 security update
6 more advisories
Fix
- Update OpenSSL to 3.1.5 · 3.0.13 · 1.1.1x · 1.0.2zj
- Vendor fix Red Hat Product Security RHBA-2024:3964 · 16 productsBefore applying this update, make sure all previously released errata relevant to your system have been applied. For details on how to apply this update, refer to: https://access.redhat.com/articles/11258
- Vendor fix Red Hat Product Security RHSA-2024:2447 · 49 productsFor details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258 For the update to take effect, all services linked to the OpenSSL library must be restarted, or the system rebooted.
- Vendor fix CISA ICSA-24-102-07 · 1 productUpdate to V2.0 SP2 or later version
- Vendor fix Red Hat Product Security RHSA-2024:1316 · 15 productsBefore applying this update, make sure all previously released errata relevant to your system have been applied. For details on how to apply this update, refer to: https://access.redhat.com/articles/11258
- Vendor fix Red Hat Product Security RHSA-2024:1317 · 1 productBefore applying the update, back up your existing installation, including all applications, configuration files, databases and database settings, and so on. The References section of this erratum contains a download link (you must log in to download the update).
- Vendor fix Red Hat Product Security RHSA-2024:1325 · 1 productBefore applying the update, back up your existing Red Hat JBoss Web Server installation, including all applications and configuration files. The References section of this erratum contains a download link for the update. You must be logged in to download the update.
Advisories and patches
- git.openssl.orgPatch
- git.openssl.orgPatch
- www.openssl.orgVendor Advisory
Detection
- Nuclei template
- none so far ProjectDiscovery
- Exploit-DB
- no entry Exploit-DB
- Proof of concept
- PoC-in-GitHubno public repository identifiedread 2026-12-04
- Metasploit modules
- none listed Metasploit Framework
Sources
- CISA-ADPSSVC decisionnone2025-12-02
- CISA-ADPCVSS 3.15.32025-12-02
- NVDCVSS 3.15.3read 2026-10-23
- CNAweakness (CWE)CWE-606known since 2026-10-23
- NVDweakness (CWE)CWE-754read 2026-10-23
- FIRST EPSSEPSS score5.1 %2026-12-04
- OSVaffected packages—
- GitHub Advisoriesadvisory—
Identifiers
- AZL-31872same flawAzure Linux · MIT
- AZL-31880same flawAzure Linux · MIT
- AZL-34666same flawAzure Linux · MIT
- AZL-35084same flawAzure Linux · MIT
- AZL-37740same flawAzure Linux · MIT
- AZL-39659same flawAzure Linux · MIT
- AZL-42685same flawAzure Linux · MIT
- AZL-42736same flawAzure Linux · MIT
- AZL-78555same flawAzure Linux · MIT
- CGA-4hmw-7q4w-rw9xsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-8gjj-7pvf-c4fpsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-98qj-mfh7-g6rqsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-jqgp-253f-2cmfsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-m2h7-wr32-xp62same flawChainguard · CC-BY-NC-ND-4.0
- CGA-vrh9-7hjf-pprhsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-x8wj-7457-qhgjsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-xx8w-f5jh-v433same flawChainguard · CC-BY-NC-ND-4.0
- CGA-xx98-vhw7-j89msame flawChainguard · CC-BY-NC-ND-4.0
- EUVD-2023-57969same flawENISA EUVD · LicenseRef-ENISA-legal-notice
- GHSA-2cj7-mg3x-9mhqsame flawGitHub Advisory Database · CC-BY-4.0
- JLSEC-2026-244same flawJulia Security Advisories · CC-BY-4.0
- ALSA-2023:7877advisory covering several CVEsAlmaLinux · MIT
- ALSA-2024:2447advisory covering several CVEsAlmaLinux · MIT
- DLA-3942-1advisory covering several CVEsDebian · LicenseRef-unstated
- DLA-3942-2advisory covering several CVEsDebian · LicenseRef-unstated
- MGASA-2024-0020advisory covering several CVEsMageia · LicenseRef-unstated
- MGASA-2024-0036advisory covering several CVEsMageia · LicenseRef-unstated
- MGASA-2024-0281advisory covering several CVEsMageia · LicenseRef-unstated
- OESA-2023-1821advisory covering several CVEsopenEuler · LicenseRef-unstated
- OESA-2025-1747advisory covering several CVEsopenEuler · LicenseRef-unstated
- OESA-2025-1802advisory covering several CVEsopenEuler · LicenseRef-unstated
- openSUSE-SU-2024:13428-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- openSUSE-SU-2024:13437-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- openSUSE-SU-2024:13438-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- RHSA-2023:7877advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2024:0154advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2024:0208advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2024:1316advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2024:1318advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2024:2447advisory covering several CVEsRed Hat · CC-BY-4.0
- RLSA-2023:7877advisory covering several CVEsRocky Linux · BSD-3-Clause
- SUSE-SU-2023:4488-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2023:4489-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2023:4518-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2023:4519-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2023:4520-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2023:4521-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2023:4522-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2023:4523-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2023:4524-1advisory covering several CVEsSUSE · LicenseRef-unstated
Technical details
- CVSS v3 vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
- Published
- 2023-11-06
- Last modified
- 2026-10-14
- NVD status
- Modified
- GitHub advisory
- GHSA-2cj7-mg3x-9mhq
Frequently asked questions
What is CVE-2023-5678?
Is CVE-2023-5678 actively exploited?
What is the CVSS score for CVE-2023-5678?
Running OpenSSL? Hear about its next vulnerability
Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».
No credit card required · No monthly cap on website checks · 250 API requests/month
Go further
- Following what attackers exploit right now? The CISA KEV additions of the month, with their patch deadlines.
- Running this software? Vulnerability monitoring alerts you to new vulnerabilities in your products.
Related vulnerabilities
Same product first, then the same vendor advisory and the same publication week.
Sources for this record
- CISA ICS advisories (CSAF) · Public domain (US Government work)
- CVE Program · CVE Program Terms of Use
- ENISA EU Vulnerability Database · ENISA legal notice §1.2 (reproduction authorised, provided the source is acknowledged)
- FIRST EPSS · EPSS terms of use (free use, attribution requested)
- GitHub Advisory Database · CC-BY-4.0 · GHSA-2cj7-mg3x-9mhq
- NVD · Public domain (17 U.S.C. § 105) for NVD-authored data; third-party content under its own terms
- OSV.dev · Per record, as its publisher states it: each row carries the label in sourceLicense when one is served
- Red Hat Product Security (CSAF and VEX) · CC-BY-4.0
- CISA Vulnrichment · CC0-1.0