CVE-2023-0401: openssl NULL Pointer Dereference
Vulnerability summary
CVE-2023-0401 is a high (CVSS 7.5) NULL Pointer Dereference vulnerability in openssl. EPSS estimates a 1.85% chance of exploitation in the next 30 days, higher than 78.7% of scored vulnerabilities.
Advisory lineage
Upstream 0 · Downstream 7 · Related 8Timeline
- 08-02-2023PublishedVulnerability first disclosed.
- 04-11-2025Last modifiedVulnerability information updated.
Description
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.
CVSS metrics
8 scores · 8 sources · 1 version- OSV · AlpineEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- OSV · UbuntuEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- OSV · DebianEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- OSV · WolfiEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- OSV · ChainguardEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- OSV · Crates.ioEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- NVDNIST7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS trend
Probability
1.85%
Chance of exploitation in the next 30 days
Percentile
79%
Versus all other CVEs
30-day change
0.00 pp
From 1.85% on 19-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Chainguard3 products
- openssl< 3.1.0-r0
- openssl-provider-fips< 3.0.8-r0
- ruby-3.1All versions (No fix recorded)
Alpine2 products
- openssl≥ 3.0.0, < 3.0.8-r0
- openssl3< 3.0.8-r0
Ubuntu2 products
- nodejs< 12.22.9~dfsg-1ubuntu3.3
- openssl< 3.0.2-0ubuntu1.8
Wolfi2 products
- openssl< 3.1.0-r0
- ruby-3.1All versions (No fix recorded)
Crates.Io1 product
- openssl-src≥ 300.0.0, < 300.0.12
Debian1 product
- openssl< 3.0.8-1
Openssl1 product
- openssl≥ 3.0.0, < 3.0.8 | ≥ 3.0.0, ≤ 3.0.7
Stormshield1 product
8 vendors · 13 products
References
15 links- git.openssl.org/gitweb/?p=openssl.git;a=commitdiff;h=d3b6dfd70db844c4499bec6ad6601623a565e674PatchFIXWEBVendor Advisory
Show all 15 references
- crates.io/crates/openssl-srcPACKAGE