CVE-2025-9714CWE-674

CVE-2025-9714

Medium · published September 10, 2025

CVSS v3.1
6.2
EPSS
0%
Percentile
4.6
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
6.2 · MEDIUM
Vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS v4.0
Not supplied
EPSS
0.00158 · 4.6th percentile
Weakness
CWE-674 · Uncontrolled Recursion
Published
2025-09-10T23:15Z
Affected products (1)
ProductVersionsFixed in
xmlsoft/libxml2< 2.10.02.10.0
References (3)
EPSS history
Timeline
  • 10 SEP 18:43Z
    Stack overflow in libxml2
    cvelistv5