CVE-2024-25062
No exploitation reported by the sources we read.
- Published2024-02-04
- Fixed in2.12.5 · 2.11.7
- WeaknessCWE-416
Am I affected?
Debian, Ubuntu or Red Hat sometimes backport a fix without changing the upstream version number: such a version reads « to verify », never « affected ».With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.
Description
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.
Timeline
dates in UTC- 2024-02-0416:15CVE publishedNVD
Versions per branch
NVD · OSV| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 2.12 | ≥ 2.12.0, < 2.12.5 | 2.12.5 | NVD |
| 2.11 | < 2.11.7 | 2.11.7 | NVD |
| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 8.0 | ≥ 1.9.0, < 8.0.431 | 8.0.431 | OSV |
| 1.8 | < 1.8.0 | 1.8.0 | OSV |
| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 8.0 | ≥ 1.9.0, < 8.0.431 | 8.0.431 | OSV |
| 1.8 | < 1.8.0 | 1.8.0 | OSV |
1 more product in the sources.
as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.
Distribution builds and vendor advisories
Packages from OSV.dev and products from the vendors' CSAF advisories.
version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.
Packages
- libxml2Ubuntu:Pro:18.04:LTSall versions · fixed in 2.9.4+dfsg1-6.1ubuntu1.9+esm1
- libxml2Ubuntu:Pro:16.04:LTSall versions · fixed in 2.9.3+dfsg1-1ubuntu0.7+esm6
- libxml2Ubuntu:Pro:14.04:LTSall versions · fixed in 2.9.1+dfsg1-3ubuntu4.13+esm6
- libxml2Ubuntu:22.04:LTSall versions · fixed in 2.9.13+dfsg-1ubuntu0.4
- libxml2Ubuntu:20.04:LTSall versions · fixed in 2.9.10+dfsg-5ubuntu0.20.04.7
- libxml2TuxCare:Ubuntu:18.04all versions · fixed in 2.9.4+dfsg1-6.1ubuntu1.9+tuxcare.els1and 5 other packages
- libxml2TuxCare:Ubuntu:16.04all versions · fixed in 2.9.3+dfsg1-1ubuntu0.7+tuxcare.els7and 4 other packages
- libxml2TuxCare:OracleLinux:6all versions · fixed in 2.7.6-21.0.1.el6_8.1.tuxcare.ol.els5and 3 other packages
89 more package ranges on OSV.dev
Vendor advisories
libxml2: use-after-free in XMLReader
libxml2 as a component of Red Hat Enterprise Linux 6 · libxml2-devel as a component of Red Hat Enterprise Linux 6 · libxml2-python as a component of Red Hat Enterprise Linux 6 · +9 more
Siemens SINEC NMS
SINEC NMS
SSA-784301: Multiple Vulnerabilities in SINEC NMS Before V3.0
SINEC NMS
Red Hat Security Advisory: libxml2 security update
Red Hat Security Advisory: libxml2 security update
Red Hat Security Advisory: libxml2 security update
5 more advisories
Fix
- Update Xmlsoft libxml2 to 2.12.5 · 2.11.7
- Vendor fix Siemens ProductCERT SSA-784301 · 1 productUpdate to V3.0 or later version
- Vendor fix CISA ICSA-24-228-06 · 1 productUpdate to V3.0 or later version
- Vendor fix Red Hat Product Security RHSA-2024:3626 · 45 productsBefore applying this update, make sure all previously released errata relevant to your system have been applied. For details on how to apply this update, refer to: https://access.redhat.com/articles/11258
- Vendor fix Red Hat Product Security RHSA-2024:3625 · 45 productsFor details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258 The desktop must be restarted (log out, then log back in) for this update to take effect.
- Vendor fix Red Hat Product Security RHSA-2024:2679 · 45 productshttps://access.redhat.com/articles/11258 The desktop must be restarted (log out, then log back in) for this update to take effect.
- Vendor fix Red Hat Product Security RHSA-2024:1317 · 1 productBefore applying the update, back up your existing installation, including all applications, configuration files, databases and database settings, and so on. The References section of this erratum contains a download link (you must log in to download the update).
Advisories and patches
- gitlab.gnome.orgRelease Notes
Detection
- Nuclei template
- none so far ProjectDiscovery
- Exploit-DB
- no entry Exploit-DB
- Proof of concept
- PoC-in-GitHubno public repository identifiedread 2026-11-19
- Metasploit modules
- none listed Metasploit Framework
Sources
- CISA-ADPSSVC decisionnone2025-05-09
- CISA-ADPCVSS 3.17.52025-05-09
- NVDCVSS 3.17.5read 2026-10-23
- CISA-ADPweakness (CWE)CWE-4162025-05-09
- NVDweakness (CWE)CWE-416read 2026-10-23
- FIRST EPSSEPSS score1.3 %2026-11-18
- OSVaffected packages—
- GitHub Advisoriesadvisory—
Identifiers
- AZL-34290same flawAzure Linux · MIT
- AZL-34961same flawAzure Linux · MIT
- BIT-java-2024-25062same flawBitnami · Apache-2.0
- BIT-java-min-2024-25062same flawBitnami · Apache-2.0
- BIT-jre-2024-25062same flawBitnami · Apache-2.0
- CGA-37q4-2q6j-j7fvsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-3vj3-wrhh-wp5xsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-42hm-ghhh-q8j2same flawChainguard · CC-BY-NC-ND-4.0
- CGA-42jh-c7w6-v2fgsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-4pqj-qj56-h653same flawChainguard · CC-BY-NC-ND-4.0
- CGA-5jqj-67v4-rcfjsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-683f-q47m-7h4xsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-6f6j-4h53-62m4same flawChainguard · CC-BY-NC-ND-4.0
- CGA-6mjh-r8q3-9q4jsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-72j8-h4c4-gq56same flawChainguard · CC-BY-NC-ND-4.0
- CGA-7c6j-vqrc-p38msame flawChainguard · CC-BY-NC-ND-4.0
- CGA-7jh2-pq7x-4p96same flawChainguard · CC-BY-NC-ND-4.0
- CGA-865x-4rxr-3g7rsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-874f-3pc9-fv78same flawChainguard · CC-BY-NC-ND-4.0
- CGA-8h3f-hx7v-c4jxsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-95qj-6w3c-82vvsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-9jwx-5hc7-5prwsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-9rx2-3hjx-qpcmsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-c22h-fv7p-vc73same flawChainguard · CC-BY-NC-ND-4.0
- CGA-c5jr-q6fv-x6gcsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-cm57-ff7v-9cq9same flawChainguard · CC-BY-NC-ND-4.0
- CGA-cvx4-x5vv-hrwhsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-f54h-wj9v-447rsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-f9p3-r6v3-6gwjsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-fxmm-c4rg-cwp4same flawChainguard · CC-BY-NC-ND-4.0
- CGA-g896-92qh-g3c4same flawChainguard · CC-BY-NC-ND-4.0
- CGA-jxv7-5942-vrwmsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-m7wr-hqx9-4gmqsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-mc27-76xw-57f7same flawChainguard · CC-BY-NC-ND-4.0
- CGA-mf89-32v7-7rrmsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-mpr6-9q9r-64w6same flawChainguard · CC-BY-NC-ND-4.0
- CGA-pvcp-vv9r-2ph4same flawChainguard · CC-BY-NC-ND-4.0
- EUVD-2024-22424same flawENISA EUVD · LicenseRef-ENISA-legal-notice
- GHSA-x77r-6xxm-wjmxsame flawGitHub Advisory Database · CC-BY-4.0
- JLSEC-2025-83same flawJulia Security Advisories · CC-BY-4.0
- MINI-56j7-qwf3-8q64same flawMinimOS · LicenseRef-unstated
- ALSA-2024:2679advisory covering several CVEsAlmaLinux · MIT
- ALSA-2024:3626advisory covering several CVEsAlmaLinux · MIT
- DLA-4064-1advisory covering several CVEsDebian · LicenseRef-unstated
- DSA-5949-1advisory covering several CVEsDebian · LicenseRef-unstated
- MGASA-2024-0172advisory covering several CVEsMageia · LicenseRef-unstated
- OESA-2024-1183advisory covering several CVEsopenEuler · LicenseRef-unstated
- openSUSE-SU-2024:13676-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- RHSA-2024:2679advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2024:3299advisory covering several CVEsRed Hat · CC-BY-4.0
Technical details
- CVSS v3 Vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- Published
- 2024-02-04
- Last Modified
- 2026-10-15
- NVD status
- Modified
- GitHub Advisory
- GHSA-x77r-6xxm-wjmx
Frequently asked questions
What is CVE-2024-25062?
Is CVE-2024-25062 actively exploited?
What is the CVSS score for CVE-2024-25062?
Running libxml2? Hear about its next vulnerability
Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».
No credit card required · No monthly cap on website lookups · 250 API requests/month
Go further
- Following what attackers exploit right now? The CISA KEV additions of the month, with their patch deadlines.
- Running this software? Vulnerability monitoring alerts you to new vulnerabilities in your products.
Related vulnerabilities
Same product first, then the same vendor advisory and the same publication week.
Sources for this record
- CISA ICS advisories (CSAF) · Public domain (US Government work)
- CVE Program · CVE Program Terms of Use
- ENISA EU Vulnerability Database · ENISA legal notice §1.2 (reproduction authorised, provided the source is acknowledged)
- FIRST EPSS · EPSS terms of use (free use, attribution requested)
- GitHub Advisory Database · CC-BY-4.0 · GHSA-x77r-6xxm-wjmx
- NVD · Public domain (17 U.S.C. § 105) for NVD-authored data; third-party content under its own terms
- OSV.dev · Per record, as its publisher states it: each row carries the label in sourceLicense when one is served
- Red Hat Product Security (CSAF and VEX) · CC-BY-4.0
- Siemens ProductCERT (CSAF) · TLP:WHITE (commercial use and redistribution granted)
- CISA Vulnrichment · CC0-1.0