CVE-2025-9714 Details
Description
Uncontrolled recursion in XPath evaluation in libxml2 up to and including version 2.9.14 allows a local attacker to cause a stack overflow via crafted expressions. XPath processing functions `xmlXPathRunEval`, `xmlXPathCtxtCompile`, and `xmlXPathEvalExpr` were resetting recursion depth to zero before making potentially recursive calls. When such functions were called recursively this could allow for uncontrolled recursion and lead to a stack overflow. These functions now preserve recursion depth across recursive calls, allowing recursion depth to be controlled.
A stack overflow vulnerability has been identified in libxml2 versions prior to and including 2.9.14. This issue arises from uncontrolled recursion in XPath evaluation, allowing local attackers to cause a stack overflow by exploiting crafted expressions. The vulnerability is rooted in the XPath processing functions 'xmlXPathRunEval', 'xmlXPathCtxtCompile', and 'xmlXPathEvalExpr', which improperly reset the recursion depth to zero before executing potentially recursive calls. As a result, these functions could be called recursively without control, leading to a stack overflow.
Users can upgrade to libxml2 versions after 2.9.14 to address this vulnerability.
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 Sep 10, 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.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-674 | Uncontrolled Recursion | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| xmlsoft libxml2 | < 2.10.0 |
CPE
Remediation
| |
Change History
8 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 19, 2026 | CVE Translated | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | siemens-SADP |
| May 12, 2026 | CVE Modified | siemens-SADP |
| Nov 3, 2025 | CVE Modified | CVE |
| Sep 17, 2025 | Initial Analysis | [email protected] |
| Sep 10, 2025 | New CVE Received | [email protected] |