CVE-2023-5678 in Openssl and 28 more products
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.
Affects 29 products from 2 vendors. Description from NVD and MITRE.
Remotely exploitable over the network, low complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, no confidentiality impact, no integrity impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Openssl | Openssl | ≥ 1.0.2, < 1.0.2zj ≥ 1.1.1, < 1.1.1x ≥ 3.0.0, < 3.0.13 ≥ 3.1.0, < 3.1.5 |
| Siemens | SCALANCE WAM763-1 (device and firmware) | < 3.0.0 |
| Siemens | SCALANCE WAM766-1 (device and firmware) | < 3.0.0 |
| Siemens | SCALANCE WUM763-1 (device and firmware) | < 3.0.0 |
| Siemens | SCALANCE WUM766-1 (device and firmware) | < 3.0.0 |
| Siemens | 6GK5766-1GE00-7DA0 (device and firmware) | < 3.0.0 |
| Siemens | 6GK5766-1GE00-7DB0 (device and firmware) | < 3.0.0 |
| Siemens | SIMATIC Rtls Locating Manager | < 3.0.1.1 |
| Siemens | 6GK5766-1GE00-7TB0 (device and firmware) | < 3.0.0 |
| Siemens | 6GK5766-1GE00-3DA0 (device and firmware) | < 3.0.0 |
| Siemens | 6GK5766-1GE00-3DB0 (device and firmware) | < 3.0.0 |
| Siemens | SIMATIC S7-1500 Tm Mfp (device and firmware) | < 1.1 < 1.1.1 |
| Siemens | ST7 Scadaconnect | < 1.1 |
| Siemens | SCALANCE WAB762-1 (6GK5762-1AJ00-6AA0) | < 3.0.0 |
| Siemens | SCALANCE WUB762-1 (6GK5762-1AJ00-1AA0) | < 3.0.0 |
| Siemens | SCALANCE WUB762-1 iFeatures (6GK5762-1AJ00-2AA0) | < 3.0.0 |
| Siemens | SIDIS Prime | < 4.0.700 |
| Siemens | 6GK5766-1GE00-7TA0 (device and firmware) | < 3.0.0 |
| Siemens | S7-1500 Cpu Firmware | ≥ 3.1.0, < 3.1.5 |
| Siemens | Scalance Wab762-1 Firmware | < 3.0.0 |
| Siemens | Scalance Wub762-1 Firmware | < 3.0.0 |
| Siemens | Scalance Wub762-1 Ifeatures Firmware | < 3.0.0 |
| Siemens | Simatic Cpu 1518F-4 Firmware | ≥ 3.1.0, < 3.1.5 |
| Siemens | Simatic S7-1500 Cpu 1518-4 Pn/Dp Mfp Firmware | ≥ 3.1.0, < 3.1.5 |
| Siemens | Simatic S7-1500 Cpu 1518-4 Pn Firmware | ≥ 3.1.0, < 3.1.5 |
| Siemens | Simatic S7-1500 Cpu 1518F-4 Firmware | ≥ 3.1.0, < 3.1.5 |
| Siemens | Simatic S7-1500 Cpu 1518F-4 Pn/Dp Mfp Firmware | ≥ 3.1.0, < 3.1.5 |
| Siemens | Sinec-Nms | < 3.0 SP1 |
| Siemens | Sinec Ins | < 1.0 SP2 Update 3 |
| Siemens | Sinec Nms | < 3.0 SP1 |
| Siemens | Siplus S7-1500 Cpu 1518-4 Pn/Dp Mfp Firmware | ≥ 3.1.0, < 3.1.5 |
Fix and vendor advisory
- SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AB0), SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AC0), SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AB0) and 2 more: Update to V3.1.5 or later version
Source: ICSA-23-348-10
- SINEC NMS: Update to V2.0 SP2 or later version
Source: ICSA-24-102-07
- SIMATIC RTLS Locating Manager (6GT2780-0DA00), SIMATIC RTLS Locating Manager (6GT2780-0DA10), SIMATIC RTLS Locating Manager (6GT2780-0DA20) and 4 more: Update to V3.0.1.1 or later version The update is available from Siemens Online Software Delivery (OSD).
Source: ICSA-24-137-07
- ST7 ScadaConnect (6NH7997-5DA10-0AA0): Update to V1.1 or later version
Source: ICSA-24-165-04
- SINEC NMS: Update to V3.0 SP1 or later version
Source: ICSA-24-319-04
- SINEC INS: Update to V1.0 SP2 Update 3 or later version
Source: ICSA-24-319-08
- SCALANCE WAB762-1 (6GK5762-1AJ00-6AA0), SCALANCE WAM763-1 (6GK5763-1AL00-7DA0), SCALANCE WAM763-1 (ME) (6GK5763-1AL00-7DC0) and 16 more: Update to V3.0.0 or later version
Source: ICSA-25-044-09
- SIDIS Prime: Update to V4.0.700 or later version
Source: ICSA-25-100-02
- SIMATIC S7-1500 TM MFP - GNU/Linux subsystem before V1.1.1: Update to V1.1.1 or later version
Source: SSA-265688
- TeleControl Server Basic V3: Update to V3.1.2 or later version
Source: SSA-556635
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Record details
| CVE ID | CVE-2023-5678 |
|---|---|
| BreachSpider ID | BS-2023-GLOBAL-054632-M |
| CVSS 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 |
| Weakness (CWE) | |
| Source | NVD |
Check devices from your own code or AI agent: free 14-day trial
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-10-14.