ADVISORIES

Vulnerability

CVE-2023-0215

The public API function BIO_new_NDEF is a helper function used for streaming ASN.1 data via a BIO. It is primarily used internally to OpenSSL to support the SMIME, CMS and PKCS7 streaming capabilities, but may also be called directly by end user applications. The function receives a BIO from the caller, prepends a new BIO_f_asn1 filter BIO onto the front of it to form a BIO chain, and then returns the new head of the BIO chain to the caller. Under certain conditions, for example if a CMS recipient public key is invalid, the new filter BIO is freed and the function returns a NULL result indicating a failure. However, in this case, the BIO chain is not properly cleaned up and the BIO passed by the caller still retains internal pointers to the previously freed filter BIO. If the caller then goes on to call BIO_pop() on the BIO then a use-after-free will occur. This will most likely result in a crash. This scenario occurs directly in the internal function B64_write_ASN1() which may cause BIO_new_NDEF() to be called and will subsequently call BIO_pop() on the BIO. This internal function is in turn called by the public API functions PEM_write_bio_ASN1_stream, PEM_write_bio_CMS_stream, PEM_write_bio_PKCS7_stream, SMIME_write_ASN1, SMIME_write_CMS and SMIME_write_PKCS7. Other public API functions that may be impacted by this include i2d_ASN1_bio_stream, BIO_new_CMS, BIO_new_PKCS7, i2d_CMS_bio_stream and i2d_PKCS7_bio_stream. The OpenSSL cms and smime command line applications are similarly affected.

77 advisories report this vulnerability, across 15 ecosystems.

Advisories

  • ALAS2-2023-1934

    Amazon Linux 2 2017.12 - ALAS2-2023-1934: important priority package update for openssl11

    Important CVE-2022-4304CVE-2022-4450CVE-2023-0215CVE-2023-0286 Amazon Linux Updated 8 February 2023
  • ALAS2-2023-1935

    Amazon Linux 2 2017.12 - ALAS2-2023-1935: important priority package update for openssl

    Important CVE-2022-4304CVE-2023-0215CVE-2023-0286 Amazon Linux Updated 8 February 2023
  • ALAS2-2024-2502

    Amazon Linux 2 2017.12 - ALAS2-2024-2502: important priority package update for edk2

    Important CVE-2020-1971CVE-2021-23840CVE-2021-23841CVE-2021-3449 Amazon Linux Updated 23 September 2025
  • ALAS2023-2023-101

    Amazon Linux 2023 - ALAS2023-2023-101: Important priority package update for openssl

    Important CVE-2022-4203CVE-2022-4304CVE-2022-4450CVE-2023-0215 Amazon Linux Updated 22 February 2023
  • ALPINE-CVE-2023-0215

    The public API function BIO_new_NDEF is a helper function used for streaming ASN.1 data via a BIO. It is primarily used internally to OpenSSL to support the SMIME, CMS and PKCS7 streaming capabilities, but may also be…

    CVE-2023-0215 Alpine Updated 17 November 2026
  • ALPINE-EDGE-CVE-2023-0215
    CVE-2023-0215 Alpine Updated 18 November 2026
  • ALSA-2023:0946

    Moderate: openssl security and bug fix update

    CVE-2022-4203CVE-2022-4304CVE-2022-4450CVE-2023-0215 AlmaLinux Updated 29 October 2026
  • ALSA-2023:1405

    Important: openssl security update

    CVE-2022-4304CVE-2022-4450CVE-2023-0215CVE-2023-0286 AlmaLinux Updated 29 October 2026
  • ALSA-2023:2165

    Important: edk2 security, bug fix, and enhancement update

    CVE-2021-38578CVE-2022-4304CVE-2022-4450CVE-2023-0215 AlmaLinux Updated 29 October 2026
  • ALSA-2023:2932

    Important: edk2 security update

    CVE-2022-4304CVE-2022-4450CVE-2023-0215CVE-2023-0286 AlmaLinux Updated 29 October 2026
  • AZL-13301

    CVE-2023-0215 affecting package cloud-hypervisor for versions less than 30.0-2

    CVE-2023-0215 Azure Linux Updated 21 April 2026
  • AZL-13352

    CVE-2023-0215 affecting package openssl for versions less than 1.1.1k-21

    CVE-2023-0215 Azure Linux Updated 21 April 2026
  • AZL-37641

    CVE-2023-0215 affecting package hvloader for versions less than 1.0.1-2

    CVE-2023-0215 Azure Linux Updated 21 April 2026
  • AZL-37898

    CVE-2023-0215 affecting package hvloader for versions less than 1.0.1-4

    CVE-2023-0215 Azure Linux Updated 21 April 2026
  • CGA-383x-9h6r-65mx
    CVE-2023-0215 ChainguardWolfi Updated 5 November 2026
  • CGA-6fw4-9mxr-x6vc
    CVE-2023-0215 Chainguard Updated 29 October 2026
  • CGA-j5jr-g987-vj7w
    CVE-2023-0215 ChainguardWolfi Updated 5 November 2026
  • CGA-jpc8-p7h4-pvmp
    CVE-2023-0215 Chainguard Updated 5 November 2026
  • CGA-p8v2-4ggj-p7q6
    CVE-2023-0215 Chainguard Updated 29 October 2026
  • CGA-ph78-722j-2fc4
    CVE-2023-0215 Chainguard Updated 5 November 2026
  • CGA-ww6f-6vqq-vwp5
    CVE-2023-0215 ChainguardWolfi Updated 5 November 2026
  • CGA-wwh6-jmpq-w55x
    CVE-2023-0215 ChainguardWolfi Updated 5 November 2026
  • DEBIAN-CVE-2023-0215

    The public API function BIO_new_NDEF is a helper function used for streaming ASN.1 data via a BIO. It is primarily used internally to OpenSSL to support the SMIME, CMS and PKCS7 streaming capabilities, but may also be…

    CVE-2023-0215 Debian Updated 26 October 2026
  • DLA-3325-1

    openssl - security update

    CVE-2022-2097CVE-2022-4304CVE-2022-4450CVE-2023-0215 Debian Updated 20 November 2026
  • DSA-5343-1

    openssl - security update

    CVE-2022-2097CVE-2022-4304CVE-2022-4450CVE-2023-0215 Debian Updated 20 November 2026
  • ELSA-2023-0946

    ELSA-2023-0946: openssl security and bug fix update (MODERATE)

    Moderate CVE-2022-4203CVE-2022-4304CVE-2022-4450CVE-2023-0215 Oracle Linux Updated 28 February 2023
  • ELSA-2023-12152

    ELSA-2023-12152: openssl security update (MODERATE)

    Moderate CVE-2022-4203CVE-2022-4304CVE-2022-4450CVE-2023-0215 Updated 1 March 2023
  • ELSA-2023-12213

    ELSA-2023-12213: openssl security update (IMPORTANT)

    Important CVE-2022-4304CVE-2022-4450CVE-2023-0215CVE-2023-0286 Updated 28 March 2023
  • ELSA-2023-13024

    ELSA-2023-13024: edk2 security update (IMPORTANT)

    Important CVE-2022-4304CVE-2022-4450CVE-2023-0215CVE-2023-0286 Oracle Linux Updated 6 December 2023
  • ELSA-2023-13025

    ELSA-2023-13025: edk2 security update (IMPORTANT)

    Important CVE-2022-4304CVE-2022-4450CVE-2023-0215CVE-2023-0286 Oracle Linux Updated 6 December 2023
  • ELSA-2023-13026

    ELSA-2023-13026: edk2 security update (IMPORTANT)

    Important CVE-2022-4304CVE-2022-4450CVE-2023-0215CVE-2023-0286 Oracle Linux Updated 6 December 2023
  • ELSA-2023-13027

    ELSA-2023-13027: edk2 security update (IMPORTANT)

    Important CVE-2022-4304CVE-2022-4450CVE-2023-0215CVE-2023-0286 Oracle Linux Updated 7 December 2023
  • ELSA-2023-1405

    ELSA-2023-1405: openssl security update (IMPORTANT)

    Important CVE-2022-4304CVE-2022-4450CVE-2023-0215CVE-2023-0286 Oracle Linux Updated 22 March 2023
  • ELSA-2023-2165

    ELSA-2023-2165: edk2 security, bug fix, and enhancement update (IMPORTANT)

    Important CVE-2021-38578CVE-2022-4304CVE-2022-4450CVE-2023-0215 Oracle Linux Updated 15 May 2023
  • ELSA-2023-2932

    ELSA-2023-2932: edk2 security update (IMPORTANT)

    Important CVE-2022-4304CVE-2022-4450CVE-2023-0215CVE-2023-0286 Oracle Linux Updated 24 May 2023
  • ELSA-2023-32790

    ELSA-2023-32790: edk2 security update (IMPORTANT)

    Important CVE-2022-4304CVE-2022-4450CVE-2023-0215CVE-2023-0286 Oracle Linux Updated 7 December 2023
  • ELSA-2023-32791

    ELSA-2023-32791: edk2 security update (IMPORTANT)

    Important CVE-2022-4304CVE-2022-4450CVE-2023-0215CVE-2023-0286 Oracle Linux Updated 6 December 2023
  • GHSA-r7jw-wp68-3xch

    openssl-src vulnerable to Use-after-free following `BIO_new_NDEF`

    High CVE-2023-0215 crates.io Updated 10 September 2026
  • OESA-2023-1092

    openssl security update

    Medium CVE-2022-4304CVE-2022-4450CVE-2023-0215CVE-2023-0286 openEuler Updated 18 August 2026
  • OESA-2023-1107

    openssl security update

    Medium CVE-2022-4304CVE-2022-4450CVE-2023-0215CVE-2023-0286 openEuler Updated 18 August 2026
  • OESA-2023-1135

    edk2 security update

    High CVE-2022-4450CVE-2023-0215CVE-2023-0286CVE-2023-0401 openEuler Updated 18 August 2026
  • OESA-2023-1142

    nodejs security update

    High CVE-2022-4304CVE-2022-4450CVE-2023-0215CVE-2023-0286 openEuler Updated 18 August 2026
  • OESA-2024-2071

    mysql security update

    Critical CVE-2021-22570CVE-2022-21412CVE-2022-21413CVE-2022-21414 openEuler Updated 18 August 2026
  • OESA-2024-2072

    mysql security update

    High CVE-2023-0215CVE-2023-38545CVE-2024-21137CVE-2024-21159 openEuler Updated 18 August 2026
  • RHSA-2023:0946

    Red Hat Security Advisory: openssl security and bug fix update

    CVE-2022-4203CVE-2022-4304CVE-2022-4450CVE-2023-0215 Red Hat Updated 24 November 2026
  • RHSA-2023:1199

    Red Hat Security Advisory: openssl security and bug fix update

    CVE-2022-4203CVE-2022-4304CVE-2022-4450CVE-2023-0215 Red Hat Updated 24 November 2026
  • RHSA-2023:1405

    Red Hat Security Advisory: openssl security update

    CVE-2022-4304CVE-2022-4450CVE-2023-0215CVE-2023-0286 Red Hat Updated 24 November 2026
  • RHSA-2023:2165

    Red Hat Security Advisory: edk2 security, bug fix, and enhancement update

    CVE-2021-38578CVE-2022-4304CVE-2022-4450CVE-2023-0215 Red Hat Updated 23 November 2026
  • RHSA-2023:2932

    Red Hat Security Advisory: edk2 security update

    CVE-2022-4304CVE-2022-4450CVE-2023-0215CVE-2023-0286 Red Hat Updated 24 November 2026
  • RHSA-2023:3354

    Red Hat Security Advisory: Red Hat JBoss Core Services Apache HTTP Server 2.4.51 SP2 security update

    CVE-2006-20001CVE-2022-25147CVE-2022-4304CVE-2022-43551 Red Hat Updated 24 November 2026
  • RHSA-2023:3408

    Red Hat Security Advisory: openssl security update

    CVE-2022-4304CVE-2022-4450CVE-2023-0215 Red Hat Updated 24 November 2026
  • RHSA-2023:3420

    Red Hat Security Advisory: Red Hat JBoss Web Server 5.7.3 release and security update

    CVE-2022-4304CVE-2022-4450CVE-2023-0215CVE-2023-0286 Red Hat Updated 24 November 2026
  • RHSA-2023:4128

    Red Hat Security Advisory: edk2 security update

    CVE-2022-4304CVE-2023-0215CVE-2023-0286 Red Hat Updated 24 November 2026
  • RHVEX-CVE-2023-0215

    openssl: use-after-free following BIO_new_NDEF

    Moderate CVE-2023-0215 Red Hat Updated 24 November 2026
  • RLSA-2023:0946

    Important: openssl security and bug fix update

    CVE-2022-4203CVE-2022-4304CVE-2022-4450CVE-2023-0215 Rocky Linux Updated 5 February 2026
  • RLSA-2023:1405

    Important: openssl security update

    CVE-2022-4304CVE-2022-4450CVE-2023-0215CVE-2023-0286 Rocky Linux Updated 5 February 2026
  • RUSTSEC-2023-0009

    Use-after-free following `BIO_new_NDEF`

    CVE-2023-0215 crates.io Updated 8 November 2023
  • SUSE-SU-2023:0305-1

    Security update for openssl-1_0_0

    CVE-2022-4304CVE-2023-0215CVE-2023-0286 SUSEopenSUSE Updated 4 February 2026
  • SUSE-SU-2023:0305-2

    Security update for openssl-1_0_0

    CVE-2022-4304CVE-2023-0215CVE-2023-0286 SUSEopenSUSE Updated 2 May 2025
  • SUSE-SU-2023:0306-1

    Security update for openssl-1_0_0

    CVE-2022-4304CVE-2023-0215CVE-2023-0286 SUSE Updated 4 February 2026
  • SUSE-SU-2023:0307-1

    Security update for openssl1

    CVE-2022-4304CVE-2023-0215CVE-2023-0286 SUSE Updated 4 February 2026
  • SUSE-SU-2023:0308-1

    Security update for openssl-1_1

    CVE-2022-4304CVE-2023-0215CVE-2023-0286 SUSE Updated 4 February 2026
  • SUSE-SU-2023:0309-1

    Security update for openssl-1_1

    CVE-2022-4304CVE-2022-4450CVE-2023-0215CVE-2023-0286 SUSE Updated 4 February 2026
  • SUSE-SU-2023:0310-1

    Security update for openssl-1_1

    CVE-2022-4304CVE-2022-4450CVE-2023-0215CVE-2023-0286 SUSEopenSUSE Updated 4 February 2026
  • SUSE-SU-2023:0311-1

    Security update for openssl-1_1

    CVE-2022-4304CVE-2022-4450CVE-2023-0215CVE-2023-0286 SUSEopenSUSE Updated 4 February 2026
  • SUSE-SU-2023:0312-1

    Security update for openssl-3

    CVE-2022-4203CVE-2022-4304CVE-2022-4450CVE-2023-0215 SUSEopenSUSE Updated 4 February 2026
  • SUSE-SU-2023:0684-1

    Security update for openssl

    CVE-2022-4304CVE-2023-0215CVE-2023-0286 SUSE Updated 2 May 2025
  • SUSEVEX-CVE-2023-0215

    The public API function BIO_new_NDEF is a helper function used for streaming ASN.1 data via a BIO. It is primarily used internally to OpenSSL to support the SMIME, CMS and PKCS7 streaming capabilities, but may also be…

    Moderate CVE-2023-0215 SUSE Updated 16 October 2026
  • UBUNTU-CVE-2023-0215

    The public API function BIO_new_NDEF is a helper function used for streaming ASN.1 data via a BIO. It is primarily used internally to OpenSSL to support the SMIME, CMS and PKCS7 streaming capabilities, but may also be…

    CVE-2023-0215 Ubuntu Updated 5 October 2026
  • USN-5844-1

    openssl vulnerabilities

    CVE-2022-4203CVE-2022-4304CVE-2022-4450CVE-2023-0215 Ubuntu Updated 27 April 2026
  • USN-5845-1

    openssl1.0 vulnerabilities

    CVE-2023-0215CVE-2023-0286 Ubuntu Updated 27 April 2026
  • USN-5845-2

    openssl vulnerabilities

    CVE-2023-0215CVE-2023-0286 Ubuntu Updated 29 June 2026
  • USN-6564-1

    nodejs vulnerabilities

    CVE-2022-4304CVE-2022-4450CVE-2023-0215CVE-2023-0286 Ubuntu Updated 27 April 2026
  • USN-7894-1

    edk2 vulnerabilities

    CVE-2021-3712CVE-2022-0778CVE-2022-4304CVE-2022-4450 Ubuntu Updated 9 November 2026
  • openSUSE-SU-2024:12687-1

    libopenssl-1_0_0-devel-1.0.2u-12.1 on GA media

    CVE-2020-1971CVE-2022-4304CVE-2023-0215CVE-2023-0286 openSUSE Updated 4 February 2026
  • openSUSE-SU-2024:12688-1

    libopenssl-1_1-devel-1.1.1t-1.1 on GA media

    CVE-2022-4304CVE-2022-4450CVE-2023-0215CVE-2023-0286 openSUSE Updated 4 February 2026
  • openSUSE-SU-2024:12716-1

    libopenssl-3-devel-3.0.8-1.1 on GA media

    CVE-2022-4203CVE-2022-4304CVE-2022-4450CVE-2023-0215 openSUSE Updated 4 February 2026

References