CVE Catalog

CVE-2022-40303

HighCVSS 7.5
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Very high risk
41.37%

99th percentile - higher than 99% of all known CVEs

Summary

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.

Risk Assessment

Processing a malicious, very large XML document can crash the application (denial of service).

Recommendation

Update libxml2 to version 2.10.3 or later and avoid parsing untrusted XML documents with the XML_PARSE_HUGE option.

Other vulnerabilities in libxml2

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS