{"api_version":"1","generated_at":"2026-05-13T01:06:34+00:00","cve":"CVE-2025-9714","urls":{"html":"https://cve.report/CVE-2025-9714","api":"https://cve.report/api/cve/CVE-2025-9714.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2025-9714","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2025-9714"},"summary":{"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 for uncontrolled recursion and lead to a stack overflow. These functions now preserve recursion depth across recursive calls, allowing recursion depth to be controlled.","state":"PUBLISHED","assigner":"canonical","published_at":"2025-09-10 19:15:42","updated_at":"2026-05-12 13:17:30"},"problem_types":["CWE-674","CWE-674 CWE-674 Uncontrolled Recursion"],"metrics":[{"version":"3.1","source":"nvd@nist.gov","type":"Primary","score":"5.5","severity":"MEDIUM","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","data":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","baseScore":5.5,"baseSeverity":"MEDIUM","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"HIGH"}},{"version":"3.1","source":"security@ubuntu.com","type":"Secondary","score":"6.2","severity":"MEDIUM","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","data":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","baseScore":6.2,"baseSeverity":"MEDIUM","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"HIGH"}},{"version":"3.1","source":"CNA","type":"CVSS","score":"6.2","severity":"MEDIUM","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","data":{"attackComplexity":"LOW","attackVector":"LOCAL","availabilityImpact":"HIGH","baseScore":6.2,"baseSeverity":"MEDIUM","confidentialityImpact":"NONE","integrityImpact":"NONE","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","version":"3.1"}}],"references":[{"url":"https://gitlab.gnome.org/GNOME/libxml2/-/commit/677a42645ef22b5a50741bad5facf9d8a8bc6d21","name":"https://gitlab.gnome.org/GNOME/libxml2/-/commit/677a42645ef22b5a50741bad5facf9d8a8bc6d21","refsource":"security@ubuntu.com","tags":["Patch"],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://lists.debian.org/debian-lts-announce/2025/09/msg00035.html","name":"https://lists.debian.org/debian-lts-announce/2025/09/msg00035.html","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-577017.html","name":"https://cert-portal.siemens.com/productcert/html/ssa-577017.html","refsource":"0b142b55-0307-4c5a-b3c9-f314f3fb7c5e","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2025-9714","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-9714","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"libxml2","product":"libxml2","version":"affected 2.10.0 semver","platforms":["Linux"]},{"source":"CNA","vendor":"libxml2","product":"libxml2","version":"affected 2.12.7+dfsg+really2.9.14-0.4ubuntu0.3 dpkg","platforms":["Linux"]},{"source":"CNA","vendor":"libxml2","product":"libxml2","version":"affected 2.9.14+dfsg-1.3ubuntu3.5 dpkg","platforms":["Linux"]},{"source":"CNA","vendor":"libxml2","product":"libxml2","version":"affected 2.9.13+dfsg-1ubuntu0.9 dpkg","platforms":["Linux"]},{"source":"CNA","vendor":"libxml2","product":"libxml2","version":"affected 2.9.10+dfsg-5ubuntu0.20.04.10+esm2 dpkg","platforms":["Linux"]},{"source":"CNA","vendor":"libxml2","product":"libxml2","version":"affected 2.9.4+dfsg1-6.1ubuntu1.9+esm5 dpkg","platforms":["Linux"]},{"source":"CNA","vendor":"libxml2","product":"libxml2","version":"affected 2.9.3+dfsg1-1ubuntu0.7+esm10 dpkg","platforms":["Linux"]},{"source":"CNA","vendor":"libxml2","product":"libxml2","version":"affected 2.9.1+dfsg1-3ubuntu4.13+esm9 dpkg","platforms":["Linux"]},{"source":"ADP","vendor":"Siemens","product":"RUGGEDCOM ROX MX5000","version":"affected V2.17.1 custom","platforms":[]},{"source":"ADP","vendor":"Siemens","product":"RUGGEDCOM ROX MX5000RE","version":"affected V2.17.1 custom","platforms":[]},{"source":"ADP","vendor":"Siemens","product":"RUGGEDCOM ROX RX1400","version":"affected V2.17.1 custom","platforms":[]},{"source":"ADP","vendor":"Siemens","product":"RUGGEDCOM ROX RX1500","version":"affected V2.17.1 custom","platforms":[]},{"source":"ADP","vendor":"Siemens","product":"RUGGEDCOM ROX RX1501","version":"affected V2.17.1 custom","platforms":[]},{"source":"ADP","vendor":"Siemens","product":"RUGGEDCOM ROX RX1510","version":"affected V2.17.1 custom","platforms":[]},{"source":"ADP","vendor":"Siemens","product":"RUGGEDCOM ROX RX1511","version":"affected V2.17.1 custom","platforms":[]},{"source":"ADP","vendor":"Siemens","product":"RUGGEDCOM ROX RX1512","version":"affected V2.17.1 custom","platforms":[]},{"source":"ADP","vendor":"Siemens","product":"RUGGEDCOM ROX RX1524","version":"affected V2.17.1 custom","platforms":[]},{"source":"ADP","vendor":"Siemens","product":"RUGGEDCOM ROX RX1536","version":"affected V2.17.1 custom","platforms":[]},{"source":"ADP","vendor":"Siemens","product":"RUGGEDCOM ROX RX5000","version":"affected V2.17.1 custom","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[{"source":"CNA","value":"Nikita Sveshnikov (Positive Technologies)","lang":"en"}],"nvd_cpes":[{"cve_year":"2025","cve_id":"9714","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"xmlsoft","cpe5":"libxml2","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":{"cve_year":"2025","cve_id":"9714","cve":"CVE-2025-9714","epss":"0.000090000","percentile":"0.009450000","score_date":"2026-05-12","updated_at":"2026-05-13 00:11:53"},"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"adp":[{"metrics":[{"other":{"content":{"id":"CVE-2025-9714","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","timestamp":"2025-09-10T18:46:42.383800Z","version":"2.0.3"},"type":"ssvc"}}],"providerMetadata":{"dateUpdated":"2025-09-10T18:46:46.622Z","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","shortName":"CISA-ADP"},"title":"CISA ADP Vulnrichment"},{"providerMetadata":{"dateUpdated":"2025-11-03T18:14:19.914Z","orgId":"af854a3a-2127-422b-91ae-364da2661108","shortName":"CVE"},"references":[{"url":"https://lists.debian.org/debian-lts-announce/2025/09/msg00035.html"}],"title":"CVE Program Container"},{"affected":[{"defaultStatus":"unknown","product":"RUGGEDCOM ROX MX5000","vendor":"Siemens","versions":[{"lessThan":"V2.17.1","status":"affected","version":"0","versionType":"custom"}]},{"defaultStatus":"unknown","product":"RUGGEDCOM ROX MX5000RE","vendor":"Siemens","versions":[{"lessThan":"V2.17.1","status":"affected","version":"0","versionType":"custom"}]},{"defaultStatus":"unknown","product":"RUGGEDCOM ROX RX1400","vendor":"Siemens","versions":[{"lessThan":"V2.17.1","status":"affected","version":"0","versionType":"custom"}]},{"defaultStatus":"unknown","product":"RUGGEDCOM ROX RX1500","vendor":"Siemens","versions":[{"lessThan":"V2.17.1","status":"affected","version":"0","versionType":"custom"}]},{"defaultStatus":"unknown","product":"RUGGEDCOM ROX RX1501","vendor":"Siemens","versions":[{"lessThan":"V2.17.1","status":"affected","version":"0","versionType":"custom"}]},{"defaultStatus":"unknown","product":"RUGGEDCOM ROX RX1510","vendor":"Siemens","versions":[{"lessThan":"V2.17.1","status":"affected","version":"0","versionType":"custom"}]},{"defaultStatus":"unknown","product":"RUGGEDCOM ROX RX1511","vendor":"Siemens","versions":[{"lessThan":"V2.17.1","status":"affected","version":"0","versionType":"custom"}]},{"defaultStatus":"unknown","product":"RUGGEDCOM ROX RX1512","vendor":"Siemens","versions":[{"lessThan":"V2.17.1","status":"affected","version":"0","versionType":"custom"}]},{"defaultStatus":"unknown","product":"RUGGEDCOM ROX RX1524","vendor":"Siemens","versions":[{"lessThan":"V2.17.1","status":"affected","version":"0","versionType":"custom"}]},{"defaultStatus":"unknown","product":"RUGGEDCOM ROX RX1536","vendor":"Siemens","versions":[{"lessThan":"V2.17.1","status":"affected","version":"0","versionType":"custom"}]},{"defaultStatus":"unknown","product":"RUGGEDCOM ROX RX5000","vendor":"Siemens","versions":[{"lessThan":"V2.17.1","status":"affected","version":"0","versionType":"custom"}]}],"providerMetadata":{"dateUpdated":"2026-05-12T12:02:43.668Z","orgId":"0b142b55-0307-4c5a-b3c9-f314f3fb7c5e","shortName":"siemens-SADP"},"references":[{"url":"https://cert-portal.siemens.com/productcert/html/ssa-577017.html"}],"x_adpType":"supplier"}],"cna":{"affected":[{"collectionURL":"https://gitlab.gnome.org/GNOME/libxml2","defaultStatus":"unaffected","modules":["xpath"],"packageName":"libxml2","platforms":["Linux"],"product":"libxml2","programFiles":["xpath.c"],"repo":"https://gitlab.gnome.org/GNOME/libxml2","vendor":"libxml2","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"}]}],"credits":[{"lang":"en","type":"reporter","value":"Nikita Sveshnikov (Positive Technologies)"}],"descriptions":[{"lang":"en","supportingMedia":[{"base64":false,"type":"text/html","value":"<div>Uncontrolled recursion in&nbsp;XPath evaluation&nbsp;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`, `<code>xmlXPathCtxtCompile</code>`, and `<code>xmlXPathEvalExpr</code>` 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.</div>"}],"value":"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."}],"impacts":[{"capecId":"CAPEC-130","descriptions":[{"lang":"en","value":"CAPEC-130 Excessive Allocation"}]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"LOCAL","availabilityImpact":"HIGH","baseScore":6.2,"baseSeverity":"MEDIUM","confidentialityImpact":"NONE","integrityImpact":"NONE","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","version":"3.1"},"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-674","description":"CWE-674 Uncontrolled Recursion","lang":"en","type":"CWE"}]}],"providerMetadata":{"dateUpdated":"2025-09-10T18:43:12.204Z","orgId":"cc1ad9ee-3454-478d-9317-d3e869d708bc","shortName":"canonical"},"references":[{"tags":["patch"],"url":"https://gitlab.gnome.org/GNOME/libxml2/-/commit/677a42645ef22b5a50741bad5facf9d8a8bc6d21"}],"source":{"discovery":"EXTERNAL"},"title":"Stack overflow in libxml2","x_generator":{"engine":"Vulnogram 0.2.0"}}},"cveMetadata":{"assignerOrgId":"cc1ad9ee-3454-478d-9317-d3e869d708bc","assignerShortName":"canonical","cveId":"CVE-2025-9714","datePublished":"2025-09-10T18:43:12.204Z","dateReserved":"2025-08-29T23:28:33.339Z","dateUpdated":"2026-05-12T12:02:43.668Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2025-09-10 19:15:42","lastModifiedDate":"2026-05-12 13:17:30","problem_types":["CWE-674","CWE-674 CWE-674 Uncontrolled Recursion"],"metrics":{"cvssMetricV31":[{"source":"security@ubuntu.com","type":"Secondary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","baseScore":6.2,"baseSeverity":"MEDIUM","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"HIGH"},"exploitabilityScore":2.5,"impactScore":3.6},{"source":"nvd@nist.gov","type":"Primary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","baseScore":5.5,"baseSeverity":"MEDIUM","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"HIGH"},"exploitabilityScore":1.8,"impactScore":3.6}]},"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:xmlsoft:libxml2:*:*:*:*:*:*:*:*","versionEndExcluding":"2.10.0","matchCriteriaId":"6A6A3E8A-FBA5-4AA0-B9D8-F2536DB076F0"}]}]}]},"legacy_mitre":{"record":{"CveYear":"2025","CveId":"9714","Ordinal":"1","Title":"Stack overflow in libxml2","CVE":"CVE-2025-9714","Year":"2025"},"notes":[{"CveYear":"2025","CveId":"9714","Ordinal":"1","NoteData":"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.","Type":"Description","Title":"Stack overflow in libxml2"}]}}}