CVE-2026-56403 is a signed integer overflow in the storeAtts function of Expat (libexpat), the XML parser in many device firmware images, fixed in Expat 2.8.2 on 25 June 2026. NVD scores it 6.9 with a local attack vector and high complexity, and Siemens lists the GNU/Linux subsystem of the S7-1500 CPU 1518 MFP V3.1.7 as affected, with no fix available.
Vulnerability summary
CVSS base score
6.9
Medium severity
EPSS score (FIRST)
0.2%
Probability of exploitation in the wild in the next 30 days
CISA KEV catalog
No
Not listed
Published
Vulnerability ID: CVE-2026-56403 · Source: NVD
Affected components
| Component | CPE | Version range |
|---|---|---|
| Expat / libexpat (storeAtts) | cpe:2.3:a:libexpat_project:libexpat:*:*:*:*:*:*:*:* | before 2.8.2 (fixed in 2.8.2, 25 June 2026) |
| Siemens SIMATIC S7-1500 CPU 1518(F)-4 PN/DP MFP and SIPLUS S7-1500 CPU 1518-4 PN/DP MFP (GNU/Linux subsystem) | — | V3.1.7 and later listed as affected, no fix available (per SSA-457936) |
What does this mean for affected devices?
CVE-2026-56403 is an integer overflow (CWE-190) in Expat (libexpat). NVD's description is one line: "libexpat before 2.8.2 has an integer overflow in storeAtts." NVD published the record on 2026-06-21 and its Primary CVSS 3.1 score is 6.9, vector CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:L, the same score MITRE assigned as the CNA (NVD).
The fix is pull request #1232, "Protect function storeAtts from signed integer overflow", merged on 22 May 2026; it also hardens xcsdup in the xmlwf tool. The pull request fixes issue #1229, where the reporter pointed at name-scanning loops in xmlparse.c that count with an int and overflow "If either buffer exceeds INT_MAX bytes". The reporter noted that "a >2 GB unbroken name isn't realistic over a streaming XML input" but is "reachable in principle via in-memory API usage or pathological internal-entity expansion", and attached no proof of concept. The Expat Changes file lists the CVE among 13 security fixes in Expat 2.8.2, released 25 June 2026, together with five more library integer overflows (CVE-2026-56404 to CVE-2026-56408) and three in xmlwf.
Which devices are affected?
Siemens ProductCERT SSA-457936, first published 2026-10-13 and updated 2026-11-10, lists CVE-2026-56403 for the additional GNU/Linux subsystem of the SIMATIC S7-1500 CPU 1518-4 PN/DP MFP and CPU 1518F-4 PN/DP MFP (6ES7518-4AX00-1AB0, -1AC0, 6ES7518-4FX00-1AB0, -1AC0) and the SIPLUS S7-1500 CPU 1518-4 PN/DP MFP (6AG1518-4AX00-4AC0), V3.1.7 and later. It lists no fix and recommends limiting access to the subsystem's interactive shell to trusted personnel and only building and running applications from trusted sources. Siemens also scores the CVE 6.9. The same advisory lists the other 2.8.2 library overflows, CVE-2026-93990 (fixed in Expat 2.8.5) and CVE-2026-102633 (fixed in 2.9.0), among 493 CVEs for that subsystem. Older Expat CVEs for earlier firmware of the same CPU are on CVE-2024-45492 and CVE-2022-40674.
How serious is it on a device?
The overflow needs a single name longer than INT_MAX bytes (about 2 GiB) to reach the parser, and NVD rates the attack vector local with high complexity. A device that parses small XML documents from the network sits well below that size; the case to check is firmware that hands large in-memory buffers to Expat or expands internal entities. The Debian tracker records the fix in bookworm 2.5.0-1+deb12u3 (DLA-4765-1) and trixie 2.8.2-1~deb13u1 (DSA-6404-1).
CVE-2026-56403 is not in the CISA KEV catalog as of 2026-11-17 (catalog version 2026.11.13, CISA KEV). FIRST EPSS gives it 0.002, the 7.9th percentile, in its 2026-11-16 dataset (FIRST EPSS).
What fixes CVE-2026-56403?
Expat 2.8.2 or later. Because Expat shipped further security releases after 2.8.2, up to 2.10.0 on 2 November 2026, move to the current release rather than to 2.8.2 itself. Our zlib, Expat and libxml2 vulnerabilities in embedded firmware guide covers the 2.8.2 fixes, the xmlwf build option and how to find static Expat copies, and the memory corruption fix guide covers integer overflow checks in C. For a 32-bit Expat overflow with a critical NVD score, see CVE-2024-45491.
Evidence
- libexpat before 2.8.2 has an integer overflow in storeAtts; NVD Primary CVSS 3.1 6.9 AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:L; MITRE 6.9; CWE-190; published 2026-06-21. — NVD
- Pull request #1232, protect storeAtts from signed integer overflow (fixes #1229), merged 2026-05-22; second commit hardens xmlwf xcsdup. — libexpat pull request #1232
- Issue #1229: int counters in name-scanning loops overflow if a buffer exceeds INT_MAX bytes; not realistic over streaming input, reachable in principle via in-memory API usage or internal-entity expansion; no PoC. — libexpat issue #1229
- Expat 2.8.2 (25 June 2026) fixed 13 CVEs including CVE-2026-56403 to CVE-2026-56408 and three xmlwf CVEs. — Expat Changes
- S7-1500 CPU 1518(F)-4 PN/DP MFP and SIPLUS variant GNU/Linux subsystem V3.1.7 and later affected; no fix available; mitigations; Siemens CVSS 6.9; advisory v2 of 2026-11-10 lists 493 CVEs. — Siemens SSA-457936
- Debian bookworm fixed in 2.5.0-1+deb12u3 (DLA-4765-1), trixie in 2.8.2-1~deb13u1 (DSA-6404-1). — Debian Security Tracker
- Not in the CISA KEV catalog version 2026.11.13 as of 2026-11-17. — CISA KEV
- EPSS 0.00182, percentile 0.07889, dataset 2026-11-16. — FIRST EPSS

Related advisories
Sources
Frequently asked questions
Which Expat version fixes CVE-2026-56403?
Expat 2.8.2, released 25 June 2026, fixed it through pull request #1232 together with 12 other CVEs (per the Expat Changes file).
Can CVE-2026-56403 be triggered over the network?
NVD rates the attack vector local with high complexity. The overflow needs a name longer than INT_MAX bytes, which the reporter called unrealistic over streaming input but reachable in principle through in-memory API use or internal-entity expansion (per NVD and libexpat issue #1229).
Which Siemens devices are affected by CVE-2026-56403?
SSA-457936 lists the GNU/Linux subsystem of the SIMATIC S7-1500 CPU 1518-4 PN/DP MFP, CPU 1518F-4 PN/DP MFP and SIPLUS S7-1500 CPU 1518-4 PN/DP MFP, V3.1.7 and later, with no fix available (per Siemens ProductCERT).
Is CVE-2026-56403 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.002, the 7.9th percentile, in the 2026-11-16 dataset (per CISA KEV and FIRST EPSS).
Questions about this page?