CVE-2023-0216
JSON

7.5high

Invalid pointer dereference in d2i_PKCS7 functions

Severity
7.5high CVSS:3.1 by CISA-ADP
Exploit likelihood
1.90% (higher than 80% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
openssl
Also known as
GHSA-29xx-hcv2-c4cpRUSTSEC-2023-0011

Description

An invalid pointer dereference on read can be triggered when an application tries to load malformed PKCS7 data with the d2i_PKCS7(), d2i_PKCS7_bio() or d2i_PKCS7_fp() functions. The result of the dereference is an application crash which could lead to a denial of service attack. The TLS implementation in OpenSSL does not call this function however third party applications might call these functions on untrusted data.

Affected

Product or packageVersionsReported by
OpenSSL OpenSSLfrom 3.0.0 before 3.0.8, from 3.0.0 up to 3.0.7CVE List, NVD
openssl-src (crates.io)from 300.0.0 before 300.0.12GitHub Advisory Database, RustSec Advisory Database
stormshield stormshield_management_centerbefore 3.3.3NVD

All scores

CISA-ADP7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
GitHub7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
NVD7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Classification

CWE-476

SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial.

What each source says

CVE List

An invalid pointer dereference on read can be triggered when an application tries to load malformed PKCS7 data with the d2i_PKCS7(), d2i_PKCS7_bio() or d2i_PKCS7_fp() functions. The result of the dereference is an application crash which could lead to a denial of service attack. The TLS implementation in OpenSSL does not call this function however third party applications might call these functions on untrusted data.

GitHub Advisory Database

An invalid pointer dereference on read can be triggered when an application tries to load malformed PKCS7 data with the d2i_PKCS7(), d2i_PKCS7_bio() or d2i_PKCS7_fp() functions.

The result of the dereference is an application crash which could lead to a denial of service attack. The TLS implementation in OpenSSL does not call this function however third party applications might call these functions on untrusted data.

References

Sources

SourceRecordLicence
CVE ListCVE-2023-0216 changed 2025-11-04CVE Terms of Use
GitHub Advisory DatabaseGHSA-29xx-hcv2-c4cp changed 2026-09-10CC-BY-4.0
RustSec Advisory DatabaseRUSTSEC-2023-0011 changed 2023-11-08CC0-1.0
NVDCVE-2023-0216 changed 2026-06-17Public domain