CVE-2023-5363 in Debian Linux and 36 more products
Issue summary: A bug has been identified in the processing of key and initialisation vector (IV) lengths. This can lead to potential truncation or overruns during the initialisation of some symmetric ciphers. Impact summary: A truncation in the IV can result in non-uniqueness, which could result in loss of confidentiality for some cipher modes. When calling EVP_EncryptInit_ex2(), EVP_DecryptInit_ex2() or EVP_CipherInit_ex2() the provided OSSL_PARAM array is processed after the key and IV have been established. Any alterations to the key length, via the "keylen" parameter or the IV length, via the "ivlen" parameter, within the OSSL_PARAM array will not take effect as intended, potentially causing truncation or overreading of these values. The following ciphers and cipher modes are impacted: RC2, RC4, RC5, CCM, GCM and OCB. For the CCM, GCM and OCB cipher modes, truncation of the IV can result in loss of confidentiality. For example, when following NIST's SP 800-38D section 8.2.1 guidance for constructing a deterministic IV for AES in GCM mode, truncation of the counter portion could lead to IV reuse. Both truncations and overruns of the key and overruns of the IV will produce incorrect results and could, in some cases, trigger a memory exception. However, these issues are not currently assessed as security critical. Changing the key and/or IV lengths is not considered to be a common operation and the vulnerable API was recently introduced. Furthermore it is likely that application developers will have spotted this problem during testing since decryption would fail unless both peers in the communication were similarly vulnerable. For these reasons we expect the probability of an application being vulnerable to this to be quite low. However if an application is vulnerable then this issue is considered very serious. For these reasons we have assessed this issue as Moderate severity overall. 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 because the issue lies outside of the FIPS provider boundary. OpenSSL 3.1 and 3.0 are vulnerable to this issue.
Affects 37 products from 4 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, full confidentiality impact, no integrity impact, no availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Debian | Debian Linux | 12.0 |
| Netapp | H410S (device and firmware) | No version listed by the source |
| Netapp | H410C (device and firmware) | No version listed by the source |
| Netapp | H300S (device and firmware) | No version listed by the source |
| Netapp | H500S (device and firmware) | No version listed by the source |
| Netapp | H700S (device and firmware) | No version listed by the source |
| Openssl | Openssl | ≥ 3.0.0, < 3.0.12 ≥ 3.1.0, < 3.1.4 |
| Siemens | 6GK5766-1GE00-7DB0 (device and firmware) | < 3.0.0 |
| Siemens | 6GK5766-1GE00-7TA0 (device and firmware) | < 3.0.0 |
| 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 | 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 | SIMATIC Rtls Locating Manager | < 3.0.1.1 |
| 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 |
| Phoenixcontact | Axc F 1152 Firmware | < 2024.0.6 |
| Phoenixcontact | Axc F 2152 Firmware | < 2024.0.6 |
| Phoenixcontact | Axc F 3152 Firmware | < 2024.0.6 |
| Phoenixcontact | Bpc 9102S Firmware | < 2024.0.6 |
| Phoenixcontact | Epc 1502 Firmware | < 2024.0.3 |
| Phoenixcontact | Epc 1522 Firmware | < 2024.0.3 |
| Phoenixcontact | Rfc 4072R Firmware | < 2024.0.6 |
| Phoenixcontact | Rfc 4072S Firmware | < 2024.0.6 |
| Siemens | S7-1500 Cpu Firmware | ≥ 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.5 |
| Siemens | Simatic S7-1500 Cpu 1518-4 Pn/Dp Mfp Firmware | ≥ 3.1.5 |
| Siemens | Simatic S7-1500 Cpu 1518-4 Pn Firmware | ≥ 3.1.5 |
| Siemens | Simatic S7-1500 Cpu 1518F-4 Firmware | ≥ 3.1.5 |
| Siemens | Simatic S7-1500 Cpu 1518F-4 Pn/Dp Mfp Firmware | ≥ 3.1.5 |
| Siemens | Sinec-Nms | < 3.0 SP1 |
| Siemens | Sinec Nms | < 3.0 SP1 |
| Siemens | Siplus S7-1500 Cpu 1518-4 Pn/Dp Mfp Firmware | ≥ 3.1.5 |
Fix and vendor advisory
- 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
- SINEC NMS: Update to V3.0 SP1 or later version
Source: ICSA-24-319-04
- 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
- Update to the latest 2024.0.6 LTS Firmware Release. PHOENIX CONTACT recommends to always use an up-to-date version of the PLCnext Engineer.
Source: VDE-2024-073
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Record details
| CVE ID | CVE-2023-5363 |
|---|---|
| BreachSpider ID | BS-2023-GLOBAL-054970-H |
| CVSS vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| Published | 2023-10-25 |
| Last modified | 2026-06-17 |
| Weakness (CWE) | |
| Source | NVD |
Compensating controls AI-drafted, review before use
Implement strict input validation for key and IV lengths in cryptographic operations, and monitor for any unexpected changes in these values.
NERC CIP: CIP-007 CIP-007-R2
IEC 62443: SR 7.6
Not validated for your network. A compensating control does not replace the vendor fix.
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-06-17.