CVE-2025-9714
Stack overflow in libxml2
Reported by canonical · Published September 10, 2025
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| python3-libxml2 | errata.rockylinux.org | 2.9.7-21.el8, 0:2.9.7-21.el8_10.4.x86_64, 0:2.9.7-21.el8_10.4.aarch64 |
| libxml2-debugsource | errata.rockylinux.org | 2.9.7-21.el8, 0:2.9.7-21.el8_10.4.x86_64, 0:2.9.7-21.el8_10.4.i686, 0:2.9.7-21.el8_10.4.aarch64 |
| python3-libxml2-debuginfo | errata.rockylinux.org | 2.9.7-21.el8, 0:2.9.7-21.el8_10.4.x86_64, 0:2.9.7-21.el8_10.4.aarch64 |
| libxml2 | errata.rockylinux.org | 2.9.7-21.el8, 0:2.9.7-21.el8_10.4.x86_64, 0:2.9.7-21.el8_10.4.src, 0:2.9.7-21.el8_10.4.i686, 0:2.9.7-21.el8_10.4.aarch64 |
| libxml2-debuginfo | errata.rockylinux.org | 2.9.7-21.el8, 0:2.9.7-21.el8_10.4.x86_64, 0:2.9.7-21.el8_10.4.i686, 0:2.9.7-21.el8_10.4.aarch64 |
| libxml2 | gitlab.gnome.org | 2.12.7+dfsg+really2.9.14-0.4ubuntu0.3, 2.10.0, 2.9.14+dfsg-1.3ubuntu3.5, 2.9.13+dfsg-1ubuntu0.9, 2.9.10+dfsg-5ubuntu0.20.04.10+esm2, 2.9.4+dfsg1-6.1ubuntu1.9+esm5, 2.9.3+dfsg1-1ubuntu0.7+esm10, 2.9.1+dfsg1-3ubuntu4.13+esm9 |
| libxml2-devel | errata.rockylinux.org | 2.9.7-21.el8, 0:2.9.7-21.el8_10.4.x86_64, 0:2.9.7-21.el8_10.4.i686, 0:2.9.7-21.el8_10.4.aarch64 |
| RUGGEDCOM ROX RX1500 | Siemens | 2.17.1 |
| RUGGEDCOM ROX RX1510 | Siemens | 2.17.1 |
| RUGGEDCOM ROX RX1512 | Siemens | 2.17.1 |
| RUGGEDCOM ROX RX5000 | Siemens | 2.17.1 |
| RUGGEDCOM ROX RX1511 | Siemens | 2.17.1 |
7 more packages have a fixed version. See every fix in Lookup.
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| libxml2 | libxml2 | 0, 0, 0 |
| Siemens | RUGGEDCOM ROX RX1500 | 0 |
| Siemens | RUGGEDCOM ROX RX1510 | 0 |
| Siemens | RUGGEDCOM ROX RX1512 | 0 |
| Siemens | RUGGEDCOM ROX RX5000 | 0 |
| Siemens | RUGGEDCOM ROX RX1511 | 0 |
| Siemens | RUGGEDCOM ROX RX1400 | 0 |
| Siemens | RUGGEDCOM ROX RX1501 | 0 |
| Siemens | RUGGEDCOM ROX MX5000 | 0 |
| Siemens | RUGGEDCOM ROX RX1524 | 0 |
| libxml2 | libxml2 | 0, 0, 0 |
| Siemens | RUGGEDCOM ROX RX1536 | 0 |
| Siemens | RUGGEDCOM ROX MX5000RE | 0 |
Timeline
- Sep 2, 2025 CVE Published
- Sep 11, 2025 EPSS Score (30 in total, the first dated here)
- Mar 26, 2026 Coalition ESS Score (2 in total, the first dated here)
- Apr 29, 2026 Distribution Patch (41 in total, the first dated here)
- Apr 29, 2026 Security Advisory (41 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2025-9714
vulnetix vdb fixes CVE-2025-9714
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2025-9714/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart