CVE-2024-45492 is an integer overflow in the nextScaffoldPart function of Expat (libexpat) that only occurs on 32-bit platforms, where UINT_MAX equals SIZE_MAX, the normal case on embedded ARM and MIPS targets. Expat 2.6.3 fixed it on 4 September 2024, NVD scores it 9.8, and Hitachi Energy RTU500 and Siemens SCALANCE firmware are listed as affected.
Vulnerability summary
CVSS base score
9.8
Critical severity
EPSS score (FIRST)
1.4%
Probability of exploitation in the wild in the next 30 days
CISA KEV catalog
No
Not listed
Published
Vulnerability ID: CVE-2024-45492 · Source: NVD
Affected components
| Component | CPE | Version range |
|---|---|---|
| Expat / libexpat (nextScaffoldPart, 32-bit platforms) | cpe:2.3:a:libexpat_project:libexpat:*:*:*:*:*:*:*:* | before 2.6.3 (fixed in 2.6.3, 4 September 2024) |
| Hitachi Energy RTU500 series CMU firmware (IEC 61850 client and server) | — | 13.7.1 to 13.7.6 (fixed in 13.7.7, per ICSA-25-259-02) |
| Siemens SINEC OS on RUGGEDCOM RST2428P and SCALANCE XCM-/XRM-/XCH-/XRH-300 | — | before V3.1 (fixed in V3.1, per SSA-613116) |
| Siemens SIMATIC S7-1500 CPU 1518(F)-4 PN/DP MFP (GNU/Linux subsystem) | — | V3.1.5 and later listed as affected, no fix available (per SSA-082556) |
What does this mean for affected devices?
CVE-2024-45492 is an integer overflow (CWE-190) in Expat (libexpat). NVD's description: "An issue was discovered in libexpat before 2.6.3. nextScaffoldPart in xmlparse.c can have an integer overflow for m_groupSize on 32-bit platforms (where UINT_MAX equals SIZE_MAX)." NVD's Primary CVSS 3.1 score is 9.8, vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H, while the CISA-ADP score is 7.3 (NVD).
Expat 2.6.3, released 4 September 2024, fixed it through pull request #892, "Detect integer overflow in function nextScaffoldPart", merged on 3 September 2024. The Expat Changes file rates the impact as "denial of service to potentially artitrary code execution" [sic]. The same release fixed CVE-2024-45491, the matching 32-bit overflow in dtdCopy, and CVE-2024-45490 in XML_ParseBuffer.
When is nextScaffoldPart reachable?
nextScaffoldPart builds the content model of <!ELEMENT> declarations in a DTD. In the Expat 2.6.3 source (xmlparse.c, read 2026-11-17), the parser only enters that path when the application has registered an element declaration handler with XML_SetElementDeclHandler. Two conditions therefore decide exposure: a 32-bit build (readelf -h on the binary reports ELF32) and a program that installs that handler and parses XML with a DTD from an untrusted source. A 64-bit build of the same Expat version is outside the overflow condition.
Which devices are affected?
- Hitachi Energy RTU500. Hitachi Energy PSIRT advisory 8DBD000220, republished by CISA as ICSA-25-259-02 (CISA CSAF), says the libexpat library is "used in the IEC 61850 client and server components of the RTU500 product series" and that "An authenticated and authorized malicious user could load a crafted XML input which leads to an integer overflow potentially causing RTU500 to reboot." It lists RTU500 series CMU firmware 13.7.1 to 13.7.6, fixed in 13.7.7, scores the CVE 6.5 (CVSS 3.1,
AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H), and also covers CVE-2024-45490, CVE-2024-45491 and libxml2's CVE-2025-6021. Our IEC 61850 protocol security guide covers the GOOSE, Sampled Values and MMS protocols those components implement. - Siemens SINEC OS. SSA-613116 lists SINEC OS before V3.1 on the RUGGEDCOM RST2428P (6GK6242-6PA00) and the SCALANCE XCM-/XRM-/XCH-/XRH-300 family, fixed in V3.1, and marks the SCALANCE XC-300/XR-300/XC-400/XR-500WG/XR-500 family as not affected. Siemens scores the CVE 7.3.
- Siemens S7-1500 MFP. SSA-082556 lists the additional GNU/Linux subsystem of the SIMATIC S7-1500 CPU 1518(F)-4 PN/DP MFP and SIPLUS variant, V3.1.5 and later, with no fix available. Siemens recommends limiting access to the subsystem's interactive shell to trusted personnel and only building and running applications from trusted sources.
The Debian tracker marks bookworm fixed in 2.5.0-1+deb12u1 (DSA-5770-1) and bullseye in 2.2.10-2+deb11u6 (DLA-3893-1), an example of a backport that keeps the old upstream version number.
CVE-2024-45492 is not in the CISA KEV catalog as of 2026-11-17 (catalog version 2026.11.13, CISA KEV). FIRST EPSS gives it 0.014, the 72.8th percentile, in its 2026-11-16 dataset (FIRST EPSS).
What fixes CVE-2024-45492?
Expat 2.6.3 or later, or the vendor firmware named above: RTU500 CMU 13.7.7 and SINEC OS V3.1. Later Expat releases fixed more 32-bit overflows, so a 32-bit device should move to the current release. Our zlib, Expat and libxml2 vulnerabilities in embedded firmware guide lists these 32-bit-only fixes and the triage steps, and the memory corruption fix guide covers integer overflow checks in C.
Evidence
- libexpat before 2.6.3: nextScaffoldPart integer overflow for m_groupSize on 32-bit platforms; NVD Primary CVSS 3.1 9.8; CISA-ADP 7.3; CWE-190. — NVD
- Expat 2.6.3 (4 Sep 2024) fixed CVE-2024-45490, CVE-2024-45491 and CVE-2024-45492; impact denial of service to potentially arbitrary code execution. — Expat Changes
- Fix: pull request #892, detect integer overflow in nextScaffoldPart (fixes #889), merged 2024-09-03. — libexpat pull request #892
- In Expat 2.6.3 xmlparse.c, in_eldecl (which gates nextScaffoldPart) is only set when m_elementDeclHandler is registered. — libexpat R_2_6_3 xmlparse.c
- RTU500 series CMU firmware 13.7.1-13.7.6 affected via libexpat in IEC 61850 client and server; authenticated user crafted XML may cause reboot; fix 13.7.7; vendor CVSS 3.1 6.5; also lists CVE-2024-45490, CVE-2024-45491, CVE-2025-6021. — CISA CSAF ICSA-25-259-02 (Hitachi Energy 8DBD000220)
- SINEC OS before V3.1 on RUGGEDCOM RST2428P and SCALANCE XCM-/XRM-/XCH-/XRH-300 affected, fix V3.1; XC-300/XR-300/XC-400/XR-500WG/XR-500 not affected; Siemens CVSS 7.3. — Siemens SSA-613116
- S7-1500 CPU 1518(F)-4 PN/DP MFP GNU/Linux subsystem V3.1.5 and later affected; no fix available; mitigations. — Siemens SSA-082556
- Debian bookworm fixed in 2.5.0-1+deb12u1 (DSA-5770-1), bullseye in 2.2.10-2+deb11u6 (DLA-3893-1). — Debian Security Tracker
- Not in the CISA KEV catalog version 2026.11.13 as of 2026-11-17. — CISA KEV
- EPSS 0.01393, percentile 0.72821, dataset 2026-11-16. — FIRST EPSS

Related advisories
Sources
- NVD
- Expat Changes (release 2.6.3)
- libexpat pull request #892 (detect integer overflow in nextScaffoldPart)
- libexpat R_2_6_3: expat/lib/xmlparse.c
- CISA CSAF ICSA-25-259-02 (Hitachi Energy RTU500 series)
- Siemens SSA-613116 (SINEC OS before V3.1)
- Siemens SSA-082556 (S7-1500 CPU 1518 MFP GNU/Linux subsystem V3.1.5)
- Debian Security Tracker
- CISA KEV
- CISA KEV data (catalog JSON)
- FIRST EPSS
Frequently asked questions
Does CVE-2024-45492 affect 64-bit devices?
NVD and the Expat Changes file limit the overflow to 32-bit platforms where UINT_MAX equals SIZE_MAX, so a 64-bit build of the same Expat version is outside that condition (per NVD and the Expat Changes file).
Which Hitachi Energy firmware is affected by CVE-2024-45492?
RTU500 series CMU firmware 13.7.1 to 13.7.6, where libexpat sits in the IEC 61850 client and server components; the fix is CMU firmware 13.7.7 (per Hitachi Energy advisory 8DBD000220, republished as CISA ICSA-25-259-02).
Which Siemens devices are affected by CVE-2024-45492?
SSA-613116 lists SINEC OS before V3.1 on the RUGGEDCOM RST2428P and the SCALANCE XCM-/XRM-/XCH-/XRH-300 family, fixed in V3.1; SSA-082556 lists the S7-1500 CPU 1518(F)-4 PN/DP MFP GNU/Linux subsystem V3.1.5 with no fix available (per Siemens ProductCERT).
Is CVE-2024-45492 in the CISA KEV catalog?
No, it is absent from catalog version 2026.11.13 as of 2026-11-17. FIRST EPSS gives it 0.014, the 72.8th percentile, in the 2026-11-16 dataset (per CISA KEV and FIRST EPSS).
Questions about this page?