StraitOfVuln
Latest / CVE-2025-9714

CVE-2025-9714

MediumCVSS 5.5 (v3.1)Modified
CVE.org ↗NVD ↗

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.

Details

CVE ID
CVE-2025-9714
Published / updated
10 Sept 2025, 19:15 UTC · last modified 19 Oct 2026, 17:10 UTC
Severity
MEDIUM
CVSS score
5.5 · v3.1 · CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H · Attack vector: Local
Affected vendor
Affected products
Libxml2
Affected versions
Libxml2: < 2.10.0
Fixed versions
libxml2 2.10.0
Exploitation status
Not in CISA KEV (no confirmed exploitation recorded)
EPSS
0.18% probability of exploitation in the next 30 days · 7% percentile (02 Dec 2026)
Weakness
Remediation
Upgrade to a fixed release (libxml2 2.10.0) per the vendor advisory.
Source (CNA)
security@ubuntu.com