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,
{
"license": "CC-BY-4.0",
"sources": [
{
"database_specific": {
"status": "Analyzed"
},
"id": "CVE-2026-50219",
"html_url": "https://nvd.nist.gov/vuln/detail/CVE-2026-50219",
"url": "https://services.nvd.nist.gov/rest/json/cves/2.0?cveId=CVE-2026-50219",
"published": "2026-06-04T06:16:25.050Z",
"modified": "2026-07-22T20:10:00.127Z",
"imported": "2026-08-09T01:17:11.808Z"
}
]
}