CVE-2022-4450
published high CVSS 3.1 · 7.5Double free after calling PEM_read_bio_ex
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| OpenSSL | — | OpenSSL3.0.0 to < 3.0.8 · 1.1.1 to < 1.1.1t · Other versions: unaffected | Affected | Not stated | openssl |
| Siemens | — | SCALANCE W1750D (JP)0 to < V8.10.0.9 · Other versions: unknown | Affected | Not stated | siemens-SADP |
| Siemens | — | SCALANCE W1750D (ROW)0 to < V8.10.0.9 · Other versions: unknown | Affected | Not stated | siemens-SADP |
| Siemens | — | SCALANCE W1750D (USA)0 to < V8.10.0.9 · Other versions: unknown | Affected | Not stated | siemens-SADP |
| Amazon Linux | AL2 | Release evaluationALAS2-2023-1934 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2-2024-2502 | Fixed | Not stated | Amazon Linux assessment |
| AlmaLinux | 8 | edk2-aarch64 | Advisory build | 20220126gitbb1bba3d77-4.el8 | ALSA-2023:2932 |
| Alpine Linux | edge | openssl | Fixed | 3.0.8-r0 | Package fix record |
Show 105 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Siemens | — | SIMATIC S7-1500 CPU 1518-4 PN/DP MFPV3.1.0 to < V3.1.5 · Other versions: unknown | Affected | Not stated | siemens-SADP |
| Siemens | — | SIMATIC S7-1500 CPU 1518-4 PN/DP MFPV3.1.0 to < V3.1.5 · Other versions: unknown | Affected | Not stated | siemens-SADP |
| Siemens | — | SIMATIC S7-1500 CPU 1518F-4 PN/DP MFPV3.1.0 to < V3.1.5 · Other versions: unknown | Affected | Not stated | siemens-SADP |
| Siemens | — | SIMATIC S7-1500 CPU 1518F-4 PN/DP MFPV3.1.0 to < V3.1.5 · Other versions: unknown | Affected | Not stated | siemens-SADP |
| Siemens | — | SIMATIC S7-1500 TM MFP - GNU/Linux subsystem0 to < V1.1 · Other versions: unknown | Affected | Not stated | siemens-SADP |
| Siemens | — | SIPLUS S7-1500 CPU 1518-4 PN/DP MFPV3.1.0 to < V3.1.5 · Other versions: unknown | Affected | Not stated | siemens-SADP |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2023-101 | Fixed | Not stated | Amazon Linux assessment |
| Debian | bullseye | openssl | Advisory build | 1.1.1n-0+deb11u4 | DSA-5343-1 |
| Oracle Linux | 7 | AAVMFaarch64 | Advisory build | 1:1.6.6-1.el7 | ELSA-2023-13027 |
| Red Hat Enterprise Linux | RHEL-8 | edk2src | Advisory build | 20220126gitbb1bba3d77-4.el8 | RHSA-2023:2932 |
| AlmaLinux | 8 | edk2-ovmf | Advisory build | 20220126gitbb1bba3d77-4.el8 | ALSA-2023:2932 |
| AlmaLinux | 8 | openssl | Advisory build | 1:1.1.1k-9.el8_7 | ALSA-2023:1405 |
| AlmaLinux | 8 | openssl-devel | Advisory build | 1:1.1.1k-9.el8_7 | ALSA-2023:1405 |
| AlmaLinux | 8 | openssl-libs | Advisory build | 1:1.1.1k-9.el8_7 | ALSA-2023:1405 |
| AlmaLinux | 8 | openssl-perl | Advisory build | 1:1.1.1k-9.el8_7 | ALSA-2023:1405 |
| AlmaLinux | 9 | edk2-aarch64 | Advisory build | 20221207gitfff6d81270b5-9.el9_2 | ALSA-2023:2165 |
| AlmaLinux | 9 | edk2-ovmf | Advisory build | 20221207gitfff6d81270b5-9.el9_2 | ALSA-2023:2165 |
| AlmaLinux | 9 | edk2-tools | Advisory build | 20221207gitfff6d81270b5-9.el9_2 | ALSA-2023:2165 |
| AlmaLinux | 9 | edk2-tools-doc | Advisory build | 20221207gitfff6d81270b5-9.el9_2 | ALSA-2023:2165 |
| AlmaLinux | 9 | openssl | Advisory build | 1:3.0.1-47.el9_1 | ALSA-2023:0946 |
| AlmaLinux | 9 | openssl-devel | Advisory build | 1:3.0.1-47.el9_1 | ALSA-2023:0946 |
| AlmaLinux | 9 | openssl-libs | Advisory build | 1:3.0.1-47.el9_1 | ALSA-2023:0946 |
| AlmaLinux | 9 | openssl-perl | Advisory build | 1:3.0.1-47.el9_1 | ALSA-2023:0946 |
| Alpine Linux | v3.14 | openssl | Fixed | 1.1.1t-r0 | Package fix record |
| Alpine Linux | v3.15 | openssl | Fixed | 1.1.1t-r0 | Package fix record |
| Alpine Linux | v3.15 | openssl3 | Fixed | 3.0.8-r0 | Package fix record |
| Alpine Linux | v3.16 | openssl | Fixed | 1.1.1t-r0 | Package fix record |
| Alpine Linux | v3.16 | openssl3 | Fixed | 3.0.8-r0 | Package fix record |
| Alpine Linux | v3.17 | openssl | Fixed | 3.0.8-r0 | Package fix record |
| Alpine Linux | v3.17 | openssl1.1-compat | Fixed | 1.1.1t-r0 | Package fix record |
| Alpine Linux | v3.18 | openssl | Fixed | 3.0.8-r0 | Package fix record |
| Alpine Linux | v3.18 | openssl1.1-compat | Fixed | 1.1.1t-r0 | Package fix record |
| Alpine Linux | v3.19 | openssl | Fixed | 3.0.8-r0 | Package fix record |
| Alpine Linux | v3.20 | openssl | Fixed | 3.0.8-r0 | Package fix record |
| Alpine Linux | v3.21 | openssl | Fixed | 3.0.8-r0 | Package fix record |
| Alpine Linux | v3.22 | openssl | Fixed | 3.0.8-r0 | Package fix record |
| Alpine Linux | v3.23 | openssl | Fixed | 3.0.8-r0 | Package fix record |
| Alpine Linux | v3.24 | openssl | Fixed | 3.0.8-r0 | Package fix record |
| Debian | buster | openssl | Advisory build | 1.1.1n-0+deb10u4 | DLA-3325-1 |
| Oracle Linux | 7 | OVMFx86_64 | Advisory build | 1:1.6.6-1.el7 | ELSA-2023-13026 |
| Oracle Linux | 8 | edk2-aarch64aarch64 | Advisory build | 0:20220126gitbb1bba3d77-4.el8 | ELSA-2023-2932 |
| Oracle Linux | 8 | edk2-aarch64aarch64 | Advisory build | 1:20230821-1.el8 | ELSA-2023-13025 |
| Oracle Linux | 8 | edk2-ovmfx86_64 | Advisory build | 0:20220126gitbb1bba3d77-4.el8 | ELSA-2023-2932 |
| Oracle Linux | 8 | edk2-ovmfx86_64 | Advisory build | 1:20230821-1.el8 | ELSA-2023-13025 |
| Oracle Linux | 8 | edk2-toolsaarch64 | Advisory build | 1:20230821-1.el8 | ELSA-2023-32791 |
| Oracle Linux | 8 | edk2-toolsx86_64 | Advisory build | 1:20230821-1.el8 | ELSA-2023-32791 |
| Oracle Linux | 8 | opensslaarch64 | Advisory build | 1:1.1.1k-9.el8_7 | ELSA-2023-1405 |
| Oracle Linux | 8 | opensslaarch64 | Advisory build | 2:1.1.1k-9.ksplice1.el8_7 | ELSA-2023-12213 |
| Oracle Linux | 8 | opensslx86_64 | Advisory build | 1:1.1.1k-9.el8_7 | ELSA-2023-1405 |
| Oracle Linux | 8 | opensslx86_64 | Advisory build | 2:1.1.1k-9.ksplice1.el8_7 | ELSA-2023-12213 |
| Oracle Linux | 8 | openssl-debugsourceaarch64 | Advisory build | 2:1.1.1k-9.ksplice1.el8_7 | ELSA-2023-12213 |
| Oracle Linux | 8 | openssl-develaarch64 | Advisory build | 1:1.1.1k-9.el8_7 | ELSA-2023-1405 |
| Oracle Linux | 8 | openssl-develaarch64 | Advisory build | 2:1.1.1k-9.ksplice1.el8_7 | ELSA-2023-12213 |
| Oracle Linux | 8 | openssl-develx86_64 | Advisory build | 1:1.1.1k-9.el8_7 | ELSA-2023-1405 |
| Oracle Linux | 8 | openssl-develx86_64 | Advisory build | 2:1.1.1k-9.ksplice1.el8_7 | ELSA-2023-12213 |
| Oracle Linux | 8 | openssl-libsaarch64 | Advisory build | 1:1.1.1k-9.el8_7 | ELSA-2023-1405 |
| Oracle Linux | 8 | openssl-libsaarch64 | Advisory build | 2:1.1.1k-9.ksplice1.el8_7 | ELSA-2023-12213 |
| Oracle Linux | 8 | openssl-libsx86_64 | Advisory build | 1:1.1.1k-9.el8_7 | ELSA-2023-1405 |
| Oracle Linux | 8 | openssl-libsx86_64 | Advisory build | 2:1.1.1k-9.ksplice1.el8_7 | ELSA-2023-12213 |
| Oracle Linux | 8 | openssl-perlaarch64 | Advisory build | 1:1.1.1k-9.el8_7 | ELSA-2023-1405 |
| Oracle Linux | 8 | openssl-perlaarch64 | Advisory build | 2:1.1.1k-9.ksplice1.el8_7 | ELSA-2023-12213 |
| Oracle Linux | 8 | openssl-perlx86_64 | Advisory build | 1:1.1.1k-9.el8_7 | ELSA-2023-1405 |
| Oracle Linux | 8 | openssl-perlx86_64 | Advisory build | 2:1.1.1k-9.ksplice1.el8_7 | ELSA-2023-12213 |
| Oracle Linux | 8 | openssl-staticaarch64 | Advisory build | 2:1.1.1k-9.ksplice1.el8_7 | ELSA-2023-12213 |
| Oracle Linux | 9 | edk2-aarch64aarch64 | Advisory build | 0:20221207gitfff6d81270b5-9.el9_2 | ELSA-2023-2165 |
| Oracle Linux | 9 | edk2-aarch64aarch64 | Advisory build | 30:20230821-1.el9 | ELSA-2023-13024 |
| Oracle Linux | 9 | edk2-aarch64x86_64 | Advisory build | 0:20221207gitfff6d81270b5-9.el9_2 | ELSA-2023-2165 |
| Oracle Linux | 9 | edk2-ovmfx86_64 | Advisory build | 0:20221207gitfff6d81270b5-9.el9_2 | ELSA-2023-2165 |
| Oracle Linux | 9 | edk2-ovmfx86_64 | Advisory build | 30:20230821-1.el9 | ELSA-2023-13024 |
| Oracle Linux | 9 | edk2-toolsaarch64 | Advisory build | 0:20221207gitfff6d81270b5-9.el9_2 | ELSA-2023-2165 |
| Oracle Linux | 9 | edk2-toolsaarch64 | Advisory build | 30:20230821-1.el9 | ELSA-2023-32790 |
| Oracle Linux | 9 | edk2-toolsx86_64 | Advisory build | 0:20221207gitfff6d81270b5-9.el9_2 | ELSA-2023-2165 |
| Oracle Linux | 9 | edk2-toolsx86_64 | Advisory build | 30:20230821-1.el9 | ELSA-2023-32790 |
| Oracle Linux | 9 | edk2-tools-docaarch64 | Advisory build | 0:20221207gitfff6d81270b5-9.el9_2 | ELSA-2023-2165 |
| Oracle Linux | 9 | edk2-tools-docx86_64 | Advisory build | 0:20221207gitfff6d81270b5-9.el9_2 | ELSA-2023-2165 |
| Oracle Linux | 9 | opensslaarch64 | Advisory build | 1:3.0.1-47.0.1.el9_1 | ELSA-2023-0946 |
| Oracle Linux | 9 | opensslaarch64 | Advisory build | 2:3.0.1-47.0.1.ksplice1.el9_1 | ELSA-2023-12152 |
| Oracle Linux | 9 | opensslx86_64 | Advisory build | 1:3.0.1-47.0.1.el9_1 | ELSA-2023-0946 |
| Oracle Linux | 9 | opensslx86_64 | Advisory build | 2:3.0.1-47.0.1.ksplice1.el9_1 | ELSA-2023-12152 |
| Oracle Linux | 9 | openssl-develaarch64 | Advisory build | 1:3.0.1-47.0.1.el9_1 | ELSA-2023-0946 |
| Oracle Linux | 9 | openssl-develaarch64 | Advisory build | 2:3.0.1-47.0.1.ksplice1.el9_1 | ELSA-2023-12152 |
| Oracle Linux | 9 | openssl-develx86_64 | Advisory build | 1:3.0.1-47.0.1.el9_1 | ELSA-2023-0946 |
| Oracle Linux | 9 | openssl-develx86_64 | Advisory build | 2:3.0.1-47.0.1.ksplice1.el9_1 | ELSA-2023-12152 |
| Oracle Linux | 9 | openssl-libsaarch64 | Advisory build | 1:3.0.1-47.0.1.el9_1 | ELSA-2023-0946 |
| Oracle Linux | 9 | openssl-libsaarch64 | Advisory build | 2:3.0.1-47.0.1.ksplice1.el9_1 | ELSA-2023-12152 |
| Oracle Linux | 9 | openssl-libsx86_64 | Advisory build | 1:3.0.1-47.0.1.el9_1 | ELSA-2023-0946 |
| Oracle Linux | 9 | openssl-libsx86_64 | Advisory build | 2:3.0.1-47.0.1.ksplice1.el9_1 | ELSA-2023-12152 |
| Oracle Linux | 9 | openssl-perlaarch64 | Advisory build | 1:3.0.1-47.0.1.el9_1 | ELSA-2023-0946 |
| Oracle Linux | 9 | openssl-perlaarch64 | Advisory build | 2:3.0.1-47.0.1.ksplice1.el9_1 | ELSA-2023-12152 |
| Oracle Linux | 9 | openssl-perlx86_64 | Advisory build | 1:3.0.1-47.0.1.el9_1 | ELSA-2023-0946 |
| Oracle Linux | 9 | openssl-perlx86_64 | Advisory build | 2:3.0.1-47.0.1.ksplice1.el9_1 | ELSA-2023-12152 |
| Red Hat Enterprise Linux | RHEL-8 | edk2-aarch64noarch | Advisory build | 20220126gitbb1bba3d77-4.el8 | RHSA-2023:2932 |
| Red Hat Enterprise Linux | RHEL-8 | edk2-ovmfnoarch | Advisory build | 20220126gitbb1bba3d77-4.el8 | RHSA-2023:2932 |
| Red Hat Enterprise Linux | RHEL-8 | opensslaarch64 | Advisory build | 1:1.1.1k-9.el8_6 | RHSA-2023:3408 |
| Red Hat Enterprise Linux | RHEL-8 | opensslaarch64 | Advisory build | 1:1.1.1k-9.el8_7 | RHSA-2023:1405 |
| Red Hat Enterprise Linux | RHEL-8 | opensslppc64le | Advisory build | 1:1.1.1k-9.el8_6 | RHSA-2023:3408 |
| Red Hat Enterprise Linux | RHEL-8 | opensslppc64le | Advisory build | 1:1.1.1k-9.el8_7 | RHSA-2023:1405 |
| Red Hat Enterprise Linux | RHEL-8 | openssls390x | Advisory build | 1:1.1.1k-9.el8_6 | RHSA-2023:3408 |
| Red Hat Enterprise Linux | RHEL-8 | openssls390x | Advisory build | 1:1.1.1k-9.el8_7 | RHSA-2023:1405 |
| Red Hat Enterprise Linux | RHEL-8 | opensslsrc | Advisory build | 1:1.1.1k-9.el8_6 | RHSA-2023:3408 |
| Red Hat Enterprise Linux | RHEL-8 | opensslsrc | Advisory build | 1:1.1.1k-9.el8_7 | RHSA-2023:1405 |
| Red Hat Enterprise Linux | RHEL-8 | opensslx86_64 | Advisory build | 1:1.1.1k-9.el8_6 | RHSA-2023:3408 |
| Red Hat Enterprise Linux | RHEL-8 | opensslx86_64 | Advisory build | 1:1.1.1k-9.el8_7 | RHSA-2023:1405 |
| Red Hat Enterprise Linux | RHEL-8 | openssl-debuginfoaarch64 | Advisory build | 1:1.1.1k-9.el8_6 | RHSA-2023:3408 |
| Red Hat Enterprise Linux | RHEL-8 | openssl-debuginfoaarch64 | Advisory build | 1:1.1.1k-9.el8_7 | RHSA-2023:1405 |
Package entries are limited to the first 100 builds and 100 linked advisories.
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.5 / 10
- Severity
- high
- Provider
- CISA-ADP · adp
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| OpenSSL | OpenSSL | 3.0.0 to < 3.0.8 (affected · semver)1.1.1 to < 1.1.1t (affected · custom)Default: unaffected | openssl · cna |
| Siemens | SCALANCE W1750D (JP) | 0 to < V8.10.0.9 (affected · custom)Default: unknown | siemens-SADP · adp |
| Siemens | SCALANCE W1750D (ROW) | 0 to < V8.10.0.9 (affected · custom)Default: unknown | siemens-SADP · adp |
| Siemens | SCALANCE W1750D (USA) | 0 to < V8.10.0.9 (affected · custom)Default: unknown | siemens-SADP · adp |
| Siemens | SIMATIC S7-1500 CPU 1518-4 PN/DP MFP | V3.1.0 to < V3.1.5 (affected · custom)Default: unknown | siemens-SADP · adp |
| Siemens | SIMATIC S7-1500 CPU 1518-4 PN/DP MFP | V3.1.0 to < V3.1.5 (affected · custom)Default: unknown | siemens-SADP · adp |
| Siemens | SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP | V3.1.0 to < V3.1.5 (affected · custom)Default: unknown | siemens-SADP · adp |
| Siemens | SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP | V3.1.0 to < V3.1.5 (affected · custom)Default: unknown | siemens-SADP · adp |
| Siemens | SIMATIC S7-1500 TM MFP - GNU/Linux subsystem | 0 to < V1.1 (affected · custom)Default: unknown | siemens-SADP · adp |
| Siemens | SIPLUS S7-1500 CPU 1518-4 PN/DP MFP | V3.1.0 to < V3.1.5 (affected · custom)Default: unknown | siemens-SADP · adp |
Weaknesses
2- double-free
- CWE-415 CWE-415 Double Free
References
16- https://cert-portal.siemens.com/productcert/html/ssa-203374.html
- https://cert-portal.siemens.com/productcert/html/ssa-337522.html
- https://cert-portal.siemens.com/productcert/html/ssa-398330.html
- https://cert-portal.siemens.com/productcert/html/ssa-556635.html
- https://cert-portal.siemens.com/productcert/html/ssa-561322.html
- https://cert-portal.siemens.com/productcert/html/ssa-625862.html
- https://cert-portal.siemens.com/productcert/html/ssa-699386.html
- https://cert-portal.siemens.com/productcert/html/ssa-769027.html
- https://cert-portal.siemens.com/productcert/html/ssa-794697.html
- https://cert-portal.siemens.com/productcert/html/ssa-879734.html
- https://cert-portal.siemens.com/productcert/html/ssa-943925.html
- 3.0.8 git commit https://git.openssl.org/gitweb/?p=openssl.git;a=commitdiff;h=63bcf189be73a9cc1264059bed6f57974be74a83
- 1.1.1t git commit https://git.openssl.org/gitweb/?p=openssl.git;a=commitdiff;h=bbcf509bd046b34cca19c766bbddc31683d0858b
- https://psirt.global.sonicwall.com/vuln-detail/SNWLID-2023-0003
- https://security.gentoo.org/glsa/202402-08
- OpenSSL Advisory https://www.openssl.org/news/secadv/20230207.txt
Provider assertions
4openssl · cna
Double free after calling PEM_read_bio_ex
siemens-SADP · adp
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 03ddcbad83e9a77618b372f7c2ea1c68c42d92099253a2cb3aefa44cd87d01da
- Ingested
- 14 Oct 2026, 20:24:43 UTC
- Source record
- Official CVE record