cve.bz

CVE-2023-0401 NULL Pointer Dereference

7.5 highEPSS 1.9%Fix available

High (7.5). EPSS 1.9% estimated probability of exploitation activity in the next 30 days. Fixed in openssl-src 300.0.12.

On this page
A NULL pointer can be dereferenced when signatures are being verified on PKCS7 signed or signedAndEnveloped data. In case the hash algorithm used for the signature is known to the OpenSSL library but the implementation of the hash algorithm is not available the digest initialization will fail. There is a missing check for the return value from the initialization function which later leads to invalid usage of the digest API most likely leading to a crash. The unavailability of an algorithm can be caused by using FIPS enabled configuration of providers or more commonly by not loading the legacy provider. PKCS7 data is processed by the SMIME library calls and also by the time stamp (TS) library calls. The TLS implementation in OpenSSL does not call these functions however third party applications would be affected if they call these functions to verify signatures on untrusted data.

Severity

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS
1.9% (unchanged from 1.8% a week ago; 1.8% 30 days ago) estimated probability of exploitation activity in the next 30 days; 80th percentile. Scored 2026-11-23. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: yes · Technical impact: partial, assessed 2025-04-23. 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-476 NULL Pointer Dereference
OWASP Top 10
A10:2025 Mishandling of Exceptional Conditions
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-0401 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2023-0401?via=ask-ai-copy and https://cve.bz/cve/CVE-2023-0401?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-0401 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.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
OpenSSLfrom 3.0.0 before 3.0.8

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-vrh7-x64v-7vxqcrates.ioopenssl-src>=300.0.0 <300.0.12300.0.12
RUSTSEC-2023-0013crates.ioopenssl-src>=300.0.0 <300.0.12300.0.12

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13, 14openssl3.0.8-1DEBIAN-CVE-2023-0401
Ubuntu18.04:LTSopenssl1.1.1-1ubuntu2.1~18.04.21USN-5844-1
Ubuntu20.04:LTSopenssl1.1.1f-1ubuntu2.17USN-5844-1
Ubuntu22.04:LTSnodejs12.22.9~dfsg-1ubuntu3.3UBUNTU-CVE-2023-0401 USN-6564-1
Ubuntu22.04:LTSopenssl3.0.2-0ubuntu1.8UBUNTU-CVE-2023-0401 USN-5844-1
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 Hatrhel_eus:9.0::appstreamopenssl-perl, openssl-devel, openssl-debuginfo and 2 more1:3.0.1-46.el9_0RHSA-2023:1199
Red Hatrhel_eus:9.0::baseosopenssl, openssl-libs, openssl-debuginfo and 2 more1:3.0.1-46.el9_0RHSA-2023:1199
SUSELinux Enterprise Module for Basesystem 15 SP4openssl-33.0.1-150400.4.17.1SUSE-SU-2023:0312-1
openSUSELeap 15.4openssl-33.0.1-150400.4.17.1SUSE-SU-2023:0312-1
openSUSETumbleweedopenssl-33.0.8-1.1openSUSE-SU-2024:12716-1
AlmaLinux9openssl, openssl-libs, openssl-perl and 1 more1:3.0.1-47.el9_1ALSA-2023:0946
Rocky Linux9openssl1:3.0.1-47.el9_1RLSA-2023:0946
Alpinev3.15, v3.16openssl33.0.8-r0ALPINE-CVE-2023-0401
Alpinev3.17, v3.18, v3.19 and 5 moreopenssl3.0.8-r0ALPINE-CVE-2023-0401

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. 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 Moderate.

Red Hat's statement

Red Hat Enterprise Linux 6, 7, and 8 ships OpenSSL 1.1.1 and 1.0.2 which do not contain the incorrect code, so those are not affected by this CVE. Similarly, the versions of `shim` as shipped with Red Hat Enterprise Linux 8 and 9 are not affected by this issue.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 9openssl-1:3.0.1-47.el9_1Fixed 2023-02-28RHSA-2023:0946
Red Hat Enterprise Linux 9.0 Extended Update Supportopenssl-1:3.0.1-46.el9_0Fixed 2023-03-14RHSA-2023:1199
Red Hat Enterprise Linux 6opensslNot affected
Red Hat Enterprise Linux 7opensslNot affected
Red Hat Enterprise Linux 7ovmfNot affected
Red Hat Enterprise Linux 8compat-openssl10Not affected
Red Hat Enterprise Linux 8edk2Not affected
Red Hat Enterprise Linux 8opensslNot affected
Red Hat Enterprise Linux 8shimNot affected
Red Hat Enterprise Linux 9compat-openssl11Not affected
Red Hat Enterprise Linux 9edk2Not affected
Red Hat Enterprise Linux 9shimNot affected
Red Hat JBoss Core ServicesopensslNot affected
Red Hat JBoss Web Server 3opensslNot affected
Red Hat JBoss Web Server 5opensslNot affected

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-0401.

ICS advisories (CISA)

AdvisoryTitlePublishedSectorsAffectedFixed
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-24-046-15Siemens SINEC NMS2024-02-13MultipleSINEC NMSnone listed
ICSA-23-320-08Siemens SCALANCE Family Products2023-11-14MultipleSCALANCE XB205-3 (SC, PN) (6GK5205-3BB00-2AB2), SCALANCE XB205-3 (ST, E/IP) (6GK5205-3BB00-2TB2), SCALANCE XB205-3 (ST, E/IP) (6GK5205-3BD00-2TB2) and 47 morenone listed
ICSA-23-229-01ICONICS and Mitsubishi Electric Products2023-08-17Critical ManufacturingICONICS Suite including GENESIS64, Hyper Historian, AnalytiX, and MobileHMI: 10.97.2none listed

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