Skip to content
Fencer Vulns
high 7.5

CVE-2023-0216 json

Invalid pointer dereference in d2i_PKCS7 functions

published 2023-02-07 3 y ago modified 2026-09-10 1 mo ago also EUVD-2023-0599 , GHSA-29xx-hcv2-c4cp , RUSTSEC-2023-0011

cvss
7.5
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
1.8%
EPSS 1.8% chance of exploitation in 30 days, percentile 79%
public exploits
0
none known

Summary

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.

Patch / fix

  • crates.io openssl-src 300.0.12
  • OpenSSL OpenSSL 3.0.8
  • openssl Debian 14, Debian 13, Debian 12 3.0.8-1

debian advisories DEBIAN-CVE-2023-0216

  • openssl Ubuntu 22.04 LTS 3.0.2-0ubuntu1.8

ubuntu advisories UBUNTU-CVE-2023-0216

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • openssl RHEL 9 1:3.0.1-47.el9_1
  • openssl-libs RHEL 9 1:3.0.1-47.el9_1
  • openssl-perl RHEL 9 1:3.0.1-47.el9_1
  • openssl RHEL 9.0 EUS 1:3.0.1-46.el9_0
  • openssl-libs RHEL 9.0 EUS 1:3.0.1-46.el9_0
  • openssl-perl RHEL 9.0 EUS 1:3.0.1-46.el9_0

red hat advisories RHSA-2023:1199RHSA-2023:0946

  • openssl-3 SLE Module for Basesystem 15 SP4, openSUSE Leap 15.4 3.0.1-150400.4.17.1

suse advisories SUSE-SU-2023:0312-1

  • openssl-3 openSUSE Tumbleweed 3.0.8-1.1

opensuse advisories openSUSE-SU-2024:12716-1

  • openssl AlmaLinux 9 1:3.0.1-47.el9_1
  • openssl-libs AlmaLinux 9 1:3.0.1-47.el9_1
  • openssl-perl AlmaLinux 9 1:3.0.1-47.el9_1

almalinux advisories ALSA-2023:0946

  • openssl Rocky Linux 9 1:3.0.1-47.el9_1

rocky linux advisories RLSA-2023:0946

  • openssl Alpine 3.24, Alpine 3.23, Alpine 3.22 +5 more 3.0.8-r0
  • openssl3 Alpine 3.16, Alpine 3.15 3.0.8-r0

alpine advisories ALPINE-CVE-2023-0216

Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2023-0216 updated cvss 7.5

openssl: invalid pointer dereference in d2i_PKCS7 functions

  • Red Hat Enterprise Linux AppStream (v. 9) openssl-perl 3.0.1-47.el9_1
    fixed: vendor fix RHSA-2023:0946
  • Red Hat Enterprise Linux AppStream EUS (v.9.0) openssl-perl 3.0.1-46.el9_0
    fixed: vendor fix RHSA-2023:1199
  • Red Hat Enterprise Linux BaseOS (v. 9) openssl 3.0.1-47.el9_1, openssl-libs 3.0.1-47.el9_1
    fixed: vendor fix RHSA-2023:0946
  • Red Hat Enterprise Linux BaseOS EUS (v.9.0) openssl 3.0.1-46.el9_0, openssl-libs 3.0.1-46.el9_0
    fixed: vendor fix RHSA-2023:1199
  • Red Hat Enterprise Linux 6 openssl, openssl-perl Red Hat Enterprise Linux 7 ovmf, OVMF, AAVMF, openssl, openssl-libs, openssl-perl Red Hat Enterprise Linux 8 edk2, shim, openssl, shim-x64, edk2-ovmf, shim-aa64, +5 more Red Hat Enterprise Linux 9 edk2, shim, shim-x64, edk2-ovmf, shim-aa64, edk2-tools, +2 more Red Hat JBoss Core Services jbcs-httpd24-openssl Red Hat JBoss Web Server 3 openssl
    +1 more products
    Red Hat JBoss Web Server 5 openssl
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

cisa ICSA-25-065-01 updated cvss 7.5

Hitachi Energy PCU400

  • Hitachi Energy PCU400 <=6.5_K, <=9.4.1
    affected: fixed in 6.6.0
  • Hitachi Energy PCULogger <=1.1.0
    affected: no fix planned
  • Hitachi Energy PCU400 6.6.0, 9.4.2 Hitachi Energy PCULogger 1.2.0
    fixed

Facts from CISA's republication of the vendor's own advisory (CSAF); the linked advisory is the authoritative source. CISA notification · csaf

cisa ICSA-23-320-08 updated cvss 7.5

Siemens SCALANCE Family Products

  • Siemens SCALANCE XB205-3 (SC, PN) (6GK5205-3BB00-2AB2) <V4.5 Siemens SCALANCE XB205-3 (ST, E/IP) (6GK5205-3BB00-2TB2) <V4.5 Siemens SCALANCE XB205-3 (ST, E/IP) (6GK5205-3BD00-2TB2) <V4.5 Siemens SCALANCE XB205-3 (ST, PN) (6GK5205-3BD00-2AB2) <V4.5 Siemens SCALANCE XB205-3LD (SC, E/IP) (6GK5205-3BF00-2TB2) <V4.5 Siemens SCALANCE XB205-3LD (SC, PN) (6GK5205-3BF00-2AB2) <V4.5
    +34 more products
    Siemens SCALANCE XB208 (E/IP) (6GK5208-0BA00-2TB2) <V4.5 Siemens SCALANCE XB208 (PN) (6GK5208-0BA00-2AB2) <V4.5 Siemens SCALANCE XB213-3 (SC, E/IP) (6GK5213-3BD00-2TB2) <V4.5 Siemens SCALANCE XB213-3 (SC, PN) (6GK5213-3BD00-2AB2) <V4.5 Siemens SCALANCE XB213-3 (ST, E/IP) (6GK5213-3BB00-2TB2) <V4.5 Siemens SCALANCE XB213-3 (ST, PN) (6GK5213-3BB00-2AB2) <V4.5 Siemens SCALANCE XB213-3LD (SC, E/IP) (6GK5213-3BF00-2TB2) <V4.5 Siemens SCALANCE XB213-3LD (SC, PN) (6GK5213-3BF00-2AB2) <V4.5 Siemens SCALANCE XB216 (E/IP) (6GK5216-0BA00-2TB2) <V4.5 Siemens SCALANCE XB216 (PN) (6GK5216-0BA00-2AB2) <V4.5 Siemens SCALANCE XC206-2 (SC) (6GK5206-2BD00-2AC2) <V4.5 Siemens SCALANCE XC206-2 (ST/BFOC) (6GK5206-2BB00-2AC2) <V4.5 Siemens SCALANCE XC206-2G PoE (6GK5206-2RS00-2AC2) <V4.5 Siemens SCALANCE XC206-2G PoE (54 V DC) (6GK5206-2RS00-5AC2) <V4.5 Siemens SCALANCE XC206-2G PoE EEC (54 V DC) (6GK5206-2RS00-5FC2) <V4.5 Siemens SCALANCE XC206-2SFP (6GK5206-2BS00-2AC2) <V4.5 Siemens SCALANCE XC206-2SFP EEC (6GK5206-2BS00-2FC2) <V4.5 Siemens SCALANCE XC206-2SFP G (6GK5206-2GS00-2AC2) <V4.5 Siemens SCALANCE XC206-2SFP G (EIP DEF.) (6GK5206-2GS00-2TC2) <V4.5 Siemens SCALANCE XC206-2SFP G EEC (6GK5206-2GS00-2FC2) <V4.5 Siemens SCALANCE XC208 (6GK5208-0BA00-2AC2) <V4.5 Siemens SCALANCE XC208EEC (6GK5208-0BA00-2FC2) <V4.5 Siemens SCALANCE XC208G (6GK5208-0GA00-2AC2) <V4.5 Siemens SCALANCE XC208G (EIP def.) (6GK5208-0GA00-2TC2) <V4.5 Siemens SCALANCE XC208G EEC (6GK5208-0GA00-2FC2) <V4.5 Siemens SCALANCE XC208G PoE (6GK5208-0RA00-2AC2) <V4.5 Siemens SCALANCE XC208G PoE (54 V DC) (6GK5208-0RA00-5AC2) <V4.5 Siemens SCALANCE XC216 (6GK5216-0BA00-2AC2) <V4.5 Siemens SCALANCE XC216-3G PoE (6GK5216-3RS00-2AC2) <V4.5 Siemens SCALANCE XC216-3G PoE (54 V DC) (6GK5216-3RS00-5AC2) <V4.5 Siemens SCALANCE XC216-4C (6GK5216-4BS00-2AC2) <V4.5 Siemens SCALANCE XC216-4C G (6GK5216-4GS00-2AC2) <V4.5 Siemens SCALANCE XC216-4C G (EIP Def.) (6GK5216-4GS00-2TC2) <V4.5 Siemens SCALANCE XC216-4C G EEC (6GK5216-4GS00-2FC2) <V4.5
    affected: fixed in V4.5 support.industry.siemens.com

31 more affected in the full advisory

Facts from CISA's republication of the vendor's own advisory (CSAF); the linked advisory is the authoritative source. CISA notification · csaf

CISA SSVC

Exploitation
none
Automatable
yes
Technical impact
partial
Assessed
18 mo ago

Exploit prediction

1.85% chance of exploitation in the next 30 days, higher than 79% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
CISA ADP 3.1 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
GitHub 3.1 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
NVD 3.1 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CNA 3.1 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Affected packages

ecosystem package affected fixed in
crates.io openssl-src
>=300.0.0, <300.0.12
300.0.12

Affected products

  • OpenSSL OpenSSL

Classification

Weakness
Technology feeds

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.

CPEs and fixed versions use Anchore's correction of NVD's data: Improve version ranges to indicate fix.