Home / Xmlsoft / Libxml2 / CVE-2024-25062
CVE-2024-25062: is it exploited, and which versions of Xmlsoft Libxml2 are affected and fixed?
CVE-2024-25062 is an use after free vulnerability in Xmlsoft 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, 18:39 UTC). Affected: libxml2 before 2.11.7 and libxml2 from 2.12.0 before 2.12.5 (NVD). Fixed in 2.11.7 and 2.12.5 (NVD). Severity: High (7.5, CVSS 3.1, from CISA-ADP).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 18:39 UTC, CVE record November 19, 2026, 07:11 UTC and NVD November 19, 2026, 07:32 UTC.
What is CVE-2024-25062?
An issue was discovered in libxml2 before 2.11.7 and 2.12.x before 2.12.5. When using the XML Reader interface with DTD validation and XInclude expansion enabled, processing crafted XML documents can lead to an xmlValidatePopElement use-after-free.
From the CVE record by mitre, last updated October 15, 2026, 00:38 UTC.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| xmlsoft | libxml2 | before 2.11.7 | application |
| xmlsoft | libxml2 | from 2.12.0 before 2.12.5 | application |
NVD analysis (status Modified), last modified October 15, 2026, 01:17 UTC.
How severe is CVE-2024-25062?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 7.5 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H | CISA-ADP |
| High 7.5 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H | NVD |
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-25062 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: yes; technical impact: partial (CISA ADP, May 9, 2025)
- EPSS
- 1.31% probability of exploitation activity in the next 30 days, percentile 71.7 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-416 Use After Free
Where are the vendor advisories and references?
- https://gitlab.gnome.org/GNOME/libxml2/-/tags
- https://gitlab.gnome.org/GNOME/libxml2/-/issues/604
- https://lists.debian.org/debian-lts-announce/2025/02/msg00028.html
- https://security.netapp.com/advisory/ntap-20241018-0009/
- https://cert-portal.siemens.com/productcert/html/ssa-794697.html
- https://cert-portal.siemens.com/productcert/html/ssa-784301.html
When was it published, and where is the official record?
- Reserved
- February 4, 2024
- Published
- February 4, 2024, 00:00 UTC
- CVE record updated
- October 15, 2026, 00:38 UTC by mitre
- NVD
- Modified, last modified October 15, 2026, 01:17 UTC
- Last checked
- CVE list November 19, 2026, 07:11 UTC; NVD November 19, 2026, 07:32 UTC; KEV December 3, 2026, 18:39 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect Libxml2?
- Sep 5, 2026CVE-2026-86144 xmlsoft libxml2: incorrect resource transfer
- Sep 5, 2026CVE-2026-86143 xmlsoft libxml2: integer Coercion Error
- Sep 5, 2026CVE-2026-86142 xmlsoft libxml2: heap buffer overflow
- Sep 5, 2026CVE-2026-86141 xmlsoft libxml2: unchecked return value
- Sep 5, 2026CVE-2026-86140 xmlsoft libxml2: stack buffer overflow
- Sep 5, 2026CVE-2026-86139 xmlsoft libxml2: integer overflow
- Sep 5, 2026CVE-2026-86138 xmlsoft libxml2: integer overflow
- Sep 5, 2026CVE-2026-86137 xmlsoft libxml2: out-of-bounds read
Questions about CVE-2024-25062
Is CVE-2024-25062 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 18:39 UTC. FIRST's EPSS gives it a 1.31% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of Xmlsoft Libxml2 are affected by CVE-2024-25062?
libxml2 before 2.11.7 and libxml2 from 2.12.0 before 2.12.5, per the NVD. The tables above give every range the sources list.
Which version fixes CVE-2024-25062?
2.11.7 and 2.12.5, per the NVD. Check the vendor's advisory before you rely on it.
How severe is CVE-2024-25062?
High (7.5, CVSS 3.1, from CISA-ADP). The severity table above shows each score with its source.
Where is the official record of CVE-2024-25062?
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.