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.
Overview
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.
- Published
- 9/10/2025
- Last modified
- 10/19/2026
- CVE assigner
- Not available
- NVD analysis
- Not available
Exploitation
No CISA KEV flag in the saved record
An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.
EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare
Affected products
Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.
| Vendor / product | Affected versions | Platform / conditions | Evidence |
|---|---|---|---|
libxml2 xmlsoft | < 2.10.0 | Verify advisory | Source |
libxml2 libxml2 | < 2.10.0 | Verify advisory Verify the advisory platform, edition, update channel, and any version exceptions. | Source |
libxml2 libxml2 | < 2.12.7+dfsg+really2.9.14-0.4ubuntu0.3 | Verify advisory Verify the advisory platform, edition, update channel, and any version exceptions. | Source |
libxml2 libxml2 | < 2.9.14+dfsg-1.3ubuntu3.5 | Verify advisory Verify the advisory platform, edition, update channel, and any version exceptions. | Source |
libxml2 libxml2 | < 2.9.13+dfsg-1ubuntu0.9 | Verify advisory Verify the advisory platform, edition, update channel, and any version exceptions. | Source |
libxml2 libxml2 | < 2.9.10+dfsg-5ubuntu0.20.04.10+esm2 | Verify advisory Verify the advisory platform, edition, update channel, and any version exceptions. | Source |
libxml2 libxml2 | < 2.9.4+dfsg1-6.1ubuntu1.9+esm5 | Verify advisory Verify the advisory platform, edition, update channel, and any version exceptions. | Source |
libxml2 libxml2 | < 2.9.3+dfsg1-1ubuntu0.7+esm10 | Verify advisory Verify the advisory platform, edition, update channel, and any version exceptions. | Source |
libxml2 libxml2 | < 2.9.1+dfsg1-3ubuntu4.13+esm9 | Verify advisory Verify the advisory platform, edition, update channel, and any version exceptions. | Source |
RUGGEDCOM ROX MX5000 Siemens | < V2.17.1 | Verify advisory | Source |
RUGGEDCOM ROX MX5000RE Siemens | < V2.17.1 | Verify advisory | Source |
RUGGEDCOM ROX RX1400 Siemens | < V2.17.1 | Verify advisory | Source |
RUGGEDCOM ROX RX1500 Siemens | < V2.17.1 | Verify advisory | Source |
RUGGEDCOM ROX RX1501 Siemens | < V2.17.1 | Verify advisory | Source |
RUGGEDCOM ROX RX1510 Siemens | < V2.17.1 | Verify advisory | Source |
RUGGEDCOM ROX RX1511 Siemens | < V2.17.1 | Verify advisory | Source |
RUGGEDCOM ROX RX1512 Siemens | < V2.17.1 | Verify advisory | Source |
RUGGEDCOM ROX RX1524 Siemens | < V2.17.1 | Verify advisory | Source |
RUGGEDCOM ROX RX1536 Siemens | < V2.17.1 | Verify advisory | Source |
RUGGEDCOM ROX RX5000 Siemens | < V2.17.1 | Verify advisory | Source |
Recommended actions
Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.
Vendor advisory links
Derived from non-aggregator references because the source record has no vendor tags. Verify the advisory before acting on it.
Severity
CVSS describes technical impact. It is separate from exploitation evidence.
Published headline score: 6.2. Score version, vector, and attribution are not available in this record. Additional score details appear when the source record is next refreshed.
Sources & references
Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.