Use After Free in Libexpat Project

CVE-2026-50219

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,

Vulnerability class: Use-After-Free

EPSS: 0.000 (2.0th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 4.9 (Medium). Vector: CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L.

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2026-50219?
CVE-2026-50219 is a medium-severity vulnerability in Libexpat Project, classified under Use After Free. CVSS score: 4.9/10. Published 2026-06-04.
How severe is CVE-2026-50219?
Medium severity. CVSS v3 base score is 4.9 out of 10.