An issue was discovered in libxml2 before 2.10.3. When parsing a multi-gigabyte XML document with the XML_PARSE_HUGE parser option enabled, several integer counters can overflow. This results in an attempt to access an array at a negative 2GB offset, typically leading to a segmentation fault.
https://www.cisa.gov/news-events/ics-advisories/icsa-24-165-10
https://www.cisa.gov/news-events/ics-advisories/icsa-24-165-06
https://www.cisa.gov/news-events/ics-advisories/icsa-24-165-04
https://cert-portal.siemens.com/productcert/html/ssa-556635.html
https://support.apple.com/en-us/HT213535
https://support.apple.com/en-us/HT213531
https://support.apple.com/kb/HT213536
https://support.apple.com/kb/HT213535
https://support.apple.com/kb/HT213534
https://support.apple.com/kb/HT213533
https://support.apple.com/kb/HT213531
https://security.netapp.com/advisory/ntap-20221209-0003/
https://gitlab.gnome.org/GNOME/libxml2/-/tags/v2.10.3
https://gitlab.gnome.org/GNOME/libxml2/-/commit/c846986356fc149915a74972bf198abc266bc2c0
http://seclists.org/fulldisclosure/2022/Dec/27
http://seclists.org/fulldisclosure/2022/Dec/26
http://seclists.org/fulldisclosure/2022/Dec/25