Read the docs
TI-2023-00382 Aliases CVE-2023-0401GHSA-vrh7-x64v-7vxq

NULL dereference during PKCS7 data verification

Priority MEDIUM 43CWE-476Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Impact type
Denial of service
Confidentiality · integrity · availability
None · None · High
Fix status
Fixed

Attack profile from CVSS 3.1 · CISA ADP. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-476.

Summary

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.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.01846 79th percentileScored 2026-11-07
Fix Fixed OpenSSL (OpenSSL): 3.0.8openssl-src (crates.io): 300.0.12Red Hat: 2 advisories

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
Yes
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
OpenSSLOpenSSL3.0.0 to before 3.0.83.0.8Patch availableCNA
—openssl-src (crates.io)300.0.0 to before 300.0.12300.0.12Patch availableGHSA-vrh7-x64v-7vxq
  • OpenSSL VendorOpenSSL Affected 3.0.0 to before 3.0.8 Fixed in 3.0.8 Patch available CNA
  • openssl-src (crates.io) Vendor— Affected 300.0.0 to before 300.0.12 Fixed in 300.0.12 Patch available GHSA-vrh7-x64v-7vxq

CPE configurations NVD · 2

CPEVersionsRoleVendor
cpe:2.3:a:openssl:openssl:*:*:*:*:*:*:*:*3.0.0 – 3.0.7VulnerableOpenSSL
cpe:2.3:a:stormshield:stormshield_management_center:*:*:*:*:*:*:*:*before 3.3.3VulnerableStormshield
  • cpe:2.3:a:openssl:openssl:*:*:*:*:*:*:*:* Versions 3.0.0 – 3.0.7 Vulnerable ·OpenSSL
  • cpe:2.3:a:stormshield:stormshield_management_center:*:*:*:*:*:*:*:* Versions before 3.3.3 Vulnerable ·Stormshield

Remediation

  • Fix · CNA OpenSSL (OpenSSL) Fixed in 3.0.8
  • Fix · GHSA-vrh7-x64v-7vxq openssl-src (crates.io) Fixed in 300.0.12 Advisory →

Red Hat 2 advisories

  • RHSA-2023:1199 Released 2023-03-14 · Red Hat rating Important
    openssl security and bug fix update
    • Red Hat Enterprise Linux AppStream EUS (v.9.0) openssl-devel-1:3.0.1-46.el9_0, openssl-perl-1:3.0.1-46.el9_0
    • Red Hat Enterprise Linux BaseOS EUS (v.9.0) openssl-1:3.0.1-46.el9_0, openssl-libs-1:3.0.1-46.el9_0
  • RHSA-2023:0946 Released 2023-02-28 · Red Hat rating Important
    openssl security and bug fix update
    • Red Hat Enterprise Linux AppStream (v. 9) openssl-devel-1:3.0.1-47.el9_1, openssl-perl-1:3.0.1-47.el9_1
    • Red Hat Enterprise Linux BaseOS (v. 9) openssl-1:3.0.1-47.el9_1, openssl-libs-1:3.0.1-47.el9_1

Fixed in the same release

Records fixed by the same vendor advisory or release, as the CNA lists them.

  • Advisory ·

    OpenSSL — openssl.org/news/secadv/20230207.txt

    7 records Highest priority Priority HIGH 1 HIGH, 6 MEDIUM

    Other records, highest priority first

    • TI-2023-00271 X.400 address type confusion in X.509 GeneralNamePriority HIGH 70
    • TI-2022-04067 Double free after calling PEM_read_bio_exPriority MEDIUM 62
    • TI-2023-00208 Use-after-free following BIO_new_NDEFPriority MEDIUM 47

Vendor assessments

Red Hat

Red Hat rating: Moderate. Red Hat's page for this CVE →

ProductStatusPlan or fix
Red Hat Enterprise Linux AppStream (v. 9)Fixed RHSA-2023:0946
Red Hat Enterprise Linux AppStream EUS (v.9.0)Fixed RHSA-2023:1199
Red Hat Enterprise Linux BaseOS (v. 9)Fixed RHSA-2023:0946
Red Hat Enterprise Linux BaseOS EUS (v.9.0)Fixed RHSA-2023:1199
Not affected: 7 products
  • Red Hat Enterprise Linux 6
  • Red Hat Enterprise Linux 7
  • Red Hat Enterprise Linux 8
  • Red Hat Enterprise Linux 9
  • Red Hat JBoss Core Services
  • Red Hat JBoss Web Server 3
  • Red Hat JBoss Web Server 5

Timeline

  1. 2026-10-02 Threatist record created from CVE-2023-0401
  2. 2026-10-03 Alias added: GHSA-vrh7-x64v-7vxq

References

  • TI-2022-01915 The c_rehash script allows command injection CVSS 3.1CRITICAL 9.8
  • TI-2021-02645 SM2 Decryption Buffer Overflow CVSS 3.1CRITICAL 9.8
  • TI-2009-03392 The TLS protocol, and the SSL protocol 3.0 and possibly earlier, as used in Microsoft… CVSS 3.1CRITICAL 9.8
  • TI-2022-01176 The c_rehash script allows command injection CVSS 3.1CRITICAL 9.8
  • TI-2014-00154 The (1) TLS and (2) DTLS implementations in OpenSSL 1.0.1 before 1.0.1g do not properly… KEVCVSS 3.1HIGH 7.5
  • TI-2025-14107 Stack buffer overflow in CMS (Auth)EnvelopedData parsing CVSS 3.1HIGH 8.8
See all 312 →

Sources