CVE-2024-25062 Details
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.
A use-after-free vulnerability has been identified in libxml2 versions prior to 2.11.7 and in the 2.12.x branch prior to 2.12.5. The issue arises when the XML Reader interface is used with DTD validation and XInclude expansion enabled. Under these conditions, processing specially crafted XML documents can lead to a use-after-free error in the 'xmlValidatePopElement' function, potentially allowing for memory corruption.
Users are advised to update to libxml2 version 2.11.7 or 2.12.5 and later.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed May 9, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://cert-portal.siemens.com/productcert/html/ssa-784301.html | siemens-SADP | |
| https://cert-portal.siemens.com/productcert/html/ssa-794697.html | siemens-SADP | |
| https://gitlab.gnome.org/GNOME/libxml2/-/issues/604 | CVE | ExploitIssue Tracking |
| https://gitlab.gnome.org/GNOME/libxml2/-/tags | CVE | Release Notes |
| https://lists.debian.org/debian-lts-announce/2025/02/msg00028.html | CVE | |
| https://security.netapp.com/advisory/ntap-20241018-0009/ | CVE | |
| https://gitlab.gnome.org/GNOME/libxml2/-/issues/604 | [email protected] | ExploitIssue Tracking |
| https://gitlab.gnome.org/GNOME/libxml2/-/tags | [email protected] | Release Notes |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-416 | Use After Free | [email protected] |
| CWE-416 | Use After Free | CISA-ADP |
Affected Products
| Product | Versions |
|---|---|
| xmlsoft libxml2 | < 2.11.7 >= 2.12.0, < 2.12.5 |
CPE
Remediation
| |
Change History
12 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 15, 2026 | CVE Modified | siemens-SADP |
| Oct 15, 2026 | CVE Modified | [email protected] |
| Oct 15, 2026 | CVE Modified | CVE |
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Nov 3, 2025 | CVE Modified | CVE |
| Nov 3, 2025 | CVE Modified | CVE |
| May 9, 2025 | CVE Modified | CISA-ADP |
| Nov 21, 2024 | CVE Modified | CVE |
| May 14, 2024 | CVE Modified | [email protected] |
| Feb 13, 2024 | Initial Analysis | [email protected] |
| Feb 4, 2024 | New CVE Received | [email protected] |