Logo
vulnerabilityCVE-2025-9714
Name
CVE-2025-9714
Source
NVD ( link)Debian ( link)
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.
Published Date
Updated Date
Workaround
-

Analysis#


Affected Component
Analysis
libxml2
Patched

Vulnerability Ratings#


6.2
CVSSv31
5.5
CVSSv31
NaN
other

Others affected components#


Name
Project
Project Version
Version
Status
buildroot
2025.02.x
2.15.3
Not Affected
buildroot
master
2.15.3
Not Affected
openwrt
master
2.15.3-r1
Not Affected
openwrt
openwrt-25.12
2.15.1-r1
Not Affected
yocto
master
2.15.3
Not Affected
yocto
scarthgap
2.12.10
Not Affected

Resolved with patches#


libxml2 (yocto:kirkstone)

#
Title
Author
Resolve
1
Make XPath depth check work with recursive invocations
Nick Wellnhofer <wellnhofer@aevum.de>
CVE-2025-9714