An issue was discovered in libxml2 before 2.10.3. When parsing a multi-gigabyte XML document with the XMLPARSEHUGE 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.
{
"cna_assigner": "mitre",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/40xxx/CVE-2022-40303.json",
"unresolved_ranges": [
{
"extracted_events": [
{
"introduced": "libxml2"
},
{
"fixed": "2.10.3"
}
],
"source": "DESCRIPTION"
}
]
}{
"extracted_events": [
{
"introduced": "0"
},
{
"fixed": "2.10.3"
}
],
"cpe": "cpe:2.3:a:xmlsoft:libxml2:*:*:*:*:*:*:*:*",
"source": [
"CPE_RANGE",
"REFERENCES"
]
}