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 |
|---|---|---|---|---|---|---|---|---|
| AlmaLinux 9.2 ESU | libxml2 | 2.9.13 | 5.5 | MEDIUM | Released | CLSA-2025:1759411642 | 2025-10-02 23:13:44 | |
| CentOS 6 ELS | libxml2 | 2.7.6 | 5.5 | MEDIUM | Ignored | 2025-09-30 16:07:09 | Ignored due to low severity | |
| CentOS 7 ELS | libxml2 | 2.9.1 | 5.5 | MEDIUM | Ignored | 2025-09-30 16:07:11 | Ignored due to low severity | |
| CentOS 8.4 ELS | libxml2 | 2.9.7-9 | 5.5 | MEDIUM | Needs Triage | 2025-09-28 06:44:02 | ||
| CentOS 8.5 ELS | libxml2 | 2.9.7-9 | 5.5 | MEDIUM | Needs Triage | 2025-09-28 06:43:58 | ||
| CentOS Stream 8 ELS | libxml2 | 2.9.7 | 5.5 | MEDIUM | Ignored | 2025-09-30 16:07:12 | Ignored due to low severity | |
| CloudLinux 7 ELS | libxml2 | 2.9.1 | 5.5 | MEDIUM | Ignored | 2025-09-30 16:07:11 | Ignored due to low severity | |
| Debian 10 ELS | libxml2 | 2.9.4 | 5.5 | MEDIUM | Ignored | 2025-10-11 00:22:11 | Ignored due to low severity | |
| Oracle Linux 6 ELS | libxml2 | 2.7.6 | 5.5 | MEDIUM | Released | CLSA-2025:1763031933 | 2025-11-13 11:11:44 | |
| Oracle Linux 7 ELS | libxml2 | 2.9.1 | 5.5 | MEDIUM | Ignored | 2025-09-30 16:07:10 | Ignored due to low severity |