CVE-2022-40674 in Abb ARM600 and 4 more products
libexpat before 2.4.9 has a use-after-free in the doContent function in xmlparse.c.
Affects 5 products from 5 vendors. Description from NVD and MITRE.
Remotely exploitable over the network, high complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Abb | ARM600 | ≥ 4.1.2, ≤ 5.0.3 |
| Debian | Debian Linux | 10.0 11.0 |
| Fedoraproject | Fedora | 35 36 37 |
| Libexpat Project | Libexpat | < 2.4.9 |
| Siemens | SCALANCE XCM332 | < 2.2 |
| Phoenixcontact | Axc F 1152 Firmware | < 2023.0.0 |
| Phoenixcontact | Axc F 2152 Firmware | < 2023.0.0 |
| Phoenixcontact | Axc F 3152 Firmware | < 2023.0.0 |
| Phoenixcontact | Bpc 9102S Firmware | < 2023.0.0 |
| Phoenixcontact | Rfc 4072R Firmware | < 2023.0.0 |
| Phoenixcontact | Rfc 4072S Firmware | < 2023.0.0 |
| Siemens | S7-1500 Cpu Firmware | ≥ 3.1.0, < 3.1.5 |
| 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 | < 1.0.3.1 |
| Siemens | Sinec Nms | < 1.0.3.1 |
| Siemens | Siplus S7-1500 Cpu 1518-4 Pn/Dp Mfp Firmware | ≥ 3.1.0, < 3.1.5 |
Fix and vendor advisory
- SCALANCE XCM332 (6GK5332-0GA01-2AC2): Update to V2.2 or later version
Source: ICSA-23-103-09
- SINEC NMS: Update to V1.0.3.1 or later version
Source: ICSA-23-131-05
- AFS660/665S, AFS660/665C, AFS670v2: Apply mitigation strategy as described in General Mitigation Factors Section or update to upcoming 7.1.08 when available.
- AFS670/675, AFR67x: Apply mitigation strategy as described in General Mitigation Factors Section or update to 9.1.08.
- AFS65x: EoL product - only mitigation available, no remediation expected. Apply mitigation strategy as described in General Mitigation Factors Section.
- AFF660/665: Apply mitigation strategy as described in General Mitigation Factors Section or update to upcoming release.
- AFF660/665: 03.0.02 and earlier, AFR67x: 9.1.07 and earlier, AFS65x: * and 4 more: Recommended security practices and firewall configurations can help protect a process control network from attacks originating from outside the network.
- AFF660/665: 03.0.02 and earlier, AFR67x: 9.1.07 and earlier, AFS65x: * and 4 more: Physically protect process control systems from direct access by unauthorized personnel.
- AFF660/665: 03.0.02 and earlier, AFR67x: 9.1.07 and earlier, AFS65x: * and 4 more: Ensure process control systems have no direct connections to the internet and are separated from other networks by a firewall system with a minimal number of exposed ports.
Source: ICSA-23-143-01
- SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AB0), SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AC0), SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AB0) and 2 more: Update to V3.1.5 or later version
Source: ICSA-23-348-10
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Record details
| CVE ID | CVE-2022-40674 |
|---|---|
| BreachSpider ID | BS-2022-GLOBAL-065873-H |
| CVSS vector | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
| Published | 2022-09-14 |
| Last modified | 2026-10-14 |
| Weakness (CWE) | |
| Source | NVD |
Compensating controls AI-drafted, review before use
Implement input validation and sanitization for XML data to prevent malformed input from reaching the vulnerable function.
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.