CVE-2026-77214libexpat Heap Buffer Over-read in xmlparse.c via XML_ParseBuffer
libexpat before commit 13c5f63 contains a heap buffer over-read vulnerability in xmlparse.c. XML_ParseBuffer advances the parse buffer end with parser->m_bufferEnd += len using a caller-supplied length that is not validated against the allocated buffer size, so repeated XML_ParseBuffer calls move m_bufferEnd past the end of the heap allocation and subsequent parsing reads out of bounds. Reaching this path requires a parse buffer to already be present; otherwise XML_ParseBuffer returns XML_ERROR_NO_BUFFER. A buffer is present after a prior call to XML_GetBuffer, either directly (the common case) or indirectly through a prior XML_Parse call that allocates the buffer internally. The over-read discloses adjacent heap memory to the calling application, recovering heap pointers, libc function pointers, and code pointers sufficient to defeat ASLR and build further exploitation primitives.
What to do
Fixed builds are available from AlmaLinux, Alpine, Debian, Red Hat, Rocky Linux: see the table below for the fixed version per release.
Red Hat, 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-77214 | |
| Ubuntu 26.10 | expat | Fix pending | UBUNTU-CVE-2026-77214 | |
| Ubuntu 26.10 | matanza | Fix pending | UBUNTU-CVE-2026-77214 | |
| Ubuntu 26.10 | swish-e | Fix pending | UBUNTU-CVE-2026-77214 | |
| Ubuntu 26.10 | tdom | Fix pending | UBUNTU-CVE-2026-77214 | |
| Ubuntu 26.10 | wbxml2 | Fix pending | UBUNTU-CVE-2026-77214 | |
| Ubuntu 26.10 | xmlrpc-c | Fix pending | UBUNTU-CVE-2026-77214 | |
| 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 | Not affected vulnerable_code_not_present | ||
| Ubuntu 26.04 | cmake | Not affected vulnerable_code_not_present | ||
| Ubuntu 26.04 | coin3 | Not affected vulnerable_code_not_present | ||
| Ubuntu 26.04 | expat | Fix pending | UBUNTU-CVE-2026-77214 | |
| 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-77214 | |
| Ubuntu 26.04 | swish-e | Fix pending | UBUNTU-CVE-2026-77214 | |
| Ubuntu 26.04 | tdom | Under investigation | UBUNTU-CVE-2026-77214 | |
| 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-77214 | |
| Ubuntu 26.04 | xmlrpc-c | Under investigation | UBUNTU-CVE-2026-77214 | |
| 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 | Not affected vulnerable_code_not_present | ||
| Ubuntu 24.04 | cmake | Not affected vulnerable_code_not_present | ||
| Ubuntu 24.04 | coin3 | Not affected vulnerable_code_not_present | ||
| Ubuntu 24.04 | expat | Fix pending | UBUNTU-CVE-2026-77214 | |
| 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-77214 | |
| 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-77214 | |
| Ubuntu 24.04 | swish-e | Fix pending | UBUNTU-CVE-2026-77214 | |
| Ubuntu 24.04 | tdom | Under investigation | UBUNTU-CVE-2026-77214 | |
| 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 | Not affected vulnerable_code_not_present | ||
| Ubuntu 24.04 | xmlrpc-c | Fix pending | UBUNTU-CVE-2026-77214 | |
| 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-77214 | |
| Ubuntu 22.04 | cmake | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | coin3 | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | expat | Fix pending | UBUNTU-CVE-2026-77214 | |
| 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 | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | libxmltok | Fix pending | UBUNTU-CVE-2026-77214 | |
| 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-77214 | |
| Ubuntu 22.04 | swish-e | Fix pending | UBUNTU-CVE-2026-77214 | |
| Ubuntu 22.04 | tdom | Under investigation | UBUNTU-CVE-2026-77214 | |
| 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 | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | xmlrpc-c | Fix pending | UBUNTU-CVE-2026-77214 | |
| Ubuntu 20.04 | cadaver | Fix pending | UBUNTU-CVE-2026-77214 | |
| Ubuntu 20.04 | expat | Fix pending | UBUNTU-CVE-2026-77214 | |
| Ubuntu 20.04 | insighttoolkit4 | Fix pending | UBUNTU-CVE-2026-77214 | |
| Ubuntu 20.04 | libxmltok | Fix pending | UBUNTU-CVE-2026-77214 | |
| Ubuntu 20.04 | matanza | Fix pending | UBUNTU-CVE-2026-77214 | |
| Ubuntu 20.04 | swish-e | Fix pending | UBUNTU-CVE-2026-77214 | |
| Ubuntu 20.04 | tdom | Fix pending | UBUNTU-CVE-2026-77214 | |
| Ubuntu 20.04 | wbxml2 | Fix pending | UBUNTU-CVE-2026-77214 | |
| Ubuntu 20.04 | xmlrpc-c | Fix pending | UBUNTU-CVE-2026-77214 | |
| Ubuntu 18.04 | cadaver | Fix pending | UBUNTU-CVE-2026-77214 | |
| Ubuntu 18.04 | coin3 | Fix pending | UBUNTU-CVE-2026-77214 | |
| Ubuntu 18.04 | expat | Fix pending | UBUNTU-CVE-2026-77214 | |
| Ubuntu 18.04 | gdcm | Fix pending | UBUNTU-CVE-2026-77214 | |
| Ubuntu 18.04 | insighttoolkit4 | Fix pending | UBUNTU-CVE-2026-77214 | |
| Ubuntu 18.04 | libxmltok | Fix pending | UBUNTU-CVE-2026-77214 | |
| Ubuntu 18.04 | matanza | Fix pending | UBUNTU-CVE-2026-77214 | |
| Ubuntu 18.04 | smart | Fix pending | UBUNTU-CVE-2026-77214 | |
| Ubuntu 18.04 | swish-e | Fix pending | UBUNTU-CVE-2026-77214 | |
| Ubuntu 18.04 | tdom | Fix pending | UBUNTU-CVE-2026-77214 | |
| Ubuntu 18.04 | vnc4 | Fix pending | UBUNTU-CVE-2026-77214 | |
| Ubuntu 18.04 | wbxml2 | Fix pending | UBUNTU-CVE-2026-77214 | |
| Ubuntu 18.04 | xmlrpc-c | Fix pending | UBUNTU-CVE-2026-77214 | |
| Ubuntu 16.04 | ayttm | Fix pending | UBUNTU-CVE-2026-77214 | |
| Ubuntu 16.04 | cableswig | Fix pending | UBUNTU-CVE-2026-77214 | |
| Ubuntu 16.04 | cadaver | Fix pending | UBUNTU-CVE-2026-77214 | |
| Ubuntu 16.04 | coin3 | Fix pending | UBUNTU-CVE-2026-77214 | |
| Ubuntu 16.04 | expat | Fix pending | UBUNTU-CVE-2026-77214 | |
| Ubuntu 16.04 | gdcm | Fix pending | UBUNTU-CVE-2026-77214 | |
| Ubuntu 16.04 | insighttoolkit4 | Fix pending | UBUNTU-CVE-2026-77214 | |
| Ubuntu 16.04 | libxmltok | Fix pending | UBUNTU-CVE-2026-77214 | |
| Ubuntu 16.04 | matanza | Fix pending | UBUNTU-CVE-2026-77214 | |
| Ubuntu 16.04 | smart | Fix pending | UBUNTU-CVE-2026-77214 | |
| Ubuntu 16.04 | swish-e | Fix pending | UBUNTU-CVE-2026-77214 | |
| Ubuntu 16.04 | tdom | Fix pending | UBUNTU-CVE-2026-77214 | |
| Ubuntu 16.04 | vnc4 | Fix pending | UBUNTU-CVE-2026-77214 | |
| Ubuntu 16.04 | vtk | Fix pending | UBUNTU-CVE-2026-77214 | |
| Ubuntu 16.04 | wbxml2 | Fix pending | UBUNTU-CVE-2026-77214 | |
| Ubuntu 16.04 | xmlrpc-c | Fix pending | UBUNTU-CVE-2026-77214 | |
| Ubuntu 14.04 | coin3 | Fix pending | UBUNTU-CVE-2026-77214 | |
| Ubuntu 14.04 | expat | Fix pending | UBUNTU-CVE-2026-77214 | |
| Ubuntu 14.04 | vnc4 | Fix pending | UBUNTU-CVE-2026-77214 | |
| Ubuntu 14.04 | vtk | Fix pending | UBUNTU-CVE-2026-77214 | |
| Ubuntu 14.04 | xmlrpc-c | Fix pending | UBUNTU-CVE-2026-77214 | |
| Debian 14 | expat | Fixed | 2.9.0-1 | DEBIAN-CVE-2026-77214 |
| Debian 13 | expat | Fixed | 2.9.0-1~deb13u1 | DEBIAN-CVE-2026-77214 |
| Debian 12 | expat | Fixed | 2.5.0-1+deb12u5 | DEBIAN-CVE-2026-77214 |
| Red Hat Enterprise Linux 10 | expat | Fixed | 0:2.7.3-2.el10_3.4 | RHSA-2026:88248 |
| Red Hat Enterprise Linux 10 | expat-devel | Fixed | 0:2.7.3-2.el10_3.4 | RHSA-2026:88248 |
| Red Hat Enterprise Linux 10 | firefox | Fixed | 0:153.5.0-1.el10_2 | RHSA-2026:89758 |
| Red Hat Enterprise Linux 10 | thunderbird | Not affected | ||
| Red Hat Enterprise Linux 9 | expat | Fixed | 0:2.5.0-6.el9_8.7 | RHSA-2026:98478 |
| Red Hat Enterprise Linux 9 | expat-devel | Fixed | 0:2.5.0-6.el9_8.7 | RHSA-2026:98478 |
| Red Hat Enterprise Linux 9 | firefox | Not affected | ||
| Red Hat Enterprise Linux 9 | firefox-x11 | Not affected | ||
| Red Hat Enterprise Linux 9 | thunderbird | Not affected | ||
| Red Hat Enterprise Linux 8 | expat | Fixed | 0:2.5.0-6.el8_10 | RHSA-2026:92323 |
| Red Hat Enterprise Linux 8 | expat-devel | Fixed | 0:2.5.0-6.el8_10 | RHSA-2026:92323 |
| Red Hat Enterprise Linux 8 | firefox | Not affected | ||
| Red Hat Enterprise Linux 8 | mingw-expat | Fixed | 0:2.5.0-7.el8_10 | RHSA-2026:102193 |
| Red Hat Enterprise Linux 8 | mingw32-expat | Fixed | 0:2.5.0-7.el8_10 | RHSA-2026:102193 |
| Red Hat Enterprise Linux 8 | mingw64-expat | Fixed | 0:2.5.0-7.el8_10 | RHSA-2026:102193 |
| Red Hat Enterprise Linux 8 | thunderbird | Not affected | ||
| Red Hat Enterprise Linux 8 | xmlrpc-c | Fix pending Affected | ||
| Red Hat Enterprise Linux 8 | xmlrpc-c-c++ | Fix pending Affected | ||
| Red Hat Enterprise Linux 8 | xmlrpc-c-client | Fix pending Affected | ||
| Red Hat Enterprise Linux 8 | xmlrpc-c-client++ | Fix pending Affected | ||
| Red Hat Enterprise Linux 8 | xmlrpc-c-devel | Fix pending Affected | ||
| Red Hat Enterprise Linux 7 | expat | Fix pending Affected | ||
| Red Hat Enterprise Linux 7 | expat-devel | Fix pending Affected | ||
| Red Hat Enterprise Linux 7 | expat-static | Fix pending Affected | ||
| Red Hat Enterprise Linux 7 | firefox | Not affected | ||
| Red Hat Enterprise Linux 6 | compat-expat1 | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 6 | expat | Fix pending Affected | ||
| Red Hat Enterprise Linux 6 | expat-devel | Fix pending Affected | ||
| AlmaLinux 10 | expat | Fixed | 2.7.3-2.el10_3.4 | ALSA-2026:88248 |
| AlmaLinux 10 | expat-devel | Fixed | 2.7.3-2.el10_3.4 | ALSA-2026:98582 |
| AlmaLinux 10 | firefox | Fixed | 153.5.0-1.el10_2 | ALSA-2026:89758 |
| AlmaLinux 9 | expat | Fixed | 2.5.0-9.el9_9.4 | ALSA-2026:88247 |
| AlmaLinux 9 | expat-devel | Fixed | 2.5.0-6.el9_8.7 | ALSA-2026:98478 |
| AlmaLinux 8 | expat | Fixed | 2.5.0-6.el8_10 | ALSA-2026:92323 |
| AlmaLinux 8 | expat-devel | Fixed | 2.5.0-6.el8_10 | ALSA-2026:92323 |
| AlmaLinux 8 | mingw32-expat | Fixed | 2.5.0-7.el8_10 | ALSA-2026:102193 |
| AlmaLinux 8 | mingw64-expat | Fixed | 2.5.0-7.el8_10 | ALSA-2026:102193 |
| Rocky Linux 10 | expat | Fixed | 0:2.7.3-2.el10_3.4 | RLSA-2026:98582 |
| Rocky Linux 10 | expat-devel | Fixed | 0:2.7.3-2.el10_3.4 | RLSA-2026:98582 |
| Rocky Linux 10 | firefox | Fixed | 0:153.5.0-1.el10_2 | RLSA-2026:89758 |
| Rocky Linux 9 | expat | Fixed | 0:2.5.0-6.el9_8.7 | RLSA-2026:98478 |
| Rocky Linux 9 | expat-devel | Fixed | 0:2.5.0-9.el9_9.4 | RLSA-2026:98478 |
| Rocky Linux 8 | expat | Fixed | 0:2.5.0-6.el8_10 | RLSA-2026:92323 |
| Rocky Linux 8 | mingw32-expat | Fixed | 0:2.5.0-7.el8_10 | RLSA-2026:102193 |
| Rocky Linux 8 | mingw64-expat | Fixed | 0:2.5.0-7.el8_10 | RLSA-2026:102193 |
| Alpine Linux 3.24 | expat | Fixed | 2.9.0-r0 | ALPINE-CVE-2026-77214 |
| Alpine Linux 3.23 | expat | Fixed | 2.9.0-r0 | ALPINE-CVE-2026-77214 |
| Alpine Linux 3.22 | expat | Fixed | 2.9.0-r0 | ALPINE-CVE-2026-77214 |
| Alpine Linux 3.21 | expat | Fixed | 2.9.0-r0 | ALPINE-CVE-2026-77214 |
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.8.5, 13c5f63a7f1c52c2feee3b16a1134d4fb68e9ea0 not affected
Vendor advisories:
- https://github.com/libexpat/libexpat/pull/1393 (patch)
- https://github.com/libexpat/libexpat/commit/13c5f63a7f1c52c2feee3b16a1134d4fb68e9ea0 (patch)
References
- https://github.com/libexpat/libexpat/pull/1393
- https://github.com/libexpat/libexpat/commit/13c5f63a7f1c52c2feee3b16a1134d4fb68e9ea0
- https://www.vulncheck.com/advisories/libexpat-heap-buffer-over-read-in-xmlparse-c-via-xml-parsebuffer
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.