CVE Catalog

CVE-2026-124317

MediumCVSS 4.8
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.25%

16th percentile - higher than 16% of all known CVEs

Summary

libexpat through 2.10.0 contains an out-of-bounds read vulnerability in unknown_toUtf8() and unknown_toUtf16() in xmltok.c when handling application-registered unknown encodings. Attackers can supply a document ending in a truncated multibyte sequence so the convert callback reads past the parse buffer, leaking adjacent memory or crashing applications.

Risk Assessment

The vulnerability can lead to disclosure of process memory data or denial of service in applications parsing untrusted XML. It affects a broad class of software relying on libexpat.

Recommendation

Upgrade libexpat to a version later than 2.10.0. Until then, avoid processing untrusted XML documents with custom encodings.

Other vulnerabilities in libexpat

See all
Original NVD description (English source)

libexpat through 2.10.0 contains an out-of-bounds read vulnerability in unknown_toUtf8() and unknown_toUtf16() in xmltok.c when handling application-registered unknown encodings. Attackers can supply a document ending in a truncated multibyte sequence so the convert callback reads past the parse buffer, leaking adjacent memory or crashing applications.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS