{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2025-9714","id":"CVE-2025-9714","title":"Stack overflow in libxml2","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 f","descriptionLong":"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":"2025-09-10T18:43:12.204Z","updated":"2026-10-28T11:06:43.180595666Z","reserved":"2025-08-29T23:28:33.339Z","status":"Modified","rejected":false,"assigner":"canonical","metric":{"version":"3.1","score":6.2,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"canonical"},"metrics":[{"version":"3.1","score":6.2,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"canonical"},{"version":"3.1","score":6.2,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"ubuntu.com"},{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"NVD"},{"version":"3.1","score":6.2,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"OSV"}],"rating":"medium","products":["libxml2"],"affectedProducts":[{"vendor":"libxml2","product":"libxml2","defaultStatus":"unaffected","versions":[{"lessThan":"2.10.0","status":"affected","version":"0","versionType":"semver"},{"lessThan":"2.12.7+dfsg+really2.9.14-0.4ubuntu0.3","status":"affected","version":"0","versionType":"dpkg"},{"lessThan":"2.9.14+dfsg-1.3ubuntu3.5","status":"affected","version":"0","versionType":"dpkg"},{"lessThan":"2.9.13+dfsg-1ubuntu0.9","status":"affected","version":"0","versionType":"dpkg"},{"lessThan":"2.9.10+dfsg-5ubuntu0.20.04.10+esm2","status":"affected","version":"0","versionType":"dpkg"},{"lessThan":"2.9.4+dfsg1-6.1ubuntu1.9+esm5","status":"affected","version":"0","versionType":"dpkg"},{"lessThan":"2.9.3+dfsg1-1ubuntu0.7+esm10","status":"affected","version":"0","versionType":"dpkg"},{"lessThan":"2.9.1+dfsg1-3ubuntu4.13+esm9","status":"affected","version":"0","versionType":"dpkg"}],"platforms":["Linux"]}],"packages":[],"cwes":["CWE-674"],"aliases":[],"references":[{"url":"https://gitlab.gnome.org/GNOME/libxml2/-/commit/677a42645ef22b5a50741bad5facf9d8a8bc6d21","tags":["patch","Patch","fix"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/09/msg00035.html","tags":["web"]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-577017.html","tags":["web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/9xxx/CVE-2025-9714.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-9714","tags":["advisory"]},{"url":"https://gitlab.gnome.org/GNOME/libxml2","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00166,"epssPercentile":0.05929,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2025-9714","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-9714","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2025-9714","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2025-9714","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}