All vulnerabilities

Servers and applications

CVE-2022-40303

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.

Severity
High 7.5
Published
23 Nov 2022
Last changed
14 Oct 2026
Added to UpHeron
1 Nov 2026
Fixed in
2.10.3
Sources
NVD

Affected software

SoftwareAffected versions
libxml2Servers and applications · cpe:a:xmlsoft:libxml2
  • Every version before 2.10.3

References

  • NVD https://nvd.nist.gov/vuln/detail/CVE-2022-40303
  • CVE.org https://www.cve.org/CVERecord?id=CVE-2022-40303