defineAttribute in xmlparse.c in Expat (aka libexpat) before 2.4.3 has an integer overflow.
https://www.tenable.com/security/tns-2022-05
https://www.debian.org/security/2022/dsa-5073
https://security.gentoo.org/glsa/202209-24
https://github.com/libexpat/libexpat/pull/539
https://cert-portal.siemens.com/productcert/pdf/ssa-484086.pdf