Skip to content

CVE-2026-77214 libexpat Heap Buffer Over-read in xmlparse.c via XML_ParseBuffer

HighCVSS 8.3 EPSS 0.33%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: yes · technical impact: partial
Technology
UbuntuDebianRed Hat

Description

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.

Upgrade path

65 packages: 18 fixed, 47 with no fix yet.

PackageAffectedFixed inStatus
redhat/compat-expat1(Red Hat rhel_els 6) All versions No fix listed No fix yet
redhat/costmanagement/costmanagement-ui-rhel10:1793825318(Red Hat cost_management_on_premise 1 el10) All versions No fix listed No fix yet
redhat/discovery/discovery-server-rhel9:1793734080(Red Hat discovery 2 el9) All versions No fix listed No fix yet
redhat/discovery/discovery-ui-rhel9:1793733716(Red Hat discovery 2 el9) All versions No fix listed No fix yet
redhat/expat(Red Hat rhel_els 6) All versions No fix listed No fix yet
redhat/expat(Red Hat rhel_els 7) All versions No fix listed No fix yet
redhat/mingw-expat(Red Hat enterprise_linux 8) All versions No fix listed No fix yet
redhat/openshift/ose-rhel-coreos-8(Red Hat openshift 4) All versions No fix listed No fix yet
redhat/rhui5/cds-kubernetes-rhel9:1793005771(Red Hat rhui 5 el9) All versions No fix listed No fix yet
redhat/rhui5/cds-rhel9:1793005764(Red Hat rhui 5 el9) All versions No fix listed No fix yet
redhat/rhui5/haproxy-rhel9:1793004999(Red Hat rhui 5 el9) All versions No fix listed No fix yet
redhat/rhui5/installer-rhel9:1793004989(Red Hat rhui 5 el9) All versions No fix listed No fix yet
redhat/rhui5/rhua-rhel9:1793005812(Red Hat rhui 5 el9) All versions No fix listed No fix yet
redhat/xmlrpc-c(Red Hat enterprise_linux 8) All versions No fix listed No fix yet
Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AB0) >= V3.1.7 No fix listed No fix yet
Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AC0) >= V3.1.7 No fix listed No fix yet
Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AB0) >= V3.1.7 No fix listed No fix yet
Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AC0) >= V3.1.7 No fix listed No fix yet
Siemens SIPLUS S7-1500 CPU 1518-4 PN/DP MFP (6AG1518-4AX00-4AC0) >= V3.1.7 No fix listed No fix yet
ubuntu/cadaver(Ubuntu 22.04) All versions No fix listed No fix yet
ubuntu/cadaver(Ubuntu 26.10) All versions No fix listed No fix yet
ubuntu/expat(Ubuntu 22.04) All versions No fix listed No fix yet
ubuntu/expat(Ubuntu 24.04) All versions No fix listed No fix yet
ubuntu/expat(Ubuntu 26.04) All versions No fix listed No fix yet
ubuntu/expat(Ubuntu 26.10) All versions No fix listed No fix yet
ubuntu/insighttoolkit4(Ubuntu 22.04) All versions No fix listed No fix yet
ubuntu/libxmltok(Ubuntu 22.04) All versions No fix listed No fix yet
ubuntu/libxmltok(Ubuntu 24.04) All versions No fix listed No fix yet
ubuntu/matanza(Ubuntu 22.04) All versions No fix listed No fix yet
ubuntu/matanza(Ubuntu 24.04) All versions No fix listed No fix yet

… and 35 more packages.

Affected products

ProductAffected versionsFixed in
libexpat/libexpat <= 2.8.5 No fix listed
Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AB0) >= V3.1.7 No fix listed
Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AC0) >= V3.1.7 No fix listed
Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AB0) >= V3.1.7 No fix listed
Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AC0) >= V3.1.7 No fix listed
Siemens SIPLUS S7-1500 CPU 1518-4 PN/DP MFP (6AG1518-4AX00-4AC0) >= V3.1.7 No fix listed
redhat/expat(Red Hat:enterprise_linux:10.2) < 2.7.3-1.el10_2.7 2.7.3-1.el10_2.7
redhat/firefox(Red Hat:enterprise_linux:10.2) < 153.5.0-1.el10_2 153.5.0-1.el10_2
redhat/expat(Red Hat:enterprise_linux:10.3) < 2.7.3-2.el10_3.4 2.7.3-2.el10_3.4
redhat/expat(Red Hat:enterprise_linux:8) < 2.5.0-6.el8_10 2.5.0-6.el8_10
redhat/expat(Red Hat:enterprise_linux:9) < 2.5.0-6.el9_8.7 2.5.0-6.el9_8.7
redhat/openshift/ose-rhel-coreos(Red Hat:openshift:4.22::el9) < 9:4.22.9.8.202611032353-0 9:4.22.9.8.202611032353-0
redhat/openshift/ose-rhel-coreos(Red Hat:openshift:5.0::el9) < 9:5.0.10.2.202611022203-0 9:5.0.10.2.202611022203-0
redhat/costmanagement/costmanagement-ui-rhel10:1793825318(Red Hat:cost_management_on_premise:1::el10) All versions No fix listed
redhat/discovery/discovery-server-rhel9:1793734080(Red Hat:discovery:2::el9) All versions No fix listed
redhat/discovery/discovery-ui-rhel9:1793733716(Red Hat:discovery:2::el9) All versions No fix listed
redhat/expat-main(Red Hat:hummingbird:1) < 2.8.5-1.2.hum1 2.8.5-1.2.hum1
redhat/expat-main(Red Hat:hummingbird:1) < 2.9.0-1.hum1 2.9.0-1.hum1
redhat/rhui5/cds-kubernetes-rhel9:1793005771(Red Hat:rhui:5::el9) All versions No fix listed
redhat/rhui5/cds-rhel9:1793005764(Red Hat:rhui:5::el9) All versions No fix listed
redhat/rhui5/haproxy-rhel9:1793004999(Red Hat:rhui:5::el9) All versions No fix listed
redhat/rhui5/installer-rhel9:1793004989(Red Hat:rhui:5::el9) All versions No fix listed
redhat/rhui5/rhua-rhel9:1793005812(Red Hat:rhui:5::el9) All versions No fix listed
redhat/compat-expat1(Red Hat:rhel_els:6) All versions No fix listed
redhat/expat(Red Hat:rhel_els:6) All versions No fix listed
Show 81 more
ProductAffected versionsFixed in
redhat/expat(Red Hat:rhel_els:7) All versions No fix listed
redhat/mingw-expat(Red Hat:enterprise_linux:8) All versions No fix listed
redhat/xmlrpc-c(Red Hat:enterprise_linux:8) All versions No fix listed
redhat/openshift/ose-rhel-coreos-8(Red Hat:openshift:4) All versions No fix listed
debian/expat(Debian:12) < 2.5.0-1+deb12u5 2.5.0-1+deb12u5
debian/expat(Debian:12) = 2.5.0-1 No fix listed
debian/expat(Debian:12) = 2.5.0-1+deb12u1 No fix listed
debian/expat(Debian:12) = 2.5.0-1+deb12u2 No fix listed
debian/expat(Debian:12) = 2.5.0-1+deb12u3 No fix listed
debian/expat(Debian:12) = 2.5.0-1+deb12u4 No fix listed
debian/expat(Debian:13) < 2.9.0-1~deb13u1 2.9.0-1~deb13u1
debian/expat(Debian:13) = 2.7.1-2 No fix listed
debian/expat(Debian:13) = 2.7.2-1 No fix listed
debian/expat(Debian:13) = 2.7.3-1 No fix listed
debian/expat(Debian:13) = 2.7.3-2 No fix listed
debian/expat(Debian:13) = 2.7.4-1 No fix listed
debian/expat(Debian:13) = 2.7.5-1 No fix listed
debian/expat(Debian:13) = 2.8.0-1 No fix listed
debian/expat(Debian:13) = 2.8.0-2 No fix listed
debian/expat(Debian:13) = 2.8.1-1 No fix listed
debian/expat(Debian:13) = 2.8.2-1 No fix listed
debian/expat(Debian:13) = 2.8.2-1~deb13u1 No fix listed
debian/expat(Debian:13) = 2.8.3-1 No fix listed
debian/expat(Debian:13) = 2.8.3-1~deb13u1 No fix listed
debian/expat(Debian:13) = 2.8.4-1 No fix listed
debian/expat(Debian:13) = 2.8.4-2 No fix listed
debian/expat(Debian:13) = 2.8.5-1 No fix listed
debian/expat(Debian:13) = 2.8.5-2 No fix listed
debian/expat(Debian:14) < 2.9.0-1 2.9.0-1
debian/expat(Debian:14) = 2.7.1-2 No fix listed
debian/expat(Debian:14) = 2.7.2-1 No fix listed
debian/expat(Debian:14) = 2.7.3-1 No fix listed
debian/expat(Debian:14) = 2.7.3-2 No fix listed
debian/expat(Debian:14) = 2.7.4-1 No fix listed
debian/expat(Debian:14) = 2.7.5-1 No fix listed
debian/expat(Debian:14) = 2.8.0-1 No fix listed
debian/expat(Debian:14) = 2.8.0-2 No fix listed
debian/expat(Debian:14) = 2.8.1-1 No fix listed
debian/expat(Debian:14) = 2.8.2-1 No fix listed
debian/expat(Debian:14) = 2.8.2-1~deb13u1 No fix listed
debian/expat(Debian:14) = 2.8.3-1 No fix listed
debian/expat(Debian:14) = 2.8.3-1~deb13u1 No fix listed
debian/expat(Debian:14) = 2.8.4-1 No fix listed
debian/expat(Debian:14) = 2.8.4-2 No fix listed
debian/expat(Debian:14) = 2.8.5-1 No fix listed
debian/expat(Debian:14) = 2.8.5-2 No fix listed
debian/expat(Debian:14) = 2.9.0-1~deb13u1 No fix listed
ubuntu/cadaver(Ubuntu:22.04) All versions No fix listed
ubuntu/expat(Ubuntu:22.04) All versions No fix listed
ubuntu/insighttoolkit4(Ubuntu:22.04) All versions No fix listed
ubuntu/matanza(Ubuntu:22.04) All versions No fix listed
ubuntu/tdom(Ubuntu:22.04) All versions No fix listed
ubuntu/wbxml2(Ubuntu:22.04) All versions No fix listed
ubuntu/libxmltok(Ubuntu:22.04) All versions No fix listed
ubuntu/swish-e(Ubuntu:22.04) All versions No fix listed
ubuntu/xmlrpc-c(Ubuntu:22.04) All versions No fix listed
alpine/expat(Alpine:v3.21) < 2.9.0-r0 2.9.0-r0
alpine/expat(Alpine:v3.22) < 2.9.0-r0 2.9.0-r0
alpine/expat(Alpine:v3.23) < 2.9.0-r0 2.9.0-r0
alpine/expat(Alpine:v3.24) < 2.9.0-r0 2.9.0-r0
ubuntu/cadaver(Ubuntu:26.10) All versions No fix listed
ubuntu/expat(Ubuntu:26.10) All versions No fix listed
ubuntu/matanza(Ubuntu:26.10) All versions No fix listed
ubuntu/swish-e(Ubuntu:26.10) All versions No fix listed
ubuntu/tdom(Ubuntu:26.10) All versions No fix listed
ubuntu/wbxml2(Ubuntu:26.10) All versions No fix listed
ubuntu/xmlrpc-c(Ubuntu:26.10) All versions No fix listed
ubuntu/expat(Ubuntu:26.04) All versions No fix listed
ubuntu/matanza(Ubuntu:26.04) All versions No fix listed
ubuntu/tdom(Ubuntu:26.04) All versions No fix listed
ubuntu/wbxml2(Ubuntu:26.04) All versions No fix listed
ubuntu/xmlrpc-c(Ubuntu:26.04) All versions No fix listed
ubuntu/swish-e(Ubuntu:26.04) All versions No fix listed
ubuntu/expat(Ubuntu:24.04) All versions No fix listed
ubuntu/matanza(Ubuntu:24.04) All versions No fix listed
ubuntu/tdom(Ubuntu:24.04) All versions No fix listed
ubuntu/libxmltok(Ubuntu:24.04) All versions No fix listed
ubuntu/swish-e(Ubuntu:24.04) All versions No fix listed
ubuntu/xmlrpc-c(Ubuntu:24.04) All versions No fix listed
azure linux expat(Azure Linux:3.0) < 2.9.0-1 2.9.0-1
azure linux expat(Azure Linux:4.0) < 0:2.9.0-2.azl4 0:2.9.0-2.azl4

References