CVE-2026-50219: Use After Free

Published Jun 4, 2026
·
Updated

Last updated 21 September 2026

Other sources

libexpat before 2.8.2 lacks handler call depth tracking for calls to XMLGetBuffer, XMLParse, XMLParseBuffer, XMLParserFree, or XMLParserReset from within handlers in cases of a policy violation. Thus, a use-after-free can occur,

— MITRE

Affected Software

84 affected componentsFixes available
Expat libexpat<2.8.2
Microsoft azl3 expat 2.6.4-6<2.8.2-1
2.8.2-1
IBM QRadar<=7.6.0.0 - 7.6.0.4
IBM QRadar<=7.5.0 - 7.5.0 UP16 IF01
Libexpat Project Libexpat<2.8.2
debian/expat<2.5.0-1+deb12u3
2.5.0-1+deb12u3
debian/expat<2.8.2-1~deb13u1
2.8.2-1~deb13u1
debian/expat<2.8.2-1
2.8.2-1
debian/expat<=2.5.0-1+deb12u2
2.5.0-1+deb12u32.8.2-1~deb13u12.8.2-1
ubuntu/coin3*
ubuntu/expat<2.1.0-4ubuntu1.4+esm12
2.1.0-4ubuntu1.4+esm12
ubuntu/vnc4*
ubuntu/vtk*
ubuntu/xmlrpc-c*
ubuntu/expat<2.1.0-7ubuntu0.16.04.5+esm13
2.1.0-7ubuntu0.16.04.5+esm13
ubuntu/ayttm*
ubuntu/cableswig*
ubuntu/cadaver*
ubuntu/coin3*
ubuntu/gdcm*
ubuntu/insighttoolkit4*
ubuntu/libxmltok*
ubuntu/matanza*
ubuntu/smart*
ubuntu/swish-e*
ubuntu/tdom*
ubuntu/vnc4*
ubuntu/vtk*
ubuntu/wbxml2*
ubuntu/xmlrpc-c*
ubuntu/expat<2.2.5-3ubuntu0.9+esm4
2.2.5-3ubuntu0.9+esm4
ubuntu/cadaver*
ubuntu/coin3*
ubuntu/gdcm*
ubuntu/insighttoolkit4*
ubuntu/libxmltok*
ubuntu/matanza*
ubuntu/smart*
ubuntu/swish-e*
ubuntu/tdom*
ubuntu/vnc4*
ubuntu/wbxml2*
ubuntu/xmlrpc-c*
ubuntu/expat<2.2.9-1ubuntu0.8+esm2
2.2.9-1ubuntu0.8+esm2
ubuntu/cadaver*
ubuntu/insighttoolkit4*
ubuntu/libxmltok*
ubuntu/matanza*
ubuntu/swish-e*
ubuntu/tdom*
ubuntu/wbxml2*
ubuntu/xmlrpc-c*
ubuntu/cadaver*
ubuntu/expat<2.4.7-1ubuntu0.8
2.4.7-1ubuntu0.8
ubuntu/libxmltok*
ubuntu/matanza*
ubuntu/tdom*
ubuntu/swish-e*
ubuntu/xmlrpc-c*
ubuntu/expat<2.6.1-2ubuntu0.5
2.6.1-2ubuntu0.5
ubuntu/libxmltok*
ubuntu/matanza*
ubuntu/tdom*
ubuntu/swish-e*
ubuntu/xmlrpc-c*
ubuntu/cadaver*
ubuntu/expat*
ubuntu/matanza*
ubuntu/swish-e*
ubuntu/tdom*
ubuntu/wbxml2*
ubuntu/xmlrpc-c*
ubuntu/cadaver*
ubuntu/matanza*
ubuntu/swish-e*
ubuntu/tdom*
ubuntu/wbxml2*
ubuntu/xmlrpc-c*
ubuntu/expat<2.7.4-1ubuntu0.1
2.7.4-1ubuntu0.1
ubuntu/matanza*
ubuntu/tdom*
ubuntu/wbxml2*
ubuntu/xmlrpc-c*
ubuntu/swish-e*

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 2.8.2-1
  2. Upgrade

    Upgrade debian/expat to a version that resolves this vulnerability.

    Fixed in 2.5.0-1+deb12u3
  3. Upgrade

    Upgrade debian/expat to a version that resolves this vulnerability.

    Fixed in 2.8.2-1~deb13u1
  4. Upgrade

    Upgrade debian/expat to a version that resolves this vulnerability.

    Fixed in 2.8.2-1
  5. Upgrade

    Upgrade ubuntu/expat to a version that resolves this vulnerability.

    Fixed in 2.1.0-4ubuntu1.4+esm12
  6. Upgrade

    Upgrade ubuntu/expat to a version that resolves this vulnerability.

    Fixed in 2.1.0-7ubuntu0.16.04.5+esm13
  7. Upgrade

    Upgrade ubuntu/expat to a version that resolves this vulnerability.

    Fixed in 2.2.5-3ubuntu0.9+esm4
  8. Upgrade

    Upgrade ubuntu/expat to a version that resolves this vulnerability.

    Fixed in 2.2.9-1ubuntu0.8+esm2
  9. Upgrade

    Upgrade ubuntu/expat to a version that resolves this vulnerability.

    Fixed in 2.4.7-1ubuntu0.8
  10. Upgrade

    Upgrade ubuntu/expat to a version that resolves this vulnerability.

    Fixed in 2.6.1-2ubuntu0.5
  11. Upgrade

    Upgrade ubuntu/expat to a version that resolves this vulnerability.

    Fixed in 2.7.4-1ubuntu0.1
  12. Upgrade

    Upgrade debian/expat to a version that resolves this vulnerability.

    Fixed in 2.5.0-1+deb12u3Fixed in 2.8.2-1~deb13u1Fixed in 2.8.2-1
  13. Upgrade

    Upgrade libexpat to a version that resolves this vulnerability.

    Fixed in 2.8.2

Event History

Jun 4, 2026
CVE Published
via MITRE·04:20 AM
Data Sourced
via MITRE·04:20 AM
DescriptionSeverityWeakness
Data Sourced
via Red Hat·06:01 AM
DescriptionSeverityAffected Software
Data Sourced
via NVD·06:16 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·06:39 PM
RemedyAffected Software
Updated
via NVD·06:39 PM
Severity
Event
via NVD·06:39 PM
Jun 5, 2026
Data Sourced
via Microsoft·08:02 AM
DescriptionSeverityWeakness
Data Sourced
via Microsoft·08:02 AM
Affected Software
Oct 13, 2026
Data Sourced
via IBM·12:00 AM
DescriptionAffected Software
Nov 15, 2026
Data Sourced
via OSV·05:30 AM
Affected Software
Nov 17, 2026
Updated
via OSV·06:21 PM
Affected Software
Nov 24, 2026
Updated
via OSV·02:55 PM
Affected Software

Parent advisories

This vulnerability appears in the following advisories.

Peer vulnerabilities

Found alongside the following vulnerabilities.

Frequently Asked Questions

1

What is the severity of CVE-2026-50219?

The severity of CVE-2026-50219 is medium with a score of 4.9.

2

What is the main issue described in CVE-2026-50219?

CVE-2026-50219 describes a use-after-free vulnerability in libexpat before version 2.8.2 due to lack of handler call depth tracking.

3

How do I fix CVE-2026-50219?

To fix CVE-2026-50219, upgrade to libexpat version 2.8.2 or later.

4

What can exploit CVE-2026-50219?

CVE-2026-50219 can potentially be exploited in cases of policy violation during handler calls that attempt to access freed memory.

5

Which functions are affected by CVE-2026-50219?

CVE-2026-50219 affects functions including XML_GetBuffer, XML_Parse, XML_ParseBuffer, XML_ParserFree, and XML_ParserReset.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203