CVE-2026-24515: libexpat 2.7.4 fixes CVE-2026-24515 and CVE-2026-25210
In libexpat before 2.7.4, XMLExternalEntityParserCreate does not copy unknown encoding handler user data.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
debian/expatto a version that resolves this vulnerability.Fixed in 2.5.0-1+deb12u4 - Upgrade
Upgrade
debian/expatto a version that resolves this vulnerability.Fixed in 2.8.2-1~deb13u1 - Upgrade
Upgrade
debian/expatto a version that resolves this vulnerability.Fixed in 2.7.3-2 - Upgrade
Upgrade
debian/expatto a version that resolves this vulnerability.Fixed in 2.5.0-1+deb12u4Fixed in 2.8.2-1~deb13u1Fixed in 2.7.3-2 - Upgrade
Upgrade
ubuntu/expatto a version that resolves this vulnerability.Fixed in 2.1.0-4ubuntu1.4+esm11 - Upgrade
Upgrade
ubuntu/expatto a version that resolves this vulnerability.Fixed in 2.1.0-7ubuntu0.16.04.5+esm11 - Upgrade
Upgrade
ubuntu/libxmltokto a version that resolves this vulnerability.Fixed in 1.2-3ubuntu0.16.04.1~esm5 - Upgrade
Upgrade
ubuntu/expatto a version that resolves this vulnerability.Fixed in 2.2.5-3ubuntu0.9+esm3 - Upgrade
Upgrade
ubuntu/libxmltokto a version that resolves this vulnerability.Fixed in 1.2-4ubuntu0.18.04.1~esm6 - Upgrade
Upgrade
ubuntu/expatto a version that resolves this vulnerability.Fixed in 2.2.9-1ubuntu0.8+esm1 - Upgrade
Upgrade
ubuntu/libxmltokto a version that resolves this vulnerability.Fixed in 1.2-4ubuntu0.20.04.1~esm6 - Upgrade
Upgrade
ubuntu/expatto a version that resolves this vulnerability.Fixed in 2.4.7-1ubuntu0.7 - Upgrade
Upgrade
ubuntu/libxmltokto a version that resolves this vulnerability.Fixed in 1.2-4ubuntu0.22.04.1~esm6 - Upgrade
Upgrade
ubuntu/expatto a version that resolves this vulnerability.Fixed in 2.6.1-2ubuntu0.4 - Upgrade
Upgrade
ubuntu/libxmltokto a version that resolves this vulnerability.Fixed in 1.2-4.1ubuntu2.24.0.4.1+esm4 - Upgrade
Upgrade
ubuntu/expatto a version that resolves this vulnerability.Fixed in 2.7.1-2ubuntu0.2 - Upgrade
Upgrade
libexpatto a version that resolves this vulnerability.Fixed in 2.7.4 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Patch CVE-2026-24515 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Patch CVE-2026-25210
Event History
Frequently Asked Questions
What is the severity of CVE-2026-24515?
The severity of CVE-2026-24515 is considered moderate due to the potential for unexpected behavior during XML parsing.
How do I fix CVE-2026-24515?
To fix CVE-2026-24515, upgrade to libexpat version 2.7.4 or later where the vulnerability has been addressed.
What software is affected by CVE-2026-24515?
CVE-2026-24515 affects all versions of libexpat prior to 2.7.4.
What are the potential risks of CVE-2026-24515?
The risks of CVE-2026-24515 include the possibility of creating security vulnerabilities if unknown encoding handlers are mismanaged.
Does CVE-2026-24515 affect XML parsing security?
Yes, CVE-2026-24515 can affect XML parsing security due to improper handling of external entities in the parser.