CVE-2026-124317
libexpat through 2.10.0 contains an out-of-bounds read …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/libexpat/libexpat
- github.com/libexpat/libexpat/blob/a70841d9ffa64ddde29ab824ed6305035ebe4c47/expat/lib/xmlto
- github.com/libexpat/libexpat/pull/1492
- www.vulncheck.com/advisories/libexpat-through-2.10.0-out-of-bounds-read-via-unknown-toutf8
- nvd.nist.gov/vuln/detail/CVE-2026-124317
- cve.org/CVERecord?id=CVE-2026-124317
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.