Updated: 2025-11-10 03:03:43.267483
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.
| Links | NIST | CIRCL | RHEL | Ubuntu |
| Severity | Score | |
|---|---|---|
| CVSS Version 2.x | 0.0 | |
| CVSS Version 3.x | MEDIUM | 5.5 |
| OS name | Project name | Version | Score | Severity | Status | Errata | Last updated | Statement |
|---|---|---|---|---|---|---|---|---|
| RHEL 7 ELS | libxml2 | 2.9.1 | 5.5 | MEDIUM | Ignored | 2025-09-30 16:07:10 | Ignored due to low severity | |
| Ubuntu 16.04 ELS | libxml2 | 2.9.3 | 5.5 | MEDIUM | Released | CLSA-2025:1760020147 | 2025-10-09 15:37:36 | |
| Ubuntu 18.04 ELS | libxml2 | 2.9.4 | 5.5 | MEDIUM | Released | CLSA-2025:1760020498 | 2025-10-09 15:37:27 | |
| Ubuntu 20.04 ELS | libxml2 | 2.9.10 | 5.5 | MEDIUM | Released | CLSA-2025:1760020311 | 2025-10-09 15:37:31 |