A flaw was found in libxml2's xmlBuildQName function, where integer overflows in buffer size calculations can lead to a stack-based buffer overflow. This issue can result in memory corruption or a denial of service when processing crafted input.
{
"cna_assigner": "redhat",
"cwe_ids": [
"CWE-787"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/6xxx/CVE-2025-6021.json",
"unresolved_ranges": [
{
"extracted_events": [
{
"range": [
{
"fixed": "0:2.12.5-7.el10_0"
},
{
"fixed": "0:2.9.1-6.el7_9.10"
},
{
"fixed": "0:2.9.7-21.el8_10.1"
},
{
"fixed": "0:2.9.7-21.el8_10.1"
},
{
"fixed": "0:2.9.7-9.el8_2.3"
},
{
"fixed": "0:2.9.7-9.el8_4.6"
},
{
"fixed": "0:2.9.7-9.el8_4.6"
},
{
"fixed": "0:2.9.7-13.el8_6.10"
},
{
"fixed": "0:2.9.7-13.el8_6.10"
},
{
"fixed": "0:2.9.7-13.el8_6.10"
},
{
"fixed": "0:2.9.7-16.el8_8.9"
},
{
"fixed": "0:2.9.7-16.el8_8.9"
},
{
"fixed": "0:2.9.13-10.el9_6"
},
{
"fixed": "0:2.9.13-10.el9_6"
},
{
"fixed": "0:2.9.13-1.el9_0.5"
},
{
"fixed": "0:2.9.13-3.el9_2.7"
},
{
"fixed": "0:2.9.13-10.el9_4"
},
{
"fixed": "412.86.202509030110-0"
},
{
"fixed": "413.92.202509030117-0"
},
{
"fixed": "414.92.202508041909-0"
},
{
"fixed": "415.92.202508192014-0"
},
{
"fixed": "416.94.202508050040-0"
},
{
"fixed": "417.94.202508141510-0"
},
{
"fixed": "418.94.202508060022-0"
},
{
"fixed": "4.19.9.6.202507230107-0"
},
{
"fixed": "2.0.1-1754478727"
},
{
"fixed": "2.15.2-0.3.hum1"
},
{
"fixed": "1.5.5-1754504343"
}
],
"source": "AFFECTED_FIELD",
"strategy": "InverseAffectedRanges"
}
]
}
]
}{
"extracted_events": [
{
"range": [
{
"introduced": "0"
},
{
"fixed": "2.14.4"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandardRange"
},
{
"cpe": "cpe:2.3:a:xmlsoft:libxml2:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"fixed": "2.14.4"
}
],
"source": "CPE_RANGE"
}
]
}