Use-After-Free Vulnerability in libexpat Affects Multiple Versions
CVE-2026-50219
4.9MEDIUM
What is CVE-2026-50219?
The libexpat library before version 2.8.2 is susceptible to a use-after-free vulnerability due to inadequate handler call depth tracking during XML processing. This issue arises when functions like XML_GetBuffer, XML_Parse, and others are invoked within handlers without proper checks, potentially leading to unexpected behaviors or exploitation through policy violations.
Affected Version(s)
libexpat 0 < 2.8.2
