CVEFinder.io

CVE-2025-9714

🔶 medium
🔍 Scan for this CVE
Summary

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

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.

CVSS Score
6.2
Medium
EPSS Score
0.0
Exploit Probability
Published Date
2025-09-10
First Seen: 2026-01-05
📊 Relative Risk Intelligence

This CVE is Lower Risk - more severe than 39.2% of all 329,456 vulnerabilities in our database.

#200,263
Below average severity
Severity Percentile
🎯 CISA SSVC Assessment Updated: Sep 10, 2025
🔍 Exploitation Status
None
No known exploits
⚙️ Automatable
NO
Requires human interaction
💥 Technical Impact
Partial
Limited system impact
🏆 Discovered By
Nikita Sveshnikov (Positive Technologies) (reporter)
SSVC data provided by CISA
Last Modified 2025-11-03
Source NVD 🔗
CVSS Vector 3.1 CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CWE IDs (Weakness Types)

📦 Affected Products 1

🔗 References 2

🔗 Related CVEs 6

CVE ID Severity CVSS EPSS Summary Published
CVE-2026-6732 🔶 medium 6.5 0.1 A flaw was found in libxml2. This vulnerability occurs when the library processes a specially crafted XML Schema Definit... 2026-04-23
CVE-2025-6170 ℹ️ low 2.5 0.0 A flaw was found in the interactive shell of the xmllint command-line tool, used for parsing XML files. When a user inpu... 2025-06-16
CVE-2025-6021 ⚠️ high 7.5 1.7 A flaw was found in libxml2's xmlBuildQName function, where integer overflows in buffer size calculations can lead to a ... 2025-06-12
CVE-2025-32415 ℹ️ low 2.9 0.0 In libxml2 before 2.13.8 and 2.14.x before 2.14.2, xmlSchemaIDCFillNodeTables in xmlschemas.c has a heap-based buffer un... 2025-04-17
CVE-2025-32414 🔶 medium 5.6 0.2 In libxml2 before 2.13.8 and 2.14.x before 2.14.2, out-of-bounds memory access can occur in the Python API (Python bindi... 2025-04-08
CVE-2024-56171 ⚠️ high 7.8 0.1 libxml2 before 2.12.10 and 2.13.x before 2.13.6 has a use-after-free in xmlSchemaIDCFillNodeTables and xmlSchemaBubbleID... 2025-02-18
These CVEs affect the same products