CVE-2022-4450 in Openssl and 185 more products
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.
Affects 186 products from 3 vendors. Description from NVD and MITRE.
Remotely exploitable over the network, low complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, no confidentiality impact, no integrity impact, full availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Openssl | Openssl | ≥ 1.1.1, < 1.1.1t ≥ 3.0.0, < 3.0.8 |
| Siemens | SIMATIC Cp 1542SP-1 (device and firmware) | < 2.3 |
| Siemens | SIMATIC Cp 1542SP-1 Irc (device and firmware) | < 2.3 |
| Siemens | SIMATIC Cp 1543SP-1 (device and firmware) | < 2.3 |
| Siemens | SCALANCE W1750D (device and firmware) | < 8.10.0.9 |
| Siemens | Tim 1531 Irc (device and firmware) | < 2.4.8 |
| Siemens | SCALANCE XB205-3 (device and firmware) | < 4.5 |
| Siemens | SCALANCE XB205-3LD (device and firmware) | < 4.5 |
| Siemens | SCALANCE XB208 (device and firmware) | < 4.5 |
| Siemens | SCALANCE XB213-3 (device and firmware) | < 4.5 |
| Siemens | SCALANCE XB213-3LD (device and firmware) | < 4.5 |
| Siemens | SCALANCE XB216 (device and firmware) | < 4.5 |
| Siemens | SCALANCE XC206-2 (device and firmware) | < 4.5 |
| Siemens | SCALANCE XC206-2G Poe | < 4.5 |
| Siemens | SCALANCE XC206-2G Poe Eec (device and firmware) | < 4.5 |
| Siemens | SCALANCE XC206-2SFP (device and firmware) | < 4.5 |
| Siemens | SCALANCE XC206-2SFP Eec (device and firmware) | < 4.5 |
| Siemens | SCALANCE XC206-2SFP G (device and firmware) | < 4.5 |
| Siemens | SCALANCE XC208 (device and firmware) | < 4.5 |
| Siemens | SCALANCE XC208EEC (device and firmware) | < 4.5 |
| Siemens | SCALANCE XC208G (device and firmware) | < 4.5 |
| Siemens | SCALANCE XC208G Eec (device and firmware) | < 4.5 |
| Siemens | SCALANCE XC208G Poe (device and firmware) | < 4.5 |
| Siemens | SCALANCE XC216 (device and firmware) | < 4.5 |
| Siemens | SCALANCE XC216-4C (device and firmware) | < 4.5 |
| Siemens | SCALANCE XC216-4C G (device and firmware) | < 4.5 |
| Siemens | SCALANCE XC216-4C G Eec (device and firmware) | < 4.5 |
| Siemens | SCALANCE XC216EEC (device and firmware) | < 4.5 |
| Siemens | SCALANCE XC224-4C G | < 4.5 |
| Siemens | SCALANCE XC224-4C G Eec (device and firmware) | < 4.5 |
| Siemens | SCALANCE XC224 | < 4.5 |
| Siemens | SCALANCE XF204 (device and firmware) | < 4.5 |
| Siemens | SCALANCE XF204-2BA Dna (device and firmware) | < 4.5 |
| Siemens | SCALANCE XF204 Dna (device and firmware) | < 4.5 |
| Siemens | SCALANCE XP208 (device and firmware) | < 4.5 |
| Siemens | SCALANCE XP208EEC (device and firmware) | < 4.5 |
| Siemens | SCALANCE XP208POE Eec (device and firmware) | < 4.5 |
| Siemens | SCALANCE XP216 (device and firmware) | < 4.5 |
| Siemens | SCALANCE XP216EEC (device and firmware) | < 4.5 |
| Siemens | SCALANCE XP216POE Eec (device and firmware) | < 4.5 |
| Siemens | SCALANCE XR324WG (device and firmware) | < 4.5 |
| Siemens | SCALANCE XR326-2C Poe Wg (device and firmware) | < 4.5 |
| Siemens | SCALANCE XR328-4C Wg (device and firmware) | < 4.5 |
| Siemens | SCALANCE XR528-6M (device and firmware) | < 6.6.1 |
| Siemens | SCALANCE WAM763-1 (device and firmware) | < 3.0.0 |
| Siemens | SCALANCE WAM766-1 (device and firmware) | < 3.0.0 |
| Siemens | SCALANCE WUM763-1 (device and firmware) | < 3.0.0 |
| Siemens | SCALANCE WUM766-1 (device and firmware) | < 3.0.0 |
| Siemens | 6GK5766-1GE00-7DA0 (device and firmware) | < 3.0.0 |
| Siemens | 6GK5766-1GE00-7DB0 (device and firmware) | < 3.0.0 |
| Siemens | 6GK5766-1GE00-7TA0 (device and firmware) | < 3.0.0 |
| Siemens | 6GK5766-1GE00-7TB0 (device and firmware) | < 3.0.0 |
| Siemens | 6GK5766-1GE00-3DA0 (device and firmware) | < 3.0.0 |
| Siemens | 6GK5766-1GE00-3DB0 (device and firmware) | < 3.0.0 |
| Siemens | SCALANCE XM416-4C (device and firmware) | < 6.6.1 |
| Siemens | SCALANCE XM408-8C (device and firmware) | < 6.6.1 |
| Siemens | SCALANCE XM408-4C (device and firmware) | < 6.6.1 |
| Siemens | Siplus Et 200SP Cp 1542SP-1 Irc Tx Rail (device and firmware) | < 2.3 |
| Siemens | Siplus Et 200SP Cp 1543SP-1 Isec (device and firmware) | < 2.3 |
| Siemens | Siplus Et 200SP Cp 1543SP-1 Isec Tx Rail (device and firmware) | < 2.3 |
| Siemens | SCALANCE XR552-12M (device and firmware) | < 6.6.1 |
| Siemens | SIMATIC MV540 H (device and firmware) | < 3.3.4 |
| Siemens | SIMATIC MV540 S (device and firmware) | < 3.3.4 |
| Siemens | SIMATIC MV550 H (device and firmware) | < 3.3.4 |
| Siemens | SIMATIC MV550 S (device and firmware) | < 3.3.4 |
| Siemens | SIMATIC MV560 U (device and firmware) | < 3.3.4 |
| Siemens | SIMATIC MV560 X (device and firmware) | < 3.3.4 |
| Siemens | 6GK5408-4GQ00-2AM2 (device and firmware) | < 6.6.1 |
| Siemens | 6GK5408-8GR00-2AM2 (device and firmware) | < 6.6.1 |
| Siemens | 6GK5416-4GR00-2AM2 (device and firmware) | < 6.6.1 |
| Siemens | 6GK5524-8GS00-3AR2 (device and firmware) | < 6.6.1 |
| Siemens | 6GK5524-8GR00-3AR2 (device and firmware) | < 6.6.1 |
| Siemens | 6GK5524-8GS00-4AR2 (device and firmware) | < 6.6.1 |
| Siemens | 6GK5524-8GR00-4AR2 (device and firmware) | < 6.6.1 |
| Siemens | 6GK5524-8GS00-2AR2 (device and firmware) | < 6.6.1 |
| Siemens | 6GK5524-8GR00-2AR2 (device and firmware) | < 6.6.1 |
| Siemens | 6GK5526-8GS00-3AR2 (device and firmware) | < 6.6.1 |
| Siemens | 6GK5526-8GR00-3AR2 (device and firmware) | < 6.6.1 |
| Siemens | 6GK5526-8GS00-4AR2 (device and firmware) | < 6.6.1 |
| Siemens | 6GK5526-8GR00-4AR2 (device and firmware) | < 6.6.1 |
| Siemens | 6GK5526-8GS00-2AR2 (device and firmware) | < 6.6.1 |
| Siemens | 6GK5526-8GR00-2AR2 (device and firmware) | < 6.6.1 |
| Siemens | 6GK5528-0AR00-2HR2 (device and firmware) | < 6.6.1 |
| Siemens | 6GK5528-0AR00-2AR2 (device and firmware) | < 6.6.1 |
| Siemens | 6GK5552-0AR00-2AR2 (device and firmware) | < 6.6.1 |
| Siemens | Siplus Tim 1531 Irc (device and firmware) | < 2.4.8 |
| Siemens | SCALANCE XC216-3G Poe (device and firmware) | < 4.5 |
| Siemens | SCALANCE XF204-2BA (device and firmware) | < 4.5 |
| Siemens | Siplus Net SCALANCE XC206-2 (device and firmware) | < 4.5 |
| Siemens | Siplus Net SCALANCE XC206-2SFP (device and firmware) | < 4.5 |
| Siemens | Siplus Net SCALANCE XC208 (device and firmware) | < 4.5 |
| Siemens | Siplus Net SCALANCE XC216-4C (device and firmware) | < 4.5 |
| Siemens | SIMATIC S7-1500 Tm Mfp (device and firmware) | < 1.1 |
| Siemens | SCALANCE WAB762-1 (6GK5762-1AJ00-6AA0) | < 3.0.0 |
| Siemens | SCALANCE WUB762-1 (6GK5762-1AJ00-1AA0) | < 3.0.0 |
| Siemens | SCALANCE WUB762-1 iFeatures (6GK5762-1AJ00-2AA0) | < 3.0.0 |
| Stormshield | Stormshield Network Security | ≥ 4.0.0, < 4.3.16 ≥ 4.4.0, < 4.6.3 |
| Siemens | 6Gk5205-3Bb00-2Ab2 (device and firmware) | < 4.5 |
| Siemens | 6Gk5205-3Bb00-2Tb2 (device and firmware) | < 4.5 |
| Siemens | 6Gk5205-3Bd00-2Ab2 (device and firmware) | < 4.5 |
| Siemens | 6Gk5205-3Bd00-2Tb2 (device and firmware) | < 4.5 |
| Siemens | 6Gk5205-3Bf00-2Ab2 Firmware | < 4.5 |
| Siemens | 6Gk5205-3Bf00-2Tb2 Firmware | < 4.5 |
| Siemens | 6Gk5206-2Bb00-2Ac2 (device and firmware) | < 4.5 |
| Siemens | 6Gk5206-2Bd00-2Ac2 (device and firmware) | < 4.5 |
| Siemens | 6Gk5206-2Gs00-2Fc2 (device and firmware) | < 4.5 |
| Siemens | 6Gk5206-2Gs00-2Tc2 Firmware | < 4.5 |
| Siemens | 6Gk5206-2Rs00-5Ac2 Firmware | < 4.5 |
| Siemens | 6Gk5206-2Rs00-5Fc2 Firmware | < 4.5 |
| Siemens | 6Gk5208-0Ba00-2Ab2 Firmware | < 4.5 |
| Siemens | 6Gk5208-0Ba00-2Tb2 Firmware | < 4.5 |
| Siemens | 6Gk5208-0Ga00-2Tc2 Firmware | < 4.5 |
| Siemens | 6Gk5208-0Ha00-2Ts6 Firmware | < 4.5 |
| Siemens | 6Gk5208-0Ra00-5Ac2 Firmware | < 4.5 |
| Siemens | 6Gk5213-3Bb00-2Ab2 (device and firmware) | < 4.5 |
| Siemens | 6Gk5213-3Bb00-2Tb2 (device and firmware) | < 4.5 |
| Siemens | 6Gk5213-3Bd00-2Ab2 (device and firmware) | < 4.5 |
| Siemens | 6Gk5213-3Bd00-2Tb2 (device and firmware) | < 4.5 |
| Siemens | 6Gk5213-3Bf00-2Ab2 Firmware | < 4.5 |
| Siemens | 6Gk5213-3Bf00-2Tb2 Firmware | < 4.5 |
| Siemens | 6Gk5216-0Ba00-2Ab2 Firmware | < 4.5 |
| Siemens | 6Gk5216-0Ba00-2Tb2 Firmware | < 4.5 |
| Siemens | 6Gk5216-0Ha00-2Ts6 Firmware | < 4.5 |
| Siemens | 6Gk5216-3Rs00-5Ac2 Firmware | < 4.5 |
| Siemens | 6Gk5216-4Gs00-2Tc2 Firmware | < 4.5 |
| Siemens | 6Gk5224-4Gs00-2Tc2 Firmware | < 4.5 |
| Siemens | 6Gk5324-0Ba00-2Ar3 Firmware | < 4.5 |
| Siemens | 6Gk5324-0Ba00-3Ar3 Firmware | < 4.5 |
| Siemens | 6Gk5326-2Qs00-3Rr3 Firmware | < 4.5 |
| Siemens | 6Gk5328-4Fs00-2Ar3 Firmware | < 4.5 |
| Siemens | 6Gk5328-4Fs00-2Rr3 Firmware | < 4.5 |
| Siemens | 6Gk5328-4Fs00-3Ar3 Firmware | < 4.5 |
| Siemens | 6Gk5328-4Fs00-3Rr3 Firmware | < 4.5 |
| Siemens | 6Gk5328-4Ss00-2Ar3 Firmware | < 4.5 |
| Siemens | 6Gk5328-4Ss00-3Ar3 Firmware | < 4.5 |
| Siemens | 6Gk5528-0Aa00-2Hr2 Firmware | < 6.6.1 |
| Siemens | 6Gk5552-0Aa00-2Hr2 Firmware | < 6.6.1 |
| Siemens | 6Gk5552-0Ar00-2Hr2 Firmware | < 6.6.1 |
| Siemens | S7-1500 Cpu Firmware | ≥ 3.1.0, < 3.1.5 |
| Siemens | Scalance Wab762-1 Firmware | < 3.0.0 |
| Siemens | Scalance Wub762-1 Firmware | < 3.0.0 |
| Siemens | Scalance Wub762-1 Ifeatures Firmware | < 3.0.0 |
| Siemens | Scalance Xc206-2Sfp G Eec Firmware | < 4.5 |
| Siemens | Scalance Xr524-8C Firmware | < 6.6.1 |
| Siemens | Scalance Xr526-8C Firmware | < 6.6.1 |
| Siemens | Simatic Cpu 1518F-4 Firmware | ≥ 3.1.0, < 3.1.5 |
| Siemens | Simatic S7-1500 Cpu 1518-4 Pn/Dp Mfp Firmware | ≥ 3.1.0, < 3.1.5 |
| Siemens | Simatic S7-1500 Cpu 1518-4 Pn Firmware | ≥ 3.1.0, < 3.1.5 |
| Siemens | Simatic S7-1500 Cpu 1518F-4 Firmware | ≥ 3.1.0, < 3.1.5 |
| Siemens | Simatic S7-1500 Cpu 1518F-4 Pn/Dp Mfp Firmware | ≥ 3.1.0, < 3.1.5 |
| Siemens | Sinec-Nms | < 2.0 SP1 |
| Siemens | Sinec Nms | < 2.0 SP1 |
| Siemens | Siplus S7-1500 Cpu 1518-4 Pn/Dp Mfp Firmware | ≥ 3.1.0, < 3.1.5 |
Fix and vendor advisory
- Hitachi Energy has fixed the vulnerabilities for Lumada APM in version 6.5.0.2 and later and recommends users update their systems to the appropriate version. Lumada APM Edge versions 4.0 and prior are no longer supported and are considered End-of-Life.
Source: ICSA-23-255-01
- Mitsubishi Electric FX5-OPC: 1.006_ and earlier: FX5-OPC: Version 1.010 or later
- Mitsubishi Electric FX5-OPC: 1.006_ and earlier: FX5-OPC: Use within a LAN and block access from untrusted networks and hosts through firewalls. Restrict physical access to the product, as well as to computers and network devices located within the same network as the product. Use a firewall or virtual private network (VPN), etc. to prevent unauthorized access when Internet access is required. Use the IP filter function to block access from untrusted hosts. For details on the IP filter function, please refer to the MELSEC iQ-F FX5 OPC UA Module User's Manual section 4.4 "IP Filter." Do not import untrusted certificates.
Source: ICSA-24-004-02
- SINEC NMS: Update to V2.0 SP1 or later version
Source: ICSA-24-046-15
- SIPLUS TIM 1531 IRC (6AG1543-1MX00-7XE0), TIM 1531 IRC (6GK7543-1MX00-0XE0): Update to V2.4.8 or later version
Source: ICSA-24-165-06
- SIMATIC CP 1542SP-1 (6GK7542-6UX00-0XE0), SIMATIC CP 1542SP-1 IRC (6GK7542-6VX00-0XE0), SIMATIC CP 1543SP-1 (6GK7543-6WX00-0XE0) and 3 more: Update to V2.3 or later version
Source: ICSA-24-165-10
- SCALANCE XM408-4C (6GK5408-4GP00-2AM2), SCALANCE XM408-4C (L3 int.) (6GK5408-4GQ00-2AM2), SCALANCE XM408-8C (6GK5408-8GS00-2AM2) and 23 more: Update to V6.6.1 or later version
Source: ICSA-24-165-11
- Hitachi Energy AFS650: 9.1.08 and earlier: AFS650: Update to AFS 650 firmware version 9.1.10
- Hitachi Energy AFS660-C: 7.1.05 and earlier, Hitachi Energy AFS665-B: 7.1.05 and earlier, Hitachi Energy AFS670-V2: 7.1.05 and earlier: AFS660-C, AFS665-B, AFS670-V2: Update to AFS 66x firmware version 7.1.08
- Hitachi Energy AFR677: 9.1.08 and earlier, Hitachi Energy AFS670: 9.1.08 and earlier, Hitachi Energy AFS675: 9.1.08 and earlier and 1 more: AFS670/675/677, AFR677: Update to AFS/AFR 67x firmware version 9.1.10
Source: ICSA-24-205-02
Vendor PSIRT: [email protected]
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Record details
| CVE ID | CVE-2022-4450 |
|---|---|
| BreachSpider ID | BS-2023-GLOBAL-061988-H |
| CVSS vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| Published | 2023-02-08 |
| Last modified | 2026-10-14 |
| Weakness (CWE) | |
| Source | NVD |
Compensating controls AI-drafted, review before use
Implement input validation and sanitization for PEM files before passing them to OpenSSL functions. Ensure that the length of the payload data is checked and that no operations are performed on freed memory.
NERC CIP: CIP-007 CIP-007-R2
IEC 62443: SR 7.6
Not validated for your network. A compensating control does not replace the vendor fix.
Check devices from your own code or AI agent: free 14-day trial
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-10-14.