CVE-2024-8176 in Hitachienergy RTU500 and 7 more products
A stack overflow vulnerability exists in the libexpat library due to the way it handles recursive entity expansion in XML documents. When parsing an XML document with deeply nested entity references, libexpat can be forced to recurse indefinitely, exhausting the stack space and causing a crash. This issue could lead to denial of service (DoS) or, in some cases, exploitable memory corruption, depending on the environment and library usage.
Affects 8 products from 2 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 |
|---|---|---|
| Hitachienergy | RTU500 (device and firmware) | 13.8.1 ≥ 12.7.1, ≤ 12.7.7 ≥ 13.5.1, ≤ 13.5.4 ≥ 13.6.1, ≤ 13.6.2 ≥ 13.7.1, ≤ 13.7.7 |
| Siemens | SCALANCE XR-500 (device and firmware) | < 3.2 |
| Siemens | RUGGEDCOM RST2428P (device and firmware) | < 3.2 |
| Siemens | SCALANCE XR-300 (device and firmware) | < 3.2 |
| Hitachienergy | Reb500 Firmware | ≤ 8.3.3.1 |
| Phoenixcontact | Axc F 1152 Firmware | < 2025.0.2 |
| Phoenixcontact | Axc F 2152 Firmware | < 2025.0.2 |
| Phoenixcontact | Axc F 3152 Firmware | < 2025.0.2 |
| Phoenixcontact | Bpc 9102S Firmware | < 2025.0.2 |
| Phoenixcontact | Rfc 4072S Firmware | < 2025.0.2 |
| 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 | Siplus S7-1500 Cpu 1518-4 Pn/Dp Mfp Firmware | ≥ 3.1.0, < 3.1.5 |
Fix and vendor advisory
- 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
- RUGGEDCOM RST2428P (6GK6242-6PA00), SCALANCE XCM-/XRM-/XCH-/XRH-300 family: Update to V3.2 or later version
- SCALANCE XC-300/XR-300/XC-400/XR-500WG/XR-500 family: See Section Additional Information.
Source: ICSA-25-226-07
- RTU500 series CMU Firmware version 12.7.1 through 12.7.7: Update to CMU Firmware version 12.7.8
- RTU500 series CMU Firmware version 13.5.1 through 13.5.4, RTU500 series CMU Firmware version 13.6.1 through 13.6.2, RTU500 series CMU Firmware version 13.7.1 through 13.7.7: Update to CMU Firmware version 13.7.8 or latest
- RTU500 series CMU Firmware version 13.8.1: Update to CMU Firmware version 13.8.2
Source: ICSA-26-062-03
- ITT600 Explorer before version 2.1 SP6: Update to version 2.1 SP6 HF1
- ITT600 Explorer before version 2.1 SP6: Upgrade to version 2.2 when available
Source: ICSA-26-155-02
- REB500 versions 8.3.3.1 and prior: Update to version 8.3.4.0
Source: ICSA-26-279-05
- Update to the latest 2025.0.2 Firmware Release. PHOENIX CONTACT recommends to always use an up-to-date version of the PLCnext Engineer.
Source: VDE-2025-053
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Record details
| CVE ID | CVE-2024-8176 |
|---|---|
| BreachSpider ID | BS-2025-GLOBAL-041779-H |
| CVSS vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| Published | 2026-06-04 |
| Last modified | 2026-11-24 |
| Weakness (CWE) | |
| Source | NVD |
Compensating controls AI-drafted, review before use
Implement input validation and limit the depth of entity references in XML documents processed by the libexpat library. Consider using a more secure XML parser that is less susceptible to such attacks.
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-11-24.