cve.bz

CVE-2026-50219 libexpat project libexpat: Use After Free

5.9 mediumEPSS 0.2%Fix available

Medium (5.9) in libexpat project libexpat. EPSS 0.2% estimated probability of exploitation activity in the next 30 days.

On this page
libexpat before 2.8.2 lacks handler call depth tracking for calls to XML_GetBuffer, XML_Parse, XML_ParseBuffer, XML_ParserFree, or XML_ParserReset from within handlers in cases of a policy violation. Thus, a use-after-free can occur,

Severity

CVSS 3.1

5.9 medium
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
EPSS
0.2% (unchanged from 0.2% a week ago; 0.2% 30 days ago) estimated probability of exploitation activity in the next 30 days; 9th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2026-06-04. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-416 Use After Free
Published
Modified
Assigned by
mitre (CNA)
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-50219 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-50219?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-50219?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-50219 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
libexpat project libexpatbefore 2.8.2

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12expat2.5.0-1+deb12u3DEBIAN-CVE-2026-50219 DLA-4765-1
Debian13expat2.8.2-1~deb13u1DEBIAN-CVE-2026-50219 DSA-6404-1
Debian14expat2.8.2-1DEBIAN-CVE-2026-50219
Ubuntu16.04:LTSgdcm, tdom, smart and 4 moreno fix listedUBUNTU-CVE-2026-50219
Ubuntu18.04:LTSgdcm, tdom, vnc4 and 5 moreno fix listedUBUNTU-CVE-2026-50219
Ubuntu20.04:LTStdom, wbxml2, cadaver and 2 moreno fix listedUBUNTU-CVE-2026-50219
Ubuntu22.04:LTSexpat2.4.7-1ubuntu0.8UBUNTU-CVE-2026-50219 USN-8790-1
Ubuntu22.04:LTStdom, cadaver, matanza and 2 moreno fix listedUBUNTU-CVE-2026-50219
Ubuntu24.04:LTSexpat2.6.1-2ubuntu0.5UBUNTU-CVE-2026-50219 USN-8790-1
Ubuntu24.04:LTStdom, matanza, libxmltokno fix listedUBUNTU-CVE-2026-50219
Ubuntu25.10tdom, expat, wbxml2 and 4 moreno fix listedUBUNTU-CVE-2026-50219
Ubuntu26.04:LTSexpat2.7.4-1ubuntu0.1UBUNTU-CVE-2026-50219 USN-8790-1
Ubuntu26.04:LTStdom, wbxml2, matanza and 1 moreno fix listedUBUNTU-CVE-2026-50219
Ubuntu26.10tdom, wbxml2, cadaver and 3 moreno fix listedUBUNTU-CVE-2026-50219
UbuntuPro:14.04:LTSexpat2.1.0-4ubuntu1.4+esm12UBUNTU-CVE-2026-50219 USN-8790-1
9 more for Ubuntu in the JSON and on Ubuntu's page.
Red Hatenterprise_linux:8::baseosexpat, expat-devel, expat-debuginfo and 1 more0:2.5.0-2.el8_10.2RHSA-2026:64809
Red Hatenterprise_linux:9::appstreamexpat-devel, expat-debuginfo, expat-debugsource0:2.5.0-6.el9_8.3RHSA-2026:64812
Red Hatenterprise_linux:9::baseosexpat, expat-debuginfo, expat-debugsource0:2.5.0-6.el9_8.3RHSA-2026:64812
Red Hatenterprise_linux:10.2expat, expat-devel, expat-debuginfo and 1 more0:2.7.3-1.el10_2.3RHSA-2026:64810
Red Hathummingbird:1expat, expat-devel, expat-static0:2.8.2-1.hum1RHSA-2026:30647
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise High Performance Computing 15 SP5-ESPOS and 10 moreexpat2.8.5-150400.3.40.1SUSE-SU-2026:4623-1
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise High Performance Computing 15 SP5-ESPOS and 8 moreMozillaFirefox153.5.0-150400.157.16.1SUSE-SU-2026:4834-1
SUSELinux Enterprise Module for Basesystem 15 SP7expat2.8.5-150700.3.15.1SUSE-SU-2026:4619-1
SUSELinux Enterprise Module for Package Hub 15 SP7, Linux Enterprise Workstation Extension 15 SP7MozillaThunderbird153.5.0-150400.13.9.1SUSE-SU-2026:4736-1
SUSELinux Enterprise Server 12 SP5-LTSS, Linux Enterprise Server LTSS Extended Security 12 SP5MozillaFirefox153.5.0-118.16.2SUSE-SU-2026:4806-1
SUSELinux Enterprise Server 12 SP5-LTSS, Linux Enterprise Server LTSS Extended Security 12 SP5expat2.8.5-21.55.1SUSE-SU-2026:4615-1
SUSELinux Enterprise Server 16.0, Linux Enterprise Server for SAP applications 16.0MozillaFirefox153.5.0-160000.1.1SUSE-SU-2026:24260-1
SUSELinux Enterprise Server 16.0, Linux Enterprise Server for SAP applications 16.0expat2.8.4-160000.1.1SUSE-SU-2026:23912-1
SUSELinux Micro 6.0expat2.8.5-159998.1.1SUSE-SU-2026:24323-1
SUSELinux Micro 6.1expat2.8.5-slfo.1.1_1.1SUSE-SU-2026:24554-1
SUSELinux Micro 6.2expat2.8.4-160000.1.1SUSE-SU-2026:23894-1
openSUSELeap 16.0MozillaFirefox153.5.0-160000.1.1openSUSE-SU-2026:22139-1
openSUSELeap 16.0expat2.8.4-160000.1.1openSUSE-SU-2026:21945-1
openSUSETumbleweedexpat2.8.2-1.1openSUSE-SU-2026:11584-1
AlmaLinux8expat, expat-devel2.5.0-2.el8_10.2ALSA-2026:64809
AlmaLinux9expat, expat-devel2.5.0-6.el9_8.3ALSA-2026:64812
AlmaLinux10expat, expat-devel2.7.3-1.el10_2.3ALSA-2026:64810
Rocky Linux8expat0:2.5.0-2.el8_10.2RLSA-2026:64809
Rocky Linux9expat0:2.5.0-6.el9_8.3RLSA-2026:64812
Rocky Linux10expat0:2.7.3-1.el10_2.3RLSA-2026:64810
Alpinev3.21, v3.22, v3.23 and 1 moreexpat2.8.2-r0ALPINE-CVE-2026-50219
Azure Linux3expat2.8.2-1AZL-89372
Alpaquita23, 25expat2.7.5-r3BELL-CVE-2026-50219
Alpaquitastreamexpat2.8.1-r1BELL-CVE-2026-50219
BellSoft Hardened Containers23, 25expat2.7.5-r3BELL-CVE-2026-50219
BellSoft Hardened Containersstreamexpat2.8.1-r1BELL-CVE-2026-50219

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; the Alpine secdb, CC BY-SA 4.0; Microsoft's Azure Linux vulnerability data, MIT; BellSoft's OSV database, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine · Alpaquita · BellSoft Hardened Containers.

Red Hat

Red Hat rates this Moderate.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 10expat-0:2.7.3-1.el10_2.3Fixed 2026-09-08RHSA-2026:64810
Red Hat Enterprise Linux 8expat-0:2.5.0-2.el8_10.2Fixed 2026-09-08RHSA-2026:64809
Red Hat Enterprise Linux 9expat-0:2.5.0-6.el9_8.3Fixed 2026-09-08RHSA-2026:64812
Red Hat Cost Management On-Premise 1costmanagement/costmanagement-ui-rhel10:1791460851Fixed 2026-10-08RHSA-2026:79357
Red Hat Hardened Imagesexpat-main-2.8.2-1.hum1Fixed 2026-06-28RHSA-2026:30647
Red Hat Update Infrastructure 5rhui5/cds-kubernetes-rhel9:1789479916Fixed 2026-09-16RHSA-2026:67956
Red Hat Update Infrastructure 5rhui5/cds-rhel9:1789479900Fixed 2026-09-16RHSA-2026:67956
Red Hat Update Infrastructure 5rhui5/haproxy-rhel9:1789479891Fixed 2026-09-16RHSA-2026:67956
Red Hat Update Infrastructure 5rhui5/installer-rhel9:1789482961Fixed 2026-09-16RHSA-2026:67956
Red Hat Update Infrastructure 5rhui5/rhua-rhel9:1789478095Fixed 2026-09-16RHSA-2026:67956
Red Hat Enterprise Linux 6compat-expat1Out of support scope
Red Hat Enterprise Linux 6expatOut of support scope
Red Hat Enterprise Linux 7expatOut of support scope
Red Hat Enterprise Linux 8mingw-expatFix deferred
Red Hat OpenShift Container Platform 4openshift/ose-rhel-coreos-8Fix deferred
Red Hat OpenShift Container Platform 4openshift/ose-rhel-coreos-9Fix deferred
Red Hat OpenShift Container Platform 5openshift/ose-rhel-coreos-9Fix deferred

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-50219.

ICS advisories (CISA)

AdvisoryTitlePublishedSectorsAffectedFixed
ICSA-26-295-11Siemens SIMATIC S7-1500 CPU 1518(F)-4 PN/DP MFP2026-10-13Critical Manufacturing, Transportation Systems, Energy, Healthcare and Public Health, Financial Services, Government Services and FacilitiesSIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AB0) >= V3.1.7, SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AC0) >= V3.1.7, SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AB0) >= V3.1.7 and 2 morenone listed

From CISA's ICS advisories (CSAF), provided under CISA's notification. Only the facts are shown; each advisory is on CISA's page. Credits.

References

Check your stackJSON