CVE-2026-124317libexpat through 2.10.0 Out-of-Bounds Read via unknown_toUtf8 and unknown_toUtf16
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
Fixed builds are available from Alpine, Ubuntu: see the table below for the fixed version per release.
Debian, Ubuntu have not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | cadaver | Fix pending | UBUNTU-CVE-2026-124317 | |
| Ubuntu 26.10 | expat | Fix pending | UBUNTU-CVE-2026-124317 | |
| Ubuntu 26.10 | matanza | Fix pending | UBUNTU-CVE-2026-124317 | |
| Ubuntu 26.10 | swish-e | Fix pending | UBUNTU-CVE-2026-124317 | |
| Ubuntu 26.10 | tdom | Fix pending | UBUNTU-CVE-2026-124317 | |
| Ubuntu 26.10 | wbxml2 | Fix pending | UBUNTU-CVE-2026-124317 | |
| Ubuntu 26.10 | xmlrpc-c | Fix pending | UBUNTU-CVE-2026-124317 | |
| Ubuntu 26.04 | apache2 | Not affected vulnerable_code_not_present | ||
| Ubuntu 26.04 | apr-util | Not affected vulnerable_code_not_present | ||
| Ubuntu 26.04 | cadaver | Under investigation | UBUNTU-CVE-2026-124317 | |
| Ubuntu 26.04 | cmake | Not affected vulnerable_code_not_present | ||
| Ubuntu 26.04 | coin3 | Not affected vulnerable_code_not_present | ||
| Ubuntu 26.04 | expat | Fixed | 2.7.4-1ubuntu0.3 | UBUNTU-CVE-2026-124317 |
| Ubuntu 26.04 | firefox | Not affected vulnerable_code_not_present | ||
| Ubuntu 26.04 | gdcm | Not affected vulnerable_code_not_present | ||
| Ubuntu 26.04 | ghostscript | Not affected vulnerable_code_not_present | ||
| Ubuntu 26.04 | matanza | Will not fix paraview uses system expat xotcl uses system expat poco uses system expat gdcm uses system expat audacity uses system expat simgear uses system expat coin3… | UBUNTU-CVE-2026-124317 | |
| Ubuntu 26.04 | swish-e | Fix pending | UBUNTU-CVE-2026-124317 | |
| Ubuntu 26.04 | tdom | Under investigation | UBUNTU-CVE-2026-124317 | |
| Ubuntu 26.04 | texlive-bin | Not affected vulnerable_code_not_present | ||
| Ubuntu 26.04 | thunderbird | Not affected vulnerable_code_not_present | ||
| Ubuntu 26.04 | wbxml2 | Under investigation | UBUNTU-CVE-2026-124317 | |
| Ubuntu 26.04 | xmlrpc-c | Under investigation | UBUNTU-CVE-2026-124317 | |
| Ubuntu 24.04 | apache2 | Not affected vulnerable_code_not_present | ||
| Ubuntu 24.04 | apr-util | Not affected vulnerable_code_not_present | ||
| Ubuntu 24.04 | cadaver | Under investigation | UBUNTU-CVE-2026-124317 | |
| Ubuntu 24.04 | cmake | Not affected vulnerable_code_not_present | ||
| Ubuntu 24.04 | coin3 | Not affected vulnerable_code_not_present | ||
| Ubuntu 24.04 | expat | Fixed | 2.6.1-2ubuntu0.7 | UBUNTU-CVE-2026-124317 |
| Ubuntu 24.04 | firefox | Not affected vulnerable_code_not_present | ||
| Ubuntu 24.04 | gdcm | Not affected vulnerable_code_not_present | ||
| Ubuntu 24.04 | ghostscript | Not affected vulnerable_code_not_present | ||
| Ubuntu 24.04 | libxmltok | Fix pending | UBUNTU-CVE-2026-124317 | |
| Ubuntu 24.04 | matanza | Will not fix paraview uses system expat xotcl uses system expat poco uses system expat gdcm uses system expat audacity uses system expat simgear uses system expat coin3… | UBUNTU-CVE-2026-124317 | |
| Ubuntu 24.04 | swish-e | Fix pending | UBUNTU-CVE-2026-124317 | |
| Ubuntu 24.04 | tdom | Under investigation | UBUNTU-CVE-2026-124317 | |
| Ubuntu 24.04 | texlive-bin | Not affected vulnerable_code_not_present | ||
| Ubuntu 24.04 | thunderbird | Not affected vulnerable_code_not_present | ||
| Ubuntu 24.04 | wbxml2 | Under investigation | UBUNTU-CVE-2026-124317 | |
| Ubuntu 24.04 | xmlrpc-c | Fix pending | UBUNTU-CVE-2026-124317 | |
| Ubuntu 22.04 | apache2 | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | apr-util | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | cadaver | Under investigation | UBUNTU-CVE-2026-124317 | |
| Ubuntu 22.04 | cmake | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | coin3 | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | expat | Fixed | 2.4.7-1ubuntu0.10 | UBUNTU-CVE-2026-124317 |
| Ubuntu 22.04 | firefox | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | gdcm | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | ghostscript | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | insighttoolkit4 | Under investigation | UBUNTU-CVE-2026-124317 | |
| Ubuntu 22.04 | libxmltok | Fix pending | UBUNTU-CVE-2026-124317 | |
| Ubuntu 22.04 | matanza | Will not fix paraview uses system expat xotcl uses system expat poco uses system expat gdcm uses system expat audacity uses system expat simgear uses system expat coin3… | UBUNTU-CVE-2026-124317 | |
| Ubuntu 22.04 | swish-e | Fix pending | UBUNTU-CVE-2026-124317 | |
| Ubuntu 22.04 | tdom | Under investigation | UBUNTU-CVE-2026-124317 | |
| Ubuntu 22.04 | texlive-bin | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | thunderbird | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | wbxml2 | Under investigation | UBUNTU-CVE-2026-124317 | |
| Ubuntu 22.04 | xmlrpc-c | Fix pending | UBUNTU-CVE-2026-124317 | |
| Ubuntu 20.04 | cadaver | Fix pending | UBUNTU-CVE-2026-124317 | |
| Ubuntu 20.04 | expat | Fix pending | UBUNTU-CVE-2026-124317 | |
| Ubuntu 20.04 | insighttoolkit4 | Fix pending | UBUNTU-CVE-2026-124317 | |
| Ubuntu 20.04 | libxmltok | Fix pending | UBUNTU-CVE-2026-124317 | |
| Ubuntu 20.04 | matanza | Fix pending | UBUNTU-CVE-2026-124317 | |
| Ubuntu 20.04 | swish-e | Fix pending | UBUNTU-CVE-2026-124317 | |
| Ubuntu 20.04 | tdom | Fix pending | UBUNTU-CVE-2026-124317 | |
| Ubuntu 20.04 | wbxml2 | Fix pending | UBUNTU-CVE-2026-124317 | |
| Ubuntu 20.04 | xmlrpc-c | Fix pending | UBUNTU-CVE-2026-124317 | |
| Ubuntu 18.04 | cadaver | Fix pending | UBUNTU-CVE-2026-124317 | |
| Ubuntu 18.04 | coin3 | Fix pending | UBUNTU-CVE-2026-124317 | |
| Ubuntu 18.04 | expat | Fix pending | UBUNTU-CVE-2026-124317 | |
| Ubuntu 18.04 | gdcm | Fix pending | UBUNTU-CVE-2026-124317 | |
| Ubuntu 18.04 | insighttoolkit4 | Fix pending | UBUNTU-CVE-2026-124317 | |
| Ubuntu 18.04 | libxmltok | Fix pending | UBUNTU-CVE-2026-124317 | |
| Ubuntu 18.04 | matanza | Fix pending | UBUNTU-CVE-2026-124317 | |
| Ubuntu 18.04 | smart | Fix pending | UBUNTU-CVE-2026-124317 | |
| Ubuntu 18.04 | swish-e | Fix pending | UBUNTU-CVE-2026-124317 | |
| Ubuntu 18.04 | tdom | Fix pending | UBUNTU-CVE-2026-124317 | |
| Ubuntu 18.04 | vnc4 | Fix pending | UBUNTU-CVE-2026-124317 | |
| Ubuntu 18.04 | wbxml2 | Fix pending | UBUNTU-CVE-2026-124317 | |
| Ubuntu 18.04 | xmlrpc-c | Fix pending | UBUNTU-CVE-2026-124317 | |
| Ubuntu 16.04 | ayttm | Fix pending | UBUNTU-CVE-2026-124317 | |
| Ubuntu 16.04 | cableswig | Fix pending | UBUNTU-CVE-2026-124317 | |
| Ubuntu 16.04 | cadaver | Fix pending | UBUNTU-CVE-2026-124317 | |
| Ubuntu 16.04 | coin3 | Fix pending | UBUNTU-CVE-2026-124317 | |
| Ubuntu 16.04 | expat | Fix pending | UBUNTU-CVE-2026-124317 | |
| Ubuntu 16.04 | gdcm | Fix pending | UBUNTU-CVE-2026-124317 | |
| Ubuntu 16.04 | insighttoolkit4 | Fix pending | UBUNTU-CVE-2026-124317 | |
| Ubuntu 16.04 | libxmltok | Fix pending | UBUNTU-CVE-2026-124317 | |
| Ubuntu 16.04 | matanza | Fix pending | UBUNTU-CVE-2026-124317 | |
| Ubuntu 16.04 | smart | Fix pending | UBUNTU-CVE-2026-124317 | |
| Ubuntu 16.04 | swish-e | Fix pending | UBUNTU-CVE-2026-124317 | |
| Ubuntu 16.04 | tdom | Fix pending | UBUNTU-CVE-2026-124317 | |
| Ubuntu 16.04 | vnc4 | Fix pending | UBUNTU-CVE-2026-124317 | |
| Ubuntu 16.04 | vtk | Fix pending | UBUNTU-CVE-2026-124317 | |
| Ubuntu 16.04 | wbxml2 | Fix pending | UBUNTU-CVE-2026-124317 | |
| Ubuntu 16.04 | xmlrpc-c | Fix pending | UBUNTU-CVE-2026-124317 | |
| Ubuntu 14.04 | coin3 | Fix pending | UBUNTU-CVE-2026-124317 | |
| Ubuntu 14.04 | expat | Fix pending | UBUNTU-CVE-2026-124317 | |
| Ubuntu 14.04 | vnc4 | Fix pending | UBUNTU-CVE-2026-124317 | |
| Ubuntu 14.04 | vtk | Fix pending | UBUNTU-CVE-2026-124317 | |
| Ubuntu 14.04 | xmlrpc-c | Fix pending | UBUNTU-CVE-2026-124317 | |
| Debian 14 | expat | Fix pending | DEBIAN-CVE-2026-124317 | |
| Debian 13 | expat | Fix pending | DEBIAN-CVE-2026-124317 | |
| Debian 12 | expat | Fix pending | DEBIAN-CVE-2026-124317 | |
| Alpine Linux 3.24 | expat | Fixed | 2.11.0-r0 | ALPINE-CVE-2026-124317 |
| Alpine Linux 3.23 | expat | Fixed | 2.11.0-r0 | ALPINE-CVE-2026-124317 |
| Alpine Linux 3.22 | expat | Fixed | 2.11.0-r0 | ALPINE-CVE-2026-124317 |
| Alpine Linux 3.21 | expat | Fixed | 2.11.0-r0 | ALPINE-CVE-2026-124317 |
What the vendor says
As published in the CVE record by VulnCheck, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- libexpat: affected: up to 2.10.0
Vendor advisories:
References
- https://github.com/libexpat/libexpat/pull/1492
- https://github.com/libexpat/libexpat/blob/a70841d9ffa64ddde29ab824ed6305035ebe4c47/expat/lib/xmltok.c#L1274-L1322
- https://github.com/libexpat/libexpat
- https://www.vulncheck.com/advisories/libexpat-through-2.10.0-out-of-bounds-read-via-unknown-toutf8-and-unknown-toutf16
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.