ADVISORIES

Vulnerability

CVE-2022-4450

The function PEM_read_bio_ex() reads a PEM file from a BIO and parses and decodes the "name" (e.g. "CERTIFICATE"), any header data and the payload data. If the function succeeds then the "name_out", "header" and "data" arguments are populated with pointers to buffers containing the relevant decoded data. The caller is responsible for freeing those buffers. It is possible to construct a PEM file that results in 0 bytes of payload data. In this case PEM_read_bio_ex() will return a failure code but will populate the header argument with a pointer to a buffer that has already been freed. If the caller also frees this buffer then a double free will occur. This will most likely lead to a crash. This could be exploited by an attacker who has the ability to supply malicious PEM files for parsing to achieve a denial of service attack. The functions PEM_read_bio() and PEM_read() are simple wrappers around PEM_read_bio_ex() and therefore these functions are also directly affected. These functions are also called indirectly by a number of other OpenSSL functions including PEM_X509_INFO_read_bio_ex() and SSL_CTX_use_serverinfo_file() which are also vulnerable. Some OpenSSL internal uses of these functions are not vulnerable because the caller does not free the header argument if PEM_read_bio_ex() returns a failure code. These locations include the PEM_read_bio_TYPE() functions as well as the decoders introduced in OpenSSL 3.0. The OpenSSL asn1parse command line application is also impacted by this issue.

64 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-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-2022-4450

    The function PEM_read_bio_ex() reads a PEM file from a BIO and parses and decodes the "name" (e.g. "CERTIFICATE"), any header data and the payload data. If the function succeeds then the "name_out", "header" and "data"…

    CVE-2022-4450 Alpine Updated 20 November 2026
  • ALPINE-EDGE-CVE-2022-4450
    CVE-2022-4450 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-13347

    CVE-2022-4450 affecting package cloud-hypervisor for versions less than 30.0-2

    CVE-2022-4450 Azure Linux Updated 21 April 2026
  • AZL-13351

    CVE-2022-4450 affecting package openssl for versions less than 1.1.1k-21

    CVE-2022-4450 Azure Linux Updated 21 April 2026
  • AZL-37629

    CVE-2022-4450 affecting package hvloader for versions less than 1.0.1-2

    CVE-2022-4450 Azure Linux Updated 21 April 2026
  • AZL-37892

    CVE-2022-4450 affecting package hvloader for versions less than 1.0.1-4

    CVE-2022-4450 Azure Linux Updated 21 April 2026
  • CGA-3pmc-pfcf-4f9g
    CVE-2022-4450 ChainguardWolfi Updated 5 November 2026
  • CGA-5m9q-cj2r-46gf
    CVE-2022-4450 ChainguardWolfi Updated 5 November 2026
  • CGA-7xpp-8rhh-w7xf
    CVE-2022-4450 ChainguardWolfi Updated 5 November 2026
  • CGA-cf2x-fghx-2q9j
    CVE-2022-4450 ChainguardWolfi Updated 5 November 2026
  • CGA-f4mg-fqmc-9r25
    CVE-2022-4450 Chainguard Updated 5 November 2026
  • CGA-r2gj-x9gv-2hmp
    CVE-2022-4450 Chainguard Updated 5 November 2026
  • DEBIAN-CVE-2022-4450

    The function PEM_read_bio_ex() reads a PEM file from a BIO and parses and decodes the "name" (e.g. "CERTIFICATE"), any header data and the payload data. If the function succeeds then the "name_out", "header" and "data"…

    CVE-2022-4450 Debian Updated 20 November 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-v5w6-wcm8-jm4q

    openssl-src contains Double free after calling `PEM_read_bio_ex`

    High CVE-2022-4450 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-2312

    openresty-openssl111 security update

    High CVE-2022-4450 openEuler Updated 18 August 2026
  • OESA-2024-2313

    openresty-openssl111 security update

    High CVE-2022-4450 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
  • RHVEX-CVE-2022-4450

    openssl: double free after calling PEM_read_bio_ex

    Moderate CVE-2022-4450 Red Hat Updated 5 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-0010

    Double free after calling `PEM_read_bio_ex`

    CVE-2022-4450 crates.io Updated 8 November 2023
  • 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
  • SUSEVEX-CVE-2022-4450

    The function PEM_read_bio_ex() reads a PEM file from a BIO and parses and decodes the "name" (e.g. "CERTIFICATE"), any header data and the payload data. If the function succeeds then the "name_out", "header" and "data"…

    Moderate CVE-2022-4450 SUSE Updated 16 October 2026
  • UBUNTU-CVE-2022-4450

    The function PEM_read_bio_ex() reads a PEM file from a BIO and parses and decodes the "name" (e.g. "CERTIFICATE"), any header data and the payload data. If the function succeeds then the "name_out", "header" and "data"…

    CVE-2022-4450 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-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: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