CVE-2022-40303

libxml2: integer overflows with XML_PARSE_HUGE

Published Nov 22, 2022 CVSS 3.1 · 7.5 High EPSS 41.4% KEV · Not listed
Description
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-3172-1 libxml2 security update
Debian DSA Debian DSA DSA-5271-1 libxml2 security update
EUVD EUVD EUVD-2022-43600 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.
Ubuntu USN Ubuntu USN USN-5760-1 libxml2 vulnerabilities
Ubuntu USN Ubuntu USN USN-5760-2 libxml2 vulnerabilities
Ubuntu USN Ubuntu USN USN-7659-1 Nokogiri vulnerabilities