libexpat before 2.8.2 lacks handler call depth tracking for calls to XML_ResumeParser from within handlers in cases of a policy violation. Thus, a use-after-free can occur (similar to the CVE-2026-50219 situation).
https://github.com/libexpat/libexpat/pull/1267
https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-37976
https://cert-portal.siemens.com/productcert/html/ssa-457936.html