Free and open · new CVEs checked every 20 minutesStatusRSSOpen dataContact

CVE-2025-9714: Uncontrolled recursion in XPath evaluation in libxml2 up to and including version 2.9.14 allows a local attack

23
Routine
MEDIUM 6.2UPGRADE

CVE-2025-9714 is a medium-severity flaw (CVSS 6.2) affecting libxml2. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.

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 over

Why this priority

  • No elevated risk signals yet

A fixed release or distro patch exists.

Risk facts

CVSS score6.2 (Medium)
Attack vectorLocal
Attack complexityLow
Privileges neededNone
User interactionNone
EPSS exploit chance0.2% (top 95%)
CISA exploited listNo
WeaknessCWE-674
Published2025-09-10
Last modified2026-10-19
Publisher (CNA): Canonical Ltd. · Vendor: xmlsoft

Share: LinkedIn · X · Reddit

Last updated 2026-10-19 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score

Am I affected?

Timeline

xmlsoft libxml2 UPGRADE
Affected: < 2.10.0
Fixed in: 2.10.0
Safe to downgrade to: no unaffected older release
1. Check installed version
apt-cache policy libxml2 || rpm -q libxml2 || libxml2 --version
2. UPGRADE to 2.10.0 (Debian / Ubuntu)
sudo apt update && sudo apt install --only-upgrade libxml2
2. UPGRADE (RHEL / Amazon Linux / Fedora)
sudo dnf upgrade libxml2
Note
Distros often backport fixes without changing the version number. Confirm with the distro advisory or changelog.
Verify at the official source NVD · CVE Program · Report a problem with this page
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.

Quick answers

How do I fix CVE-2025-9714?

libxml2: upgrade to 2.10.0. Exact commands for each OS are on this page.

Is CVE-2025-9714 being exploited?

CVE-2025-9714 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.

What does CVE-2025-9714 affect?

CVE-2025-9714 affects libxml2. Severity is medium (CVSS 6.2). 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 `xm

How urgent is CVE-2025-9714?

Priority 23/100. No elevated risk signals yet.

Software pages

libxml2 vulnerabilities

Related CVEs

References

← Back to latest CVEs

Get the weekly exploited-CVE digest by emailThe CVEs being attacked this week and how to fix them. No spam, unsubscribe any time.