In Expat (aka libexpat) before 2.4.3, a left shift by 29 (or more) places in the storeAtts function in xmlparse.c can lead to realloc misbehavior (e.g., allocating too few bytes, or only freeing memory).
www.openwall.com/lists/oss-security/2022/01/17/3
bugzilla.mozilla.org/show_bug.cgi?id=1217609
cert-portal.siemens.com/productcert/pdf/ssa-484086.pdf
github.com/libexpat/libexpat/issues/531
github.com/libexpat/libexpat/pull/534
security.gentoo.org/glsa/202209-24
security.netapp.com/advisory/ntap-20220121-0004/
www.debian.org/security/2022/dsa-5073
www.tenable.com/security/tns-2022-05