CVE-2026-124317 libexpat through 2.10.0 Out-of-Bounds Read via unknown_toUtf8 and unknown_toUtf16

Medium 6.3 Published Updated
Exploited in the wild
Not known
Fix
Available

What is CVE-2026-124317?

CVE-2026-124317 is a medium-severity vulnerability in libexpat, published on 7 Nov 2026.

Official description

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.

Weakness: CWE-126

Which versions are affected by CVE-2026-124317?

How do I fix CVE-2026-124317?

Upgrade to a fixed version.

Is CVE-2026-124317 being exploited?

There is no known exploitation of CVE-2026-124317 in the wild and no public exploit code.

Sources

Also known as AZL-112841, AZL-113119, AZL-113248, DEBIAN-CVE-2026-124317, ECHO-1c7a-4e4f-0368, GHSA-wm22-jw4m-rfcf and 1 more.

Is CVE-2026-124317 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free