libexpat before 2.8.4 lacks handler call depth tracking with custom encoding callbacks. Thus, a use-after-free can occur. NOTE: this is similar to CVE-2026-50219, CVE-2026-56131 and CVE-2026-56412.
https://github.com/libexpat/libexpat/pull/1329
https://github.com/libexpat/libexpat/pull/1322
https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-63196
https://cert-portal.siemens.com/productcert/html/ssa-457936.html