Skip to main content
No exploitation reportedFix available

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?

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
  1. 2024-02-0416:15CVE publishedNVD

Versions per branch

NVD · OSV
Xmlsoft libxml2
BranchAffectedFixed in
2.12≥ 2.12.0, < 2.12.52.12.5
2.11< 2.11.72.11.7
java
BranchAffectedFixed in
8.0≥ 1.9.0, < 8.0.4318.0.431
1.8< 1.8.01.8.0
java-min
BranchAffectedFixed in
8.0≥ 1.9.0, < 8.0.4318.0.431
1.8< 1.8.01.8.0

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

  • CVE-2024-25062 Red Hat Product Security226 products fixed · 12 known affected

    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

  • ICSA-24-228-06 CISA1 known affected

    Siemens SINEC NMS

    SINEC NMS

  • SSA-784301 Siemens ProductCERT1 known affected

    SSA-784301: Multiple Vulnerabilities in SINEC NMS Before V3.0

    SINEC NMS

  • RHSA-2024:3626 Red Hat Product Security45 products fixed

    Red Hat Security Advisory: libxml2 security update

  • RHSA-2024:3625 Red Hat Product Security45 products fixed

    Red Hat Security Advisory: libxml2 security update

  • RHSA-2024:3303 Red Hat Product Security45 products fixed

    Red Hat Security Advisory: libxml2 security update

5 more advisories

Full record on NVD

Fix

  1. Update Xmlsoft libxml2 to 2.12.5 · 2.11.7
  2. Vendor fix Siemens ProductCERT SSA-784301 · 1 productUpdate to V3.0 or later version
  3. Vendor fix CISA ICSA-24-228-06 · 1 productUpdate to V3.0 or later version
  4. 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
  5. 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.
  6. 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.
  7. 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

Detection

Nuclei template
none so far
ProjectDiscovery
Exploit-DB
no entry
Exploit-DB
Proof of concept
Metasploit modules
none listed
Metasploit Framework

Sources

Identifiers

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?

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.

Is CVE-2024-25062 actively exploited?

Active exploitation of CVE-2024-25062 has not been confirmed. Its EPSS score was 1.3% on 2026-11-18, the estimated probability of exploitation in the next 30 days.

What is the CVSS score for CVE-2024-25062?

CVE-2024-25062 has a CVSS v3 base score of 7.5 (HIGH severity), with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H.

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

Sources for this record