CVE-2026-50219: Use After Free

Published Jun 4, 2026
·
Updated

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,

Affected Software

3 affected componentsFixes available
Expat libexpat<2.8.2
Libexpat Project Libexpat<2.8.2
Microsoft azl3 expat 2.6.4-6<2.8.2-1
2.8.2-1

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

Event History

Jun 4, 2026
CVE Published
via MITRE·04:20 AM
Data Sourced
via MITRE·04:20 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·06:16 AM
RemedyDescriptionSeverityWeaknessAffected Software
Jun 5, 2026
Data Sourced
via Microsoft·08:02 AM
DescriptionSeverityWeakness
Data Sourced
via Microsoft·08:02 AM
Affected Software
Updated
via Microsoft·08:02 AM
DescriptionSeverity

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