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.
Overview
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.
- Published
- 3/14/2025
- Last modified
- 11/24/2026
- CVE assigner
- redhat
- NVD analysis
- Deferred
Exploitation
No CISA KEV flag in the saved record
An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.
EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare
Affected products
Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.
| Vendor / product | Affected versions | Platform / conditions | Evidence |
|---|---|---|---|
SIMATIC S7-1500 CPU 1518-4 PN/DP MFP Siemens | ≥ V3.1.0, < V3.1.5 | Verify advisory | Source |
SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP Siemens | ≥ V3.1.0, < V3.1.5 | Verify advisory | Source |
SIPLUS S7-1500 CPU 1518-4 PN/DP MFP Siemens | ≥ V3.1.0, < V3.1.5 | Verify advisory | Source |
RUGGEDCOM RST2428P Siemens | < V3.2 | Verify advisory | Source |
SCALANCE XC-300/XR-300/XC-400/XR-500WG/XR-500 family Siemens | < V3.2 | Verify advisory | Source |
SCALANCE XCM-/XRM-/XCH-/XRH-300 family Siemens | < V3.2 | Verify advisory | Source |
Recommended actions
Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.
Severity
CVSS describes technical impact. It is separate from exploitation evidence.
7.5 · High CVSS 3.1
Scored by redhat
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
7.5 · High CVSS 3.1
Scored by secalert@redhat.com
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Related weaknesses
Sources & references
Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.