# CVE-2023-0216: Invalid pointer dereference in d2i_PKCS7 functions

- Severity: High 7.5 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.90%, higher than 80% of CVEs (2026-12-01)
- Published: 2023-02-07T12:00:00.000Z
- Modified: 2026-09-10T03:49:51.746Z
- Also known as: GHSA-29xx-hcv2-c4cp, RUSTSEC-2023-0011
- Weaknesses: CWE-476
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: openssl

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

(As written by CVE List.)

## Affected

- OpenSSL OpenSSL: from 3.0.0 before 3.0.8; from 3.0.0 up to 3.0.7
- openssl-src (crates.io): from 300.0.0 before 300.0.12
- stormshield stormshield_management_center: before 3.3.3

## Every score

- CISA-ADP: 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`
- GitHub: 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`
- NVD: 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`

## References

- <https://www.openssl.org/news/secadv/20230207.txt> (vendor-advisory, web)
- <https://git.openssl.org/gitweb/?p=openssl.git;a=commitdiff;h=934a04f0e775309cadbef0aa6b9692e1b12a76c6> (patch, vendor-advisory, web)
- <https://security.gentoo.org/glsa/202402-08> (web)
- <https://psirt.global.sonicwall.com/vuln-detail/SNWLID-2023-0003> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2023-0216> (advisory)
- <https://rustsec.org/advisories/RUSTSEC-2023-0011.html> (advisory, web)
- <https://crates.io/crates/openssl-src> (package)

## Sources

- CVE List: [CVE-2023-0216](https://www.cve.org/CVERecord?id=CVE-2023-0216), CVE Terms of Use, modified 2025-11-04
- GitHub Advisory Database: [GHSA-29xx-hcv2-c4cp](https://github.com/advisories/GHSA-29xx-hcv2-c4cp), CC-BY-4.0, modified 2026-09-10
- RustSec Advisory Database: [RUSTSEC-2023-0011](https://rustsec.org/advisories/RUSTSEC-2023-0011.html), CC0-1.0, modified 2023-11-08
- NVD: [CVE-2023-0216](https://nvd.nist.gov/vuln/detail/CVE-2023-0216), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2023-0216 · Whole record: https://cve.day/CVE-2023-0216.json · Rebuilt by cve.day 2026-11-25T22:58:21.879Z
