CVE-2025-9714

Medium

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.

SeverityMedium
CVSS6.2
Exploit probability—
ProductXmlsoft Libxml2
PublishedSep 10, 2025
First seenSep 10, 2025
Weakness typeCWE-674CWE-674

How to fix

Affected products

ProductAffected versionsFixed in
xmlsoft libxml2v < 2.10.02.10.0

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.