Skip to content
Fencer Vulns
high 7.5

CVE-2023-5363 json

Incorrect cipher key & IV length processing

published 2023-10-24 3 y ago modified 2026-10-14 25 d ago also EUVD-2023-57679 , GHSA-xw78-pcr6-wrg8 , JLSEC-2026-243

cvss
7.5
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
3.9%
EPSS 3.9% chance of exploitation in 30 days, percentile 90%
public exploits
0
none known

Summary

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.

Patch / fix

  • julia OpenSSL_jll 3.0.12+0
  • OpenSSL OpenSSL 3.0.12, 3.1.4
  • Siemens SIDIS Prime V4.0.700
  • Siemens SINEC NMS V3.0 SP1
  • openssl Debian 12 3.0.11-1~deb12u2
  • openssl Debian 14, Debian 13 3.0.12-1

debian advisories DEBIAN-CVE-2023-5363

  • openssl Ubuntu 22.04 LTS 3.0.2-0ubuntu1.12
  • openssl Ubuntu 24.04 LTS 3.0.10-1ubuntu2.1
  • openssl Ubuntu Pro FIPS-updates 22.04 LTS, Ubuntu Pro FIPS-preview 22.04 LTS 3.0.2-0ubuntu1.12+Fips1

ubuntu advisories UBUNTU-CVE-2023-5363

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • openssl RHEL 9 1:3.0.7-25.el9_3
  • openssl-libs RHEL 9 1:3.0.7-25.el9_3
  • openssl-perl RHEL 9 1:3.0.7-25.el9_3
  • openssl RHEL 9.2 EUS 1:3.0.7-18.el9_2
  • openssl-libs RHEL 9.2 EUS 1:3.0.7-18.el9_2
  • openssl-perl RHEL 9.2 EUS 1:3.0.7-18.el9_2

red hat advisories RHSA-2024:0310RHSA-2024:0500

  • openssl-3 SLE Module for Basesystem 15 SP5, openSUSE Leap 15.5 3.0.8-150500.5.14.1
  • openssl-3 SLE Module for Basesystem 15 SP4, SLE Micro 5.4, SLE Micro 5.3 +3 more 3.0.8-150400.4.37.1

suse advisories SUSE-SU-2023:4190-1SUSE-SU-2023:4189-1

  • openssl-3 openSUSE Tumbleweed 3.1.4-1.1

opensuse advisories openSUSE-SU-2024:13372-1

  • openssl AlmaLinux 9 1:3.0.7-25.el9_3
  • openssl-libs AlmaLinux 9 1:3.0.7-25.el9_3
  • openssl-perl AlmaLinux 9 1:3.0.7-25.el9_3

almalinux advisories ALSA-2024:0310

  • openssl Alpine 3.17 3.0.12-r0
  • openssl Alpine 3.24, Alpine 3.23, Alpine 3.22 +4 more 3.1.4-r0

alpine advisories ALPINE-CVE-2023-5363

Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • cloud-hypervisor-cvm CBL-Mariner 2.0, Azure Linux 3.0 38.0.72.2-1

azure linux advisories AZL-42712AZL-42751

Azure Linux vulnerability data, Copyright (c) Microsoft Corporation, from https://github.com/microsoft/AzureLinuxVulnerabilityData via OSV, under the MIT licence; changed: normalised to fixed package versions per release. MIT

  • openssl Arch Linux 3.1.4-1
  • lib32-openssl Arch Linux 1:3.1.4-1

arch linux advisories AVG-2848AVG-2849

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2023-5363 updated cvss 7.5

openssl: Incorrect cipher key and IV length processing

  • Red Hat Enterprise Linux AppStream (v. 9) openssl-perl 3.0.7-25.el9_3
    fixed: vendor fix RHSA-2024:0310
  • Red Hat Enterprise Linux AppStream EUS (v.9.2) openssl-perl 3.0.7-18.el9_2
    fixed: vendor fix RHSA-2024:0500
  • Red Hat Enterprise Linux BaseOS (v. 9) openssl 3.0.7-25.el9_3, openssl-libs 3.0.7-25.el9_3
    fixed: vendor fix RHSA-2024:0310
  • Red Hat Enterprise Linux BaseOS EUS (v.9.2) openssl 3.0.7-18.el9_2, openssl-libs 3.0.7-18.el9_2
    fixed: vendor fix RHSA-2024:0500
  • Red Hat RHODF 4.15 for RHEL 9 odf4/cephcsi-rhel9 v4.15.0-37, odf4/odf-cli-rhel9 v4.15.0-22, odf4/mcg-core-rhel9 v4.15.0-68, odf4/odf-console-rhel9 v4.15.0-57, odf4/mcg-rhel9-operator v4.15.0-39, odf4/ocs-rhel9-operator v4.15.0-79, +20 more
    fixed: vendor fix RHSA-2024:1383
  • Red Hat RHOL 5.8 for RHEL 9 openshift-logging/fluentd-rhel9 v5.8.6-5, openshift-logging/vector-rhel9 v0.28.1-56, openshift-logging/eventrouter-rhel9 v0.4.0-247, openshift-logging/logging-loki-rhel9 v2.9.6-14, openshift-logging/loki-rhel9-operator v5.8.6-10, openshift-logging/loki-operator-bundle v5.8.6-24, +11 more
    fixed: vendor fix RHSA-2024:2094
  • Red Hat Enterprise Linux 6 openssl, openssl-perl Red Hat Enterprise Linux 7 ovmf, OVMF, AAVMF, openssl, openssl-libs, openssl-perl Red Hat Enterprise Linux 8 edk2, shim, openssl, shim-x64, edk2-ovmf, shim-aa64, +5 more Red Hat Enterprise Linux 9 edk2, shim, shim-x64, edk2-ovmf, shim-aa64, edk2-tools, +2 more Red Hat JBoss Core Services jbcs-httpd24-openssl Red Hat JBoss Web Server 3 openssl
    +1 more products
    Red Hat JBoss Web Server 5 openssl
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

cisa ICSA-25-162-05 updated cvss 7.5

Siemens SIMATIC S7-1500 CPU family

  • Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AB0) >= 3.1.5 Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AC0) >= 3.1.5 Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AB0) >= 3.1.5 Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AC0) >= 3.1.5 Siemens SIPLUS S7-1500 CPU 1518-4 PN/DP MFP (6AG1518-4AX00-4AC0) >= 3.1.5
    affected: mitigation, no fix available

Facts from CISA's republication of the vendor's own advisory (CSAF); the linked advisory is the authoritative source. CISA notification · csaf

cisa ICSA-25-044-09 updated cvss 7.5

Siemens SCALANCE W700 IEEE 802.11ax

  • Siemens SCALANCE WAB762-1 (6GK5762-1AJ00-6AA0) <V3.0.0 Siemens SCALANCE WAM763-1 (6GK5763-1AL00-7DA0) <V3.0.0 Siemens SCALANCE WAM763-1 (ME) (6GK5763-1AL00-7DC0) <V3.0.0 Siemens SCALANCE WAM763-1 (US) (6GK5763-1AL00-7DB0) <V3.0.0 Siemens SCALANCE WAM766-1 (6GK5766-1GE00-7DA0) <V3.0.0 Siemens SCALANCE WAM766-1 (ME) (6GK5766-1GE00-7DC0) <V3.0.0
    +13 more products
    Siemens SCALANCE WAM766-1 (US) (6GK5766-1GE00-7DB0) <V3.0.0 Siemens SCALANCE WAM766-1 EEC (6GK5766-1GE00-7TA0) <V3.0.0 Siemens SCALANCE WAM766-1 EEC (ME) (6GK5766-1GE00-7TC0) <V3.0.0 Siemens SCALANCE WAM766-1 EEC (US) (6GK5766-1GE00-7TB0) <V3.0.0 Siemens SCALANCE WUB762-1 (6GK5762-1AJ00-1AA0) <V3.0.0 Siemens SCALANCE WUB762-1 iFeatures (6GK5762-1AJ00-2AA0) <V3.0.0 Siemens SCALANCE WUM763-1 (6GK5763-1AL00-3AA0) <V3.0.0 Siemens SCALANCE WUM763-1 (6GK5763-1AL00-3DA0) <V3.0.0 Siemens SCALANCE WUM763-1 (US) (6GK5763-1AL00-3AB0) <V3.0.0 Siemens SCALANCE WUM763-1 (US) (6GK5763-1AL00-3DB0) <V3.0.0 Siemens SCALANCE WUM766-1 (6GK5766-1GE00-3DA0) <V3.0.0 Siemens SCALANCE WUM766-1 (ME) (6GK5766-1GE00-3DC0) <V3.0.0 Siemens SCALANCE WUM766-1 (USA) (6GK5766-1GE00-3DB0) <V3.0.0
    affected: fixed in V3.0.0 support.industry.siemens.com

Facts from CISA's republication of the vendor's own advisory (CSAF); the linked advisory is the authoritative source. CISA notification · csaf

cisa ICSA-25-100-02 updated cvss 7.5

Siemens SIDIS Prime

  • Siemens SIDIS Prime <V4.0.700
    affected: fixed in V4.0.700

Facts from CISA's republication of the vendor's own advisory (CSAF); the linked advisory is the authoritative source. CISA notification · csaf

cisa ICSA-24-137-07 updated cvss 7.5

Siemens SIMATIC RTLS Locating Manager

  • Siemens SIMATIC RTLS Locating Manager (6GT2780-0DA00) <V3.0.1.1 Siemens SIMATIC RTLS Locating Manager (6GT2780-0DA10) <V3.0.1.1 Siemens SIMATIC RTLS Locating Manager (6GT2780-0DA20) <V3.0.1.1 Siemens SIMATIC RTLS Locating Manager (6GT2780-0DA30) <V3.0.1.1 Siemens SIMATIC RTLS Locating Manager (6GT2780-1EA10) <V3.0.1.1 Siemens SIMATIC RTLS Locating Manager (6GT2780-1EA20) <V3.0.1.1
    +1 more products
    Siemens SIMATIC RTLS Locating Manager (6GT2780-1EA30) <V3.0.1.1
    affected: fixed in V3.0.1.1, mitigation

Facts from CISA's republication of the vendor's own advisory (CSAF); the linked advisory is the authoritative source. CISA notification · csaf

CISA SSVC

Exploitation
none
Automatable
yes
Technical impact
partial
Assessed
17 mo ago

Exploit prediction

3.94% chance of exploitation in the next 30 days, higher than 90% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
CISA ADP 3.1 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
NVD 3.1 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
CNA 3.1 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
OSV 3.1 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Affected packages

ecosystem package affected fixed in
julia OpenSSL_jll
>=3.0.8+0, <3.0.12+0
3.0.12+0

Affected products

  • OpenSSL OpenSSL
  • Siemens SIDIS Prime
  • Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP
  • Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP
  • Siemens SIPLUS S7-1500 CPU 1518-4 PN/DP MFP
  • Siemens SINEC NMS

Classification

Weakness
  • CWE-684 Incorrect Provision of Specified Functionality
Technology feeds

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.