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,
https://github.com/libexpat/libexpat/pull/1246
https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-34206
https://cert-portal.siemens.com/productcert/html/ssa-457936.html