VDB

CVE-2025-9714

CVE-2025-9714 PUBLISHED CVSS 6.2 MEDIUM

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.

PackageEcosystemFixed in
python3-libxml2errata.rockylinux.org2.9.7-21.el8, 0:2.9.7-21.el8_10.4.x86_64, 0:2.9.7-21.el8_10.4.aarch64
libxml2-debugsourceerrata.rockylinux.org2.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-debuginfoerrata.rockylinux.org2.9.7-21.el8, 0:2.9.7-21.el8_10.4.x86_64, 0:2.9.7-21.el8_10.4.aarch64
libxml2errata.rockylinux.org2.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-debuginfoerrata.rockylinux.org2.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
libxml2gitlab.gnome.org2.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-develerrata.rockylinux.org2.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 RX1500Siemens2.17.1
RUGGEDCOM ROX RX1510Siemens2.17.1
RUGGEDCOM ROX RX1512Siemens2.17.1
RUGGEDCOM ROX RX5000Siemens2.17.1
RUGGEDCOM ROX RX1511Siemens2.17.1

7 more packages have a fixed version. See every fix in Lookup.

Risk scores

CVSS 3.1
6.2
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Affected products

VendorProductVersions
libxml2libxml20, 0, 0
SiemensRUGGEDCOM ROX RX15000
SiemensRUGGEDCOM ROX RX15100
SiemensRUGGEDCOM ROX RX15120
SiemensRUGGEDCOM ROX RX50000
SiemensRUGGEDCOM ROX RX15110
SiemensRUGGEDCOM ROX RX14000
SiemensRUGGEDCOM ROX RX15010
SiemensRUGGEDCOM ROX MX50000
SiemensRUGGEDCOM ROX RX15240
libxml2libxml20, 0, 0
SiemensRUGGEDCOM ROX RX15360
SiemensRUGGEDCOM ROX MX5000RE0

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

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›