CONTENTUM.COMA specialist. A plan. A result.

Vulnerabilities · 2025 · Xmlsoft

CVE-2025-9714
Xmlsoft Libxml2 vulnerability

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

Libxml2. The exact versions are in the references.

What to do now

  • Check your exposureFind out whether Xmlsoft Libxml2 runs anywhere in your environment, including systems of suppliers.
  • UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
  • Set the orderSystems that can be reached from the internet come first, then the rest.

References

More vulnerabilities in Xmlsoft products

Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.