In libxml2 2.11 before 2.11.9, 2.12 before 2.12.9, and 2.13 before 2.13.3, the SAX parser can produce events for external entities even if custom SAX handlers try to override entity content (by setting "checked"). This makes classic XXE attacks possible.
{
"cwe_ids": [
"CWE-611"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/40xxx/CVE-2024-40896.json",
"cna_assigner": "mitre"
}{
"cpe": "cpe:2.3:a:xmlsoft:libxml2:*:*:*:*:*:*:*:*",
"extracted_events": [
{
"introduced": "2.11.0"
},
{
"fixed": "2.11.9"
},
{
"introduced": "2.12.0"
},
{
"fixed": "2.12.9"
},
{
"introduced": "2.13.0"
},
{
"fixed": "2.13.3"
}
],
"source": "CPE_RANGE"
}
{
"cpe": "cpe:2.3:a:xmlsoft:libxml2:*:*:*:*:*:*:*:*",
"extracted_events": [
{
"introduced": "2.11.0"
},
{
"fixed": "2.11.9"
},
{
"introduced": "2.12.0"
},
{
"fixed": "2.12.9"
},
{
"introduced": "2.13.0"
},
{
"fixed": "2.13.3"
}
],
"source": [
"CPE_RANGE",
"REFERENCES"
]
}
"2026-08-12T15:16:02Z"
[
{
"id": "CVE-2024-40896-36665477",
"deprecated": false,
"signature_type": "Line",
"signature_version": "v1",
"digest": {
"threshold": 0.9,
"line_hashes": [
"226593095160989718580933120468166360739",
"24164626288106891637588310425951675567",
"136306041615198176511953925556784839741"
]
},
"source": "https://gitlab.gnome.org/gnome/libxml2@1a8932303969907f6572b1b6aac4081c56adb5c6",
"target": {
"file": "parser.c"
}
},
{
"id": "CVE-2024-40896-4065f292",
"deprecated": false,
"signature_type": "Function",
"signature_version": "v1",
"digest": {
"length": 3301.0,
"function_hash": "82553749786656255912126799861154897360"
},
"source": "https://gitlab.gnome.org/gnome/libxml2@1a8932303969907f6572b1b6aac4081c56adb5c6",
"target": {
"function": "xmlParseReference",
"file": "parser.c"
}
}
]
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-40896.json"