In libxml2 before 2.13.8 and 2.14.x before 2.14.2, out-of-bounds memory access can occur in the Python API (Python bindings) because of an incorrect return value. This occurs in xmlPythonFileRead and xmlPythonFileReadRaw because of a difference between bytes and characters.
{
"cna_assigner": "mitre",
"cwe_ids": [
"CWE-393"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/32xxx/CVE-2025-32414.json"
}{
"cpe": "cpe:2.3:a:xmlsoft:libxml2:*:*:*:*:*:*:*:*",
"extracted_events": [
{
"introduced": "0"
},
{
"fixed": "2.13.8"
},
{
"introduced": "2.14.0"
},
{
"fixed": "2.14.2"
}
],
"source": "CPE_RANGE"
}{
"cpe": "cpe:2.3:a:xmlsoft:libxml2:*:*:*:*:*:*:*:*",
"extracted_events": [
{
"introduced": "0"
},
{
"fixed": "2.13.8"
},
{
"introduced": "2.14.0"
},
{
"fixed": "2.14.2"
}
],
"source": "CPE_RANGE"
}