cve.bz

CVE-2023-0286 Type Confusion

7.4 highEPSS 68%Fix available

High (7.4). EPSS 68% estimated probability of exploitation activity in the next 30 days. Fixed in cryptography 39.0.1.

On this page
There is a type confusion vulnerability relating to X.400 address processing inside an X.509 GeneralName. X.400 addresses were parsed as an ASN1_STRING but the public structure definition for GENERAL_NAME incorrectly specified the type of the x400Address field as ASN1_TYPE. This field is subsequently interpreted by the OpenSSL function GENERAL_NAME_cmp as an ASN1_TYPE rather than an ASN1_STRING. When CRL checking is enabled (i.e. the application sets the X509_V_FLAG_CRL_CHECK flag), this vulnerability may allow an attacker to pass arbitrary pointers to a memcmp call, enabling them to read memory contents or enact a denial of service. In most cases, the attack requires the attacker to provide both the certificate chain and CRL, neither of which need to have a valid signature. If the attacker only controls one of these inputs, the other input must already contain an X.400 address as a CRL distribution point, which is uncommon. As such, this vulnerability is most likely to only affect applications which have implemented their own functionality for retrieving CRLs over a network.

Severity

CVSS 3.1

7.4 high
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:H
EPSS
68% (unchanged from 69% a week ago; 71% 30 days ago) estimated probability of exploitation activity in the next 30 days; 99th percentile. Scored 2026-11-15. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2025-03-06. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-843 Access of Resource Using Incompatible Type (Type Confusion)
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2023-0286 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2023-0286?via=ask-ai-copy and https://cve.bz/cve/CVE-2023-0286?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2023-0286 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Badge for a README or a site

CVE-2023-0286

An image that stays current: it is drawn from the data each time it is fetched (a host that proxies images, as GitHub does, may show its copy for a while). Markdown:

[![CVE-2023-0286](https://cve.bz/cve/badge/CVE-2023-0286.svg)](https://cve.bz/cve/CVE-2023-0286)

HTML:

<a href="https://cve.bz/cve/CVE-2023-0286"><img src="https://cve.bz/cve/badge/CVE-2023-0286.svg" alt="CVE-2023-0286"></a>

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
OpenSSLfrom 3.0.0 before 3.0.8
OpenSSLfrom 1.1.1 before 1.1.1t
OpenSSLfrom 1.0.2 before 1.0.2zg

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-x4qr-2fvf-3mr5PyPIcryptography>=0.8.1 <39.0.139.0.1
GHSA-x4qr-2fvf-3mr5crates.ioopenssl-src<111.25.0111.25.0
GHSA-x4qr-2fvf-3mr5crates.ioopenssl-src>=300.0.0 <300.0.12300.0.12
PYSEC-2026-800PyPIcryptography>=0.8.1 <39.0.139.0.1
RUSTSEC-2023-0006crates.ioopenssl-src>=0.0.0-0 <111.25.0
>=300.0.0 <300.0.12
111.25.0, 300.0.12

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian10openssl1.1.1n-0+deb10u4DLA-3325-1
Debian11openssl1.1.1n-0+deb11u4DSA-5343-1
Debian12, 13, 14openssl3.0.8-1DEBIAN-CVE-2023-0286
Ubuntu18.04:LTSopenssl1.1.1-1ubuntu2.1~18.04.21UBUNTU-CVE-2023-0286 USN-5844-1
Ubuntu18.04:LTSopenssl1.01.0.2n-1ubuntu5.11UBUNTU-CVE-2023-0286 USN-5845-1
Ubuntu20.04:LTSopenssl1.1.1f-1ubuntu2.17UBUNTU-CVE-2023-0286 USN-5844-1
Ubuntu22.04:LTSedk22022.02-3ubuntu0.22.04.4UBUNTU-CVE-2023-0286 USN-7894-1
Ubuntu22.04:LTSnodejs12.22.9~dfsg-1ubuntu3.3UBUNTU-CVE-2023-0286 USN-6564-1
Ubuntu22.04:LTSopenssl3.0.2-0ubuntu1.8UBUNTU-CVE-2023-0286 USN-5844-1
Ubuntu24.04:LTSedk22024.02-2ubuntu0.6USN-7894-1
UbuntuPro:14.04:LTSopenssl1.0.1f-1ubuntu2.27+esm6UBUNTU-CVE-2023-0286 USN-5845-2
UbuntuPro:16.04:LTSopenssl1.0.2g-1ubuntu4.20+esm6UBUNTU-CVE-2023-0286 USN-5845-2
UbuntuPro:16.04:LTS, Pro:18.04:LTS, Pro:20.04:LTSedk2no fix listedUBUNTU-CVE-2023-0286
UbuntuPro:FIPS-updates:16.04:LTSopenssl1.0.2g-1ubuntu4.fips.4.20.6UBUNTU-CVE-2023-0286
UbuntuPro:FIPS-updates:18.04:LTSopenssl1.1.1-1ubuntu2.fips.2.1~18.04.21UBUNTU-CVE-2023-0286
2 more for Ubuntu in the JSON and on Ubuntu's page.
Red Hatenterprise_linux:7::client, enterprise_linux:7::server, enterprise_linux:7::workstationopenssl, openssl-libs, openssl-perl and 3 more1:1.0.2k-26.el7_9RHSA-2023:1335
Red Hatenterprise_linux:7::computenodeopenssl-perl, openssl-devel, openssl-static and 1 more1:1.0.2k-26.el7_9RHSA-2023:1335
Red Hatenterprise_linux:8::appstreamcompat-openssl10, compat-openssl10-debuginfo, compat-openssl10-debugsource1:1.0.2o-4.el8_10.1RHSA-2025:7895
Red Hatenterprise_linux:8::appstreamedk2, edk2-ovmf, edk2-aarch640:20220126gitbb1bba3d77-4.el8RHSA-2023:2932
Red Hatenterprise_linux:8::baseosopenssl, openssl-libs, openssl-perl and 4 more1:1.1.1k-9.el8_7RHSA-2023:1405
Red Hatenterprise_linux:9::appstreamcompat-openssl11, compat-openssl11-debuginfo, compat-openssl11-debugsource1:1.1.1k-5.el9_6.1RHSA-2025:7937
Red Hatenterprise_linux:9::appstreamedk2, edk2-ovmf, edk2-aarch640:20221207gitfff6d81270b5-9.el9_2RHSA-2023:2165
Red Hatenterprise_linux:9::appstreamopenssl-perl, openssl-devel, openssl-debuginfo and 2 more1:3.0.1-47.el9_1RHSA-2023:0946
Red Hatenterprise_linux:9::baseosopenssl, openssl-libs, openssl-debuginfo and 2 more1:3.0.1-47.el9_1RHSA-2023:0946
Red Hatenterprise_linux:9::crbedk2-ovmf, edk2-tools, edk2-aarch64 and 3 more0:20221207gitfff6d81270b5-9.el9_2RHSA-2023:2165
Red Hatjboss_core_services:1::el7jbcs-httpd24-apr-util, jbcs-httpd24-apr-util-nss, jbcs-httpd24-apr-util-ldap and 7 more0:1.6.1-101.el7jbcsRHSA-2023:3354
Red Hatjboss_core_services:1::el7jbcs-httpd24-curl, jbcs-httpd24-libcurl, jbcs-httpd24-libcurl-devel and 1 more0:8.0.1-1.el7jbcsRHSA-2023:3354
26 more for Red Hat in the JSON and on Red Hat's page.
SUSEEnterprise Storage 7, Enterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP2-LTSS and 12 moreopenssl-1_11.1.1d-150200.11.57.1SUSE-SU-2023:0310-1
SUSEEnterprise Storage 7, Enterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP3-ESPOS and 8 moreopenssl-1_0_01.0.2p-150000.3.65.1SUSE-SU-2023:0305-1 SUSE-SU-2023:0305-2
SUSELinux Enterprise High Performance Computing 15 SP1-LTSS, Linux Enterprise Server 15 SP1-LTSS, Linux Enterprise Server for SAP Applications 15 SP1openssl-1_11.1.0i-150100.14.42.1SUSE-SU-2023:0308-1
SUSELinux Enterprise Live Patching 15 SP4openssl-1_1-livepatches0.1-150400.3.3.1SUSE-SU-2023:0482-1
SUSELinux Enterprise Micro 5.3, Linux Enterprise Module for Basesystem 15 SP4openssl-1_11.1.1l-150400.7.22.1SUSE-SU-2023:0311-1
SUSELinux Enterprise Module for Basesystem 15 SP4openssl-33.0.1-150400.4.17.1SUSE-SU-2023:0312-1
SUSELinux Enterprise Server 11 SP4 LTSS EXTREME COREopenssl11.0.1g-0.58.56.1SUSE-SU-2023:0307-1
SUSELinux Enterprise Server 12 SP2-BCLopenssl1.0.2j-60.86.1SUSE-SU-2023:0684-1
SUSELinux Enterprise Server 12 SP4-LTSS, Linux Enterprise Server 12 SP5, Linux Enterprise Server for SAP Applications 12 SP4 and 4 moreopenssl-1_0_01.0.2p-3.64.1SUSE-SU-2023:0306-1
SUSELinux Enterprise Server 12 SP4-LTSS, Linux Enterprise Server 12 SP5, Linux Enterprise Server for SAP Applications 12 SP4 and 4 moreopenssl-1_11.1.1d-2.75.1SUSE-SU-2023:0309-1
openSUSELeap 15.4openssl-1_0_01.0.2p-150000.3.65.1SUSE-SU-2023:0305-1 SUSE-SU-2023:0305-2
openSUSELeap 15.4openssl-1_1-livepatches0.1-150400.3.3.1SUSE-SU-2023:0482-1
openSUSELeap 15.4openssl-33.0.1-150400.4.17.1SUSE-SU-2023:0312-1
openSUSELeap 15.4, Leap Micro 5.3openssl-1_11.1.1l-150400.7.22.1SUSE-SU-2023:0311-1
openSUSELeap Micro 5.2openssl-1_11.1.1d-150200.11.57.1SUSE-SU-2023:0310-1
openSUSETumbleweedoci-cli3.23.3-1.1openSUSE-SU-2024:12787-1
openSUSETumbleweedopenssl-1_0_01.0.2u-12.1openSUSE-SU-2024:12687-1
openSUSETumbleweedopenssl-1_11.1.1t-1.1openSUSE-SU-2024:12688-1
openSUSETumbleweedopenssl-33.0.8-1.1openSUSE-SU-2024:12716-1
openSUSETumbleweedpython3103.10.12-1.1openSUSE-SU-2024:13031-1
openSUSETumbleweedpython3113.11.3-1.1openSUSE-SU-2024:12976-1
openSUSETumbleweedpython3123.12.0b3-1.1openSUSE-SU-2024:13032-1
9 more for openSUSE in the JSON and on openSUSE's page.
AlmaLinux8compat-openssl101:1.0.2o-4.el8_10.1ALSA-2025:7895
AlmaLinux8edk2-ovmf, edk2-aarch6420220126gitbb1bba3d77-4.el8ALSA-2023:2932
AlmaLinux8openssl, openssl-libs, openssl-perl and 1 more1:1.1.1k-9.el8_7ALSA-2023:1405
AlmaLinux9compat-openssl111:1.1.1k-5.el9_6.1ALSA-2025:7937
AlmaLinux9edk2-ovmf, edk2-tools, edk2-aarch64 and 1 more20221207gitfff6d81270b5-9.el9_2ALSA-2023:2165
AlmaLinux9openssl, openssl-libs, openssl-perl and 1 more1:3.0.1-47.el9_1ALSA-2023:0946
Rocky Linux8compat-openssl101:1.0.2o-4.el8_10.1RLSA-2025:7895
Rocky Linux8openssl1:1.1.1k-9.el8_7RLSA-2023:1405
Rocky Linux9compat-openssl111:1.1.1k-5.el9_6.1RLSA-2025:7937
Rocky Linux9openssl1:3.0.1-47.el9_1RLSA-2023:0946
Alpinev3.14, v3.15, v3.16openssl1.1.1t-r0ALPINE-CVE-2023-0286
Alpinev3.15, v3.16openssl33.0.8-r0ALPINE-CVE-2023-0286
Alpinev3.17, v3.18openssl1.1-compat1.1.1t-r0ALPINE-CVE-2023-0286
Alpinev3.17, v3.18, v3.19 and 5 moreopenssl3.0.8-r0ALPINE-CVE-2023-0286
Azure Linux2cloud-hypervisor30.0-2AZL-13701
Azure Linux2hvloader1.0.1-2AZL-37614
Azure Linux2openssl1.1.1k-21AZL-13564
Azure Linux3hvloader1.0.1-4AZL-37883

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; the Alpine secdb, CC BY-SA 4.0; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine.

Red Hat

Red Hat rates this Important.

Red Hat's statement

For shim in Red Hat Enterprise Linux 8 & 9, is not affected as shim doesn't support any CRL processing.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options don't meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.

ProductPackageStateAdvisory
JBCS httpd 2.4.51.sp2opensslFixed 2023-06-05RHSA-2023:3355
JBoss Core Services for RHEL 8jbcs-httpd24-openssl-1:1.1.1k-14.el8jbcsFixed 2023-06-05RHSA-2023:3354
JBoss Core Services on RHEL 7jbcs-httpd24-openssl-1:1.1.1k-14.el7jbcsFixed 2023-06-05RHSA-2023:3354
Red Hat Enterprise Linux 6 Extended Lifecycle Supportopenssl-0:1.0.1e-61.el6_10Fixed 2023-03-23RHSA-2023:1438
Red Hat Enterprise Linux 7openssl-1:1.0.2k-26.el7_9Fixed 2023-03-20RHSA-2023:1335
Red Hat Enterprise Linux 7.7 Advanced Update Supportopenssl-1:1.0.2k-21.el7_7.1Fixed 2024-08-08RHSA-2024:5136
Red Hat Enterprise Linux 8edk2-0:20220126gitbb1bba3d77-4.el8Fixed 2023-05-16RHSA-2023:2932
Red Hat Enterprise Linux 8compat-openssl10-1:1.0.2o-4.el8_10.1Fixed 2025-05-19RHSA-2025:7895
Red Hat Enterprise Linux 8openssl-1:1.1.1k-9.el8_7Fixed 2023-03-22RHSA-2023:1405
Red Hat Enterprise Linux 8.1 Update Services for SAP Solutionsopenssl-1:1.1.1c-6.el8_1Fixed 2023-03-23RHSA-2023:1437
Red Hat Enterprise Linux 8.2 Advanced Update Supportedk2-0:20190829git37eef91017ad-9.el8_2.2Fixed 2023-07-18RHSA-2023:4124
Red Hat Enterprise Linux 8.2 Advanced Update Supportopenssl-1:1.1.1c-21.el8_2Fixed 2023-03-23RHSA-2023:1439
Red Hat Enterprise Linux 8.2 Telecommunications Update Serviceedk2-0:20190829git37eef91017ad-9.el8_2.2Fixed 2023-07-18RHSA-2023:4124
Red Hat Enterprise Linux 8.2 Telecommunications Update Serviceopenssl-1:1.1.1c-21.el8_2Fixed 2023-03-23RHSA-2023:1439
Red Hat Enterprise Linux 8.2 Update Services for SAP Solutionsedk2-0:20190829git37eef91017ad-9.el8_2.2Fixed 2023-07-18RHSA-2023:4124
Red Hat Enterprise Linux 8.2 Update Services for SAP Solutionsopenssl-1:1.1.1c-21.el8_2Fixed 2023-03-23RHSA-2023:1439
Red Hat Enterprise Linux 7ovmfWill not fix
Red Hat Enterprise Linux 8shimNot affected
Red Hat Enterprise Linux 9shimNot affected
Red Hat JBoss Web Server 3opensslOut of support scope
29 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2023-0286.

ICS advisories (CISA)

AdvisoryTitlePublishedSectorsAffectedFixed
ICSA-25-226-21Siemens BFCClient2025-08-12Critical Manufacturing, Transportation Systems, Energy, Healthcare and Public Health, Financial Services, Government Services and FacilitiesBFCClientnone listed
ICSA-25-105-08ABB M2M Gateway2025-04-07EnergyABB M2M Gateway ARM600, firmware versions = 4.1.2 <= 5.0.3, ABB M2M Gateway SW, software versions = 5.0.1 <= 5.0.3none listed
ICSA-25-065-01Hitachi Energy PCU4002025-02-25Critical ManufacturingPCU400 versions 6.5 K and below, PCU400 versions 9.4.1 and below, PCULogger versions 1.1.0 and belowPCU400 version 6.6.0, PCU400 version 9.4.2, PCULogger version 1.2.0
ICSA-25-044-09Siemens SCALANCE W700 IEEE 802.11ax2025-02-11Chemical, Critical Manufacturing, Energy, Food and Agriculture, Water and Wastewater SystemsSCALANCE WAB762-1 (6GK5762-1AJ00-6AA0), SCALANCE WAM763-1 (6GK5763-1AL00-7DA0), SCALANCE WAM763-1 (ME) (6GK5763-1AL00-7DC0) and 16 morenone listed
ICSA-24-205-02Hitachi Energy AFS/AFR Series Products2024-07-23EnergyHitachi Energy AFS650: <=9.1.08, Hitachi Energy AFS660-C: <=7.1.05, Hitachi Energy AFS665-B: <=7.1.05 and 5 morenone listed
ICSA-24-165-06Siemens TIM 1531 IRC2024-06-11MultipleSIPLUS TIM 1531 IRC (6AG1543-1MX00-7XE0), TIM 1531 IRC (6GK7543-1MX00-0XE0)none listed
ICSA-24-165-10Siemens SIMATIC and SIPLUS2024-06-11MultipleSIMATIC CP 1542SP-1 (6GK7542-6UX00-0XE0), SIMATIC CP 1542SP-1 IRC (6GK7542-6VX00-0XE0), SIMATIC CP 1543SP-1 (6GK7543-6WX00-0XE0) and 3 morenone listed
ICSA-24-165-11Siemens SCALANCE XM-400, XR-5002024-06-11MultipleSCALANCE XM408-4C (6GK5408-4GP00-2AM2), SCALANCE XM408-4C (L3 int.) (6GK5408-4GQ00-2AM2), SCALANCE XM408-8C (6GK5408-8GS00-2AM2) and 23 morenone listed
ICSA-24-102-04Siemens RUGGEDCOM APE18082024-04-09Critical Manufacturing, Transportation Systems, Energy, Healthcare and Public Health, Financial Services, Government Services and FacilitiesRUGGEDCOM APE1808none listed
ICSA-24-046-15Siemens SINEC NMS2024-02-13MultipleSINEC NMSnone listed
8 more in the JSON.

From CISA's ICS advisories (CSAF), provided under CISA's notification. Only the facts are shown; each advisory is on CISA's page. Credits.

References

Check your stackJSON