Home / libxml2 / libxml2 / CVE-2024-40896
CVE-2024-40896: is it exploited, and which versions of libxml2 are affected and fixed?
CVE-2024-40896 is a XML external entity (XXE) vulnerability in libxml2. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 11:38 UTC). Affected: libxml2 from 2.11.0 before 2.11.9, libxml2 from 2.12.0 before 2.12.9 and libxml2 from 2.13.0 before 2.13.3 (CVE record by mitre). Fixed in 2.11.9, 2.12.9 and 2.13.3 (CVE record by mitre). Severity: Critical (9.1, CVSS 3.1, from CISA-ADP).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 11:38 UTC, CVE record November 19, 2026, 07:11 UTC and NVD November 19, 2026, 07:24 UTC.
What is 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.
From the CVE record by mitre, last updated February 28, 2025, 13:07 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| libxml2 | libxml2 | from 2.11.0 before 2.11.9 from 2.12.0 before 2.12.9 from 2.13.0 before 2.13.3 | 2.11.9, 2.12.9, 2.13.3 |
As the CVE record by mitre states it, last updated February 28, 2025. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| xmlsoft | libxml2 | from 2.11.0 before 2.11.9 | application |
| xmlsoft | libxml2 | from 2.12.0 before 2.12.9 | application |
| xmlsoft | libxml2 | from 2.13.0 before 2.13.3 | application |
| netapp | hci compute node | all versions | operating system |
| netapp | solidfire \& hci management node | all versions | application |
| netapp | solidfire \& hci storage node | all versions | application |
| netapp | h300s firmware | all versions | operating system |
| netapp | h410s firmware | all versions | operating system |
| netapp | h500s firmware | all versions | operating system |
| netapp | h700s firmware | all versions | operating system |
| netapp | h410c firmware | all versions | operating system |
NVD analysis (status Analyzed), last modified June 17, 2026, 07:46 UTC.
How severe is CVE-2024-40896?
| Score | Version | Vector | Source |
|---|---|---|---|
| Critical 9.1 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H | CISA-ADP |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2024-40896 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: yes; technical impact: partial (CISA ADP, December 24, 2024)
- EPSS
- 1.22% probability of exploitation activity in the next 30 days, percentile 69.5 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-611 Improper Restriction of XML External Entity Reference
Where are the vendor advisories and references?
- https://gitlab.gnome.org/GNOME/libxml2/-/issues/761
- https://gitlab.gnome.org/GNOME/libxml2/-/commit/1a8932303969907f6572b1b6aac4081c56adb5c6
- https://security.netapp.com/advisory/ntap-20250228-0004/
When was it published, and where is the official record?
- Reserved
- July 12, 2024
- Published
- December 23, 2024, 00:00 UTC
- CVE record updated
- February 28, 2025, 13:07 UTC by mitre
- NVD
- Analyzed, last modified June 17, 2026, 07:46 UTC
- Last checked
- CVE list November 19, 2026, 07:11 UTC; NVD November 19, 2026, 07:24 UTC; KEV December 3, 2026, 11:38 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect libxml2?
- Sep 10, 2025CVE-2025-9714 libxml2: uncontrolled recursion
- Aug 8, 2025CVE-2025-8732 libxml2: uncontrolled recursion disputed
- Jul 28, 2022CVE-2016-3709 libxml2: cross-site scripting (XSS)
- Jul 9, 2021CVE-2021-3541 libxml2: XML entity expansion (billion laughs)
- Jun 1, 2021CVE-2021-3516 libxml2: use after free
- May 19, 2021CVE-2021-3517 libxml2: out-of-bounds write (memory corruption)
- May 18, 2021CVE-2021-3518 libxml2: use after free
- May 14, 2021CVE-2021-3537 libxml2: NULL pointer dereference (crash)
Questions about CVE-2024-40896
Is CVE-2024-40896 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 11:38 UTC. FIRST's EPSS gives it a 1.22% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of libxml2 are affected by CVE-2024-40896?
libxml2 from 2.11.0 before 2.11.9, libxml2 from 2.12.0 before 2.12.9 and libxml2 from 2.13.0 before 2.13.3, per the CVE record by mitre. The tables above give every range the sources list.
Which version fixes CVE-2024-40896?
2.11.9, 2.12.9 and 2.13.3, per the CVE record by mitre. Check the vendor's advisory before you rely on it.
How severe is CVE-2024-40896?
Critical (9.1, CVSS 3.1, from CISA-ADP). The severity table above shows each score with its source.
Where is the official record of CVE-2024-40896?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.