XXE in Libxml2
CVE-2024-40896
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.
Vulnerability class: XXE (XML External Entity)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 9.1 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H.
EPSS exploit prediction
EPSS: 0.012 (68.6th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 69th percentile — 68.6% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.012 · newest: 0.012 · change: 0.000
Affected products
Weakness classification (CWE)
References
- gitlab.gnome.org/GNOME/libxml2/-/issues/761 (Issue Tracking)
- gitlab.gnome.org/GNOME/libxml2/-/commit/1a8932303969907f6572b1b6aac4081c56adb5c6 (Issue Tracking)
- af854a3a-2127-422b-91ae-364da2661108 (Third Party Advisory)
Frequently asked questions
- What is CVE-2024-40896?
- CVE-2024-40896 is a critical-severity vulnerability in Libxml2, classified under Improper Restriction of XML External Entity Reference (XXE). CVSS score: 9.1/10. Published 2024-12-23.
- How severe is CVE-2024-40896?
- Critical severity. CVSS v3 base score is 9.1 out of 10.