Skip to content
6.2 Medium

CVE-2025-9714 Uncontrolled recursion in XPath evaluation in libxml2 up to and including version 2.9.14 allows a local attacker to…

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.

Affected products and versions

Product Affected versions Fixed in
libxml2 2.12 earliest → < 2.12.7+dfsg+really2.9.14-0.4ubuntu0.3 2.12.7+dfsg+really2.9.14-0.4ubuntu0.3
libxml2 2.10 earliest → < 2.10.0 2.10.0
libxml2 2.9 earliest → < 2.9.14+dfsg-1.3ubuntu3.5 2.9.14+dfsg-1.3ubuntu3.5
RUGGEDCOM ROX MX5000 2.17 earliest → < 2.17.1 2.17.1
RUGGEDCOM ROX MX5000RE 2.17 earliest → < 2.17.1 2.17.1
RUGGEDCOM ROX RX1400 2.17 earliest → < 2.17.1 2.17.1
RUGGEDCOM ROX RX1500 2.17 earliest → < 2.17.1 2.17.1
RUGGEDCOM ROX RX1501 2.17 earliest → < 2.17.1 2.17.1
RUGGEDCOM ROX RX1510 2.17 earliest → < 2.17.1 2.17.1
Show the 5 other branches
Product Affected versions Fixed in
RUGGEDCOM ROX RX1511 2.17 earliest → < 2.17.1 2.17.1
RUGGEDCOM ROX RX1512 2.17 earliest → < 2.17.1 2.17.1
RUGGEDCOM ROX RX1524 2.17 earliest → < 2.17.1 2.17.1
RUGGEDCOM ROX RX1536 2.17 earliest → < 2.17.1 2.17.1
RUGGEDCOM ROX RX5000 2.17 earliest → < 2.17.1 2.17.1

References

Timeline

  1. Published
  2. Last modified
The 2 CVEs of libxml2 →
Track this CVE