CVE-2025-9714

Severity
5.5MEDIUM
EPSS
0.0%
top 99.09%
CISA KEV
Not in KEV
Exploit
No known exploits
Timeline
PublishedSep 10

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

CVSS vector

CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HExploitability: 2.5 | Impact: 3.6

Affected Packages3 packages

CVEListV5libxml2/libxml2< 2.10.0+7
NVDxmlsoft/libxml2< 2.10.0
Debianlibxml2< 2.9.10+dfsg-6.7+deb11u9+3

Patches

🔴Vulnerability Details

3
OSV
CVE-2025-9714: Uncontrolled recursion in XPath evaluation in libxml2 up to and including version 22025-09-10
GHSA
GHSA-fmj5-rvmp-845r: Uncontrolled recursion in XPath evaluation in libxml2 up to and including version 22025-09-10
CVEList
Stack overflow in libxml22025-09-10

📋Vendor Advisories

3
Ubuntu
libxml2 vulnerability2025-09-10
Red Hat
libxslt: libxml2: Inifinite recursion at exsltDynMapFunction function in libexslt/dynamic.c2025-09-02
Debian
CVE-2025-9714: libxml2 - Uncontrolled recursion in XPath evaluation in libxml2 up to and including versio...2025
CVE-2025-9714 (MEDIUM CVSS 5.5) | Uncontrolled recursion in XPath eva | cvebase.io