6.2

CVE-2025-9714: libxml2 Uncontrolled Recursion

CVSS: 6.2v3.1MediumModified
AliasesRHSA-2025:22162RHSA-2025:22163RHSA-2025:22177
Published 10-09-2025Last modified 12-05-2026

Vulnerability summary

CVE-2025-9714 is a medium (CVSS 6.2) Uncontrolled Recursion vulnerability in libxml2. EPSS estimates a 0.16% chance of exploitation in the next 30 days, higher than 4.5% of scored vulnerabilities.

Overall risk
25/100
0100
Medium · default modelHow is this calculated?
CVSS score
6.2/10
010
Medium · v3.1 (CVE.org)
EPSS score
0.16%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 4 · Related 3

Timeline

  1. 10-09-2025
    PublishedVulnerability first disclosed.
  2. 12-05-2026
    Last modifiedVulnerability information updated.

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.

CVSS metrics

5 scores · 5 sources · 1 version

EPSS trend

Probability

0.16%

Chance of exploitation in the next 30 days

Percentile

5%

Versus all other CVEs

30-day change

0.00 pp

From 0.15% on 18-09-2026

18-09-202618-10-2026
EPSS score
0.16%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Redhat8 products
  • libxml2< 0:2.9.7-21.el8_10.4 | < 0:2.9.7-9.el8_4.9 | < 0:2.9.7-16.el8_8.13 | < 0:2.9.7-13.el8_6.13 | < 0:2.9.1-6.el7_9.14 | < 0:2.9.13-3.el9_2.10 | < 0:2.9.13-13.el9_4 | < 0:2.9.13-1.el9_0.8 | < 0:2.9.13-14.el9_7 | < 0:2.9.13-12.el9_6.1
  • libxml2-debuginfo< 0:2.9.7-21.el8_10.4 | < 0:2.9.7-9.el8_4.9 | < 0:2.9.7-16.el8_8.13 | < 0:2.9.7-13.el8_6.13 | < 0:2.9.1-6.el7_9.14 | < 0:2.9.13-3.el9_2.10 | < 0:2.9.13-13.el9_4 | < 0:2.9.13-1.el9_0.8 | < 0:2.9.13-14.el9_7 | < 0:2.9.13-12.el9_6.1
  • libxml2-debugsource< 0:2.9.7-21.el8_10.4 | < 0:2.9.7-9.el8_4.9 | < 0:2.9.7-16.el8_8.13 | < 0:2.9.7-13.el8_6.13 | < 0:2.9.13-3.el9_2.10 | < 0:2.9.13-13.el9_4 | < 0:2.9.13-1.el9_0.8 | < 0:2.9.13-14.el9_7 | < 0:2.9.13-12.el9_6.1
  • libxml2-devel< 0:2.9.7-21.el8_10.4 | < 0:2.9.7-9.el8_4.9 | < 0:2.9.7-16.el8_8.13 | < 0:2.9.7-13.el8_6.13 | < 0:2.9.1-6.el7_9.14 | < 0:2.9.13-3.el9_2.10 | < 0:2.9.13-13.el9_4 | < 0:2.9.13-1.el9_0.8 | < 0:2.9.13-14.el9_7 | < 0:2.9.13-12.el9_6.1
  • libxml2-python< 0:2.9.1-6.el7_9.14
Debian1 product
  • libxml2< 2.9.14+dfsg-1.3~deb12u5 | < 2.12.7+dfsg+really2.9.14-2.1+deb13u2 | < 2.14.5+dfsg-0.1 | < 2.9.10+dfsg-6.7+deb11u9
Libxml21 product
  • libxml2< 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
Ubuntu1 product
  • libxml2< 2.9.1+dfsg1-3ubuntu4.13+esm9 | < 2.9.3+dfsg1-1ubuntu0.7+esm10 | < 2.9.4+dfsg1-6.1ubuntu1.9+esm5 | < 2.9.10+dfsg-5ubuntu0.20.04.10+esm2 | < 2.9.13+dfsg-1ubuntu0.9 | < 2.9.14+dfsg-1.3ubuntu3.5
Xmlsoft1 product

5 vendors · 12 products

References

32 links
Show all 32 references