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.
CVSS Details
- CVSS 3.1 Base Score: 7.5
- CVSS 3.1 Vector: (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H)
Covered by Rapid7
| Product | Vendor Advisory | Solution File | Added | Published |
|---|---|---|---|---|
| Alma_linux | — | Upgrade edk2-tools-docUpgrade opensslUpgrade edk2-ovmfUpgrade openssl-develUpgrade openssl-libsUpgrade openssl-perlUpgrade edk2-toolsUpgrade edk2-aarch64 | Mar 1, 2023 | Feb 8, 2023 |
| Alpine Linux | — | Upgrade openssl3Upgrade opensslUpgrade openssl1.1-compat | Aug 22, 2024 | Feb 8, 2023 |
| Amazon Linux Ami 2 | — | Upgrade edk2-toolsUpgrade openssl11Upgrade edk2-tools-pythonUpgrade edk2-debuginfoUpgrade edk2-aarch64Upgrade openssl11-develUpgrade openssl11-libsUpgrade openssl11-staticUpgrade edk2-tools-docUpgrade openssl11-debuginfoUpgrade edk2-ovmf | Feb 9, 2023 | Feb 9, 2023 |
| Amazon_linux_2023 | amazon-linux-2023-upgrade-opensslamazon-linux-2023-upgrade-openssl-debuginfoamazon-linux-2023-upgrade-openssl-debugsourceamazon-linux-2023-upgrade-openssl-develamazon-linux-2023-upgrade-openssl-libsamazon-linux-2023-upgrade-openssl-libs-debuginfoamazon-linux-2023-upgrade-openssl-perl | Feb 17, 2025 | Feb 7, 2023 | |
| Aruba Aos 10 | aruba-aos-10-cve-2022-4450 | Jan 14, 2025 | Apr 5, 2023 | |
| Aruba Aos 8 | aruba-aos-8-cve-2022-4450 | Jan 14, 2025 | Apr 5, 2023 | |
| Aruba Aos Cx | aruba-aos-cx-cve-2022-4450 | Feb 24, 2025 | Apr 5, 2023 | |
| Aruba Ecos | aruba-ecos-cve-2022-4450 | Mar 17, 2025 | Apr 5, 2023 | |
| Centos_linux | — | Upgrade openssl-debugsourceUpgrade openssl-perlUpgrade openssl-libs-debuginfoUpgrade opensslUpgrade openssl-debuginfoUpgrade edk2-ovmfUpgrade openssl-libsUpgrade openssl-devel | Mar 1, 2023 | Feb 8, 2023 |
| Debian | — | Upgrade openssl | Feb 9, 2023 | Feb 9, 2023 |
| Dell Poweredge Dsa2023134 | dell-poweredge-upgrade-latest | Oct 23, 2025 | May 23, 2023 | |
| Dell Poweredge Dsa2023207 | dell-poweredge-upgrade-latest | Oct 23, 2025 | Aug 21, 2023 | |
| Dell Powerstore Dsa2023173 | dell-powerstoreos-upgrade-latest | Oct 23, 2025 | Jun 21, 2023 | |
| Dell Powerstore Dsa2024158 | dell-powerstoreos-upgrade-latest | Jan 13, 2026 | Apr 4, 2024 | |
| Dell Powerstore Dsa2024225 | dell-powerstoreos-upgrade-latest | Oct 23, 2025 | May 29, 2024 | |
| Dell Powerstore Dsa2025086 | dell-powerstoreos-upgrade-latest | Oct 23, 2025 | Feb 20, 2025 | |
| Freebsd | — | Upgrade FreeBSDUpgrade openssl-develUpgrade openssl-quictlsUpgrade openssl | Aug 31, 2023 | Aug 31, 2023 |
| Gentoo Linux | — | Upgrade dev-libs/openssl. | Feb 5, 2024 | Feb 8, 2023 |
| Http Openssl | — | Upgrade to the latest version of OpenSSL | Feb 8, 2023 | Feb 8, 2023 |
| Huawei Euleros 2_0_sp10 | — | Upgrade openssl-perlUpgrade openssl-libsUpgrade openssl | May 18, 2023 | Feb 8, 2023 |
| Huawei Euleros 2_0_sp11 | — | Upgrade sgx-aesm-serviceUpgrade libsgx-launchUpgrade libsgx-enclave-commonUpgrade libsgx-ae-leUpgrade libsgx-aesm-launch-pluginUpgrade libsgx-urts | Jul 5, 2023 | Feb 8, 2023 |
| Huawei Euleros 2_0_sp5 | — | Upgrade openssl111dUpgrade openssl111d-develUpgrade openssl111d-libsUpgrade openssl111d-static | Jun 9, 2023 | Feb 8, 2023 |
| Huawei Euleros 2_0_sp8 | — | Upgrade openssl-perlUpgrade opensslUpgrade openssl-libsUpgrade openssl-devel | Apr 13, 2023 | Feb 8, 2023 |
| Huawei Euleros 2_0_sp9 | — | Upgrade openssl-libsUpgrade opensslUpgrade openssl-perl | May 10, 2023 | Feb 8, 2023 |
| Ibm Aix | — | Apply the fix or workaround for openssl_advisory38 | Jul 27, 2023 | Feb 8, 2023 |
| Nutanix Ahv | — | Upgrade Nutanix AHV to the latest version | Jun 5, 2026 | Sep 4, 2023 |
| Oracle_linux | — | oracle-linux-upgrade-aavmforacle-linux-upgrade-edk2-aarch64oracle-linux-upgrade-edk2-ovmforacle-linux-upgrade-edk2-toolsoracle-linux-upgrade-edk2-tools-docoracle-linux-upgrade-openssloracle-linux-upgrade-openssl-debugsourceoracle-linux-upgrade-openssl-develoracle-linux-upgrade-openssl-libsoracle-linux-upgrade-openssl-perloracle-linux-upgrade-openssl-staticoracle-linux-upgrade-ovmf | Mar 2, 2023 | Feb 7, 2023 |
| Redhat_linux | — | Upgrade openssl-debugsourceUpgrade edk2-tools-debuginfoUpgrade edk2-toolsUpgrade openssl-develUpgrade edk2-debugsourceUpgrade openssl-libsNo solution existsUpgrade openssl-debuginfoUpgrade edk2-ovmfUpgrade openssl-perlUpgrade edk2-tools-docUpgrade edk2-aarch64Upgrade openssl-libs-debuginfoUpgrade openssl | Mar 1, 2023 | Feb 8, 2023 |
| Rocky_linux | rocky-upgrade-opensslrocky-upgrade-openssl-debuginforocky-upgrade-openssl-debugsourcerocky-upgrade-openssl-develrocky-upgrade-openssl-libsrocky-upgrade-openssl-libs-debuginforocky-upgrade-openssl-perl | Mar 12, 2024 | Feb 8, 2023 | |
| Sonicwall Sma 100 | — | Upgrade SonicWall SMA-100 to the latest version | Apr 3, 2023 | Feb 9, 2023 |
| Sonicwall Sonicos | — | Update SonicWall SonicOS Gen6 (TZ, NSA) to version 6.5.4.12-101n or laterUpdate SonicWall SonicOS Gen6 NSv to version 6.5.4.4-44v-21-2079 or later | Jun 12, 2026 | Feb 9, 2023 |
| Suse | — | suse-upgrade-libopenssl-1_1-develsuse-upgrade-libopenssl-1_1-devel-32bitsuse-upgrade-libopenssl-3-develsuse-upgrade-libopenssl-3-devel-32bitsuse-upgrade-libopenssl1_1suse-upgrade-libopenssl1_1-32bitsuse-upgrade-libopenssl1_1-hmacsuse-upgrade-libopenssl1_1-hmac-32bitsuse-upgrade-libopenssl3suse-upgrade-libopenssl3-32bitsuse-upgrade-openssl-1_1suse-upgrade-openssl-1_1-docsuse-upgrade-openssl-3suse-upgrade-openssl-3-doc | Feb 8, 2023 | Feb 7, 2023 |
| Ubuntu | ubuntu-upgrade-libnode-devubuntu-upgrade-libnode72ubuntu-upgrade-libssl1-1ubuntu-upgrade-libssl3ubuntu-upgrade-nodejsubuntu-upgrade-ovmfubuntu-upgrade-ovmf-ia32ubuntu-upgrade-qemu-efiubuntu-upgrade-qemu-efi-aarch64ubuntu-upgrade-qemu-efi-armubuntu-upgrade-qemu-efi-loongarch64ubuntu-upgrade-qemu-efi-riscv64 | Mar 22, 2023 | Feb 8, 2023 | |
| Vmware Photon_os | — | Use 'tdnf update' to upgrade all packages to the latest version. | Jan 20, 2025 | Feb 8, 2023 |
Prioritise with Active Threat Intelligence
With curated Threat Intelligence, you can see which vulnerabilities truly put you at risk, prioritize what matters most, and act before attackers do.
Explore Intelligence Hub