CVE-2026-50219Published Jun 4, 2026 · Jun 4Updated Nov 12
libexpat before 2.8.2 lacks handler call depth tracking for calls to XML_GetBuffer, XML_Parse, XML_ParseBuffer, XML_P…
libexpat project libexpat
Medium4.9Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| libexpat project libexpat |
| No fix yet |
Original description
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,
From the CVE record · mitre