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.
The product performs a calculation that can produce an integer overflow or wraparound when the logic assumes that the resulting value will always be larger than the original value. This occurs when an integer value is incremented to a value that is too large to store in the associated representation. When this occurs, the value may become a very small or negative number.
Link | Tags |
---|---|
https://gitlab.gnome.org/GNOME/libxml2/-/tags/v2.10.3 | third party advisory release notes |
https://gitlab.gnome.org/GNOME/libxml2/-/commit/c846986356fc149915a74972bf198abc266bc2c0 | third party advisory patch |
https://security.netapp.com/advisory/ntap-20221209-0003/ | third party advisory |
https://support.apple.com/kb/HT213534 | third party advisory |
https://support.apple.com/kb/HT213533 | third party advisory |
https://support.apple.com/kb/HT213531 | third party advisory |
https://support.apple.com/kb/HT213536 | third party advisory |
https://support.apple.com/kb/HT213535 | third party advisory |
http://seclists.org/fulldisclosure/2022/Dec/21 | third party advisory mailing list |
http://seclists.org/fulldisclosure/2022/Dec/25 | third party advisory mailing list |
http://seclists.org/fulldisclosure/2022/Dec/26 | third party advisory mailing list |
http://seclists.org/fulldisclosure/2022/Dec/24 | third party advisory mailing list |
http://seclists.org/fulldisclosure/2022/Dec/27 | mailing list |