Out-of-bounds read in expat - CVE-2026-124317

 

Out-of-bounds read in expat - CVE-2026-124317

Published: November 26, 2026


Vulnerability identifier: #VU170579
CSH Severity: Medium
CVSS v4: 8.7 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2026-124317
CWE-ID: CWE-125
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to potentially crash an application that uses Expat to parse untrusted XML.

The vulnerability exists due to an out-of-bounds read in Expat's unknown encoding decoder when decoding XML input. A remote attacker can supply XML input that causes the decoder to read beyond the buffer boundary and potentially crash the application.


Affected software

expat
openEuler
expat
expat-debuginfo
expat-debugsource
expat-devel
expat-help

How to mitigate CVE-2026-124317

Install security update from vendor's website.

expat - update to 2.11.0
expat - addressed in versions 2.4.1-35, 2.5.0-31, 2.5.0-33, 2.8.1-13
expat-debuginfo - addressed in versions 2.4.1-35, 2.5.0-31, 2.5.0-33, 2.8.1-13
expat-debugsource - addressed in versions 2.4.1-35, 2.5.0-31, 2.5.0-33, 2.8.1-13
expat-devel - addressed in versions 2.4.1-35, 2.5.0-31, 2.5.0-33, 2.8.1-13
expat-help - addressed in versions 2.4.1-35, 2.5.0-31, 2.5.0-33, 2.8.1-13

External References

Related Security Bulletins