CVE-2025-9714

MEDIUM CVSS 3.1: 5.5 EPSS 0.17%
Updated Oct 19, 2026
xmlsoft
Parameter Value
CVSS 5.5 (MEDIUM)
Affected Versions before 2.10.0
Fixed In 2.10.0
Type CWE-674
Vendor xmlsoft
Public PoC No

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.

Attack Parameters

Attack Vector
Local
Requires local access
Attack Complexity
Low
Easy to exploit
Privileges Required
Low
Basic privileges needed
User Interaction
None
No user interaction needed

Impact Assessment

Confidentiality
None
No data leak
Integrity
None
No data modification
Availability
High
Complete denial of service

CVSS Vector v3.1

Weakness Type (CWE)

Vulnerable Products 1

Configuration From (including) Up to (excluding)
Xmlsoft Libxml2
cpe:2.3:a:xmlsoft:libxml2:*:*:*:*:*:*:*:*
— 2.10.0