The Apache Xerces-C 3.0.0 to 3.2.3 XML parser contains a use-after-free error triggered during the scanning of external DTDs. This flaw has not been addressed in the maintained version of the library and has no current mitigation other than to disable DTD processing. This can be accomplished via the DOM using a standard parser feature, or via SAX using the XERCES_DISABLE_DTD environment variable.
https://www.oracle.com/security-alerts/cpujan2022.html
https://www.debian.org/security/2020/dsa-4814
https://marc.info/?l=xerces-c-users&m=157653840106914&w=2
https://lists.debian.org/debian-lts-announce/2023/12/msg00027.html
https://lists.debian.org/debian-lts-announce/2020/12/msg00025.html
https://access.redhat.com/errata/RHSA-2020:0704