{"id":"CVE-2025-9714","published":"2025-09-10T18:43:12Z","modified":"2026-05-12T12:02:43Z","title":"Stack overflow in libxml2","vendor":"libxml2","product":"libxml2","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.2,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00166,"percentile":0.05945,"provenance":"source"},"cwes":[{"id":"CWE-674","name":"Uncontrolled Recursion"}],"references":[{"url":"https://gitlab.gnome.org/GNOME/libxml2/-/commit/677a42645ef22b5a50741bad5facf9d8a8bc6d21","tags":["patch"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/09/msg00035.html","tags":[]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-577017.html","tags":[]}],"priority":{"score":5.5,"factors":[{"name":"EPSS percentile","points":1.19},{"name":"CVSS severity","points":4.34}]},"vendorSlug":"libxml2","affectedVersions":[{"vendor":"libxml2","product":"libxml2","versions":["< 2.10.0","< 2.12.7+dfsg+really2.9.14-0.4ubuntu0.3","< 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"]}],"capec":[{"id":"CAPEC-130","name":"Excessive Allocation"}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2025-09-10T18:46:42.383800Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2025-27609","exploited":false,"provenance":"source"}}