cve.bz

CVE-2025-9714 xmlsoft libxml2: Uncontrolled Recursion

5.5 mediumEPSS 0.2%Fix available

Medium (5.5) in xmlsoft libxml2. EPSS 0.2% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

5.5 medium
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
EPSS
0.2% (unchanged from 0.2% a week ago; 0.2% 30 days ago) estimated probability of exploitation activity in the next 30 days; 6th percentile. Scored 2026-11-15. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2025-09-10. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-674 Uncontrolled Recursion
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2025-9714 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2025-9714?via=ask-ai-copy and https://cve.bz/cve/CVE-2025-9714?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2025-9714 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Badge for a README or a site

CVE-2025-9714

An image that stays current: it is drawn from the data each time it is fetched (a host that proxies images, as GitHub does, may show its copy for a while). Markdown:

[![CVE-2025-9714](https://cve.bz/cve/badge/CVE-2025-9714.svg)](https://cve.bz/cve/CVE-2025-9714)

HTML:

<a href="https://cve.bz/cve/CVE-2025-9714"><img src="https://cve.bz/cve/badge/CVE-2025-9714.svg" alt="CVE-2025-9714"></a>

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
libxml2before 2.10.0
libxml2before 2.12.7+dfsg+really2.9.14-0.4ubuntu0.3
libxml2before 2.9.14+dfsg-1.3ubuntu3.5
libxml2before 2.9.13+dfsg-1ubuntu0.9
libxml2before 2.9.10+dfsg-5ubuntu0.20.04.10+esm2
libxml2before 2.9.4+dfsg1-6.1ubuntu1.9+esm5
libxml2before 2.9.3+dfsg1-1ubuntu0.7+esm10
libxml2before 2.9.1+dfsg1-3ubuntu4.13+esm9

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian11libxml22.9.10+dfsg-6.7+deb11u9DLA-4319-1
Debian12libxml22.9.14+dfsg-1.3~deb12u5DEBIAN-CVE-2025-9714
Debian13libxml22.12.7+dfsg+really2.9.14-2.1+deb13u2DEBIAN-CVE-2025-9714
Debian14libxml22.14.5+dfsg-0.1DEBIAN-CVE-2025-9714
Ubuntu22.04:LTSlibxml22.9.13+dfsg-1ubuntu0.9UBUNTU-CVE-2025-9714 USN-7743-1
Ubuntu24.04:LTSlibxml22.9.14+dfsg-1.3ubuntu3.5UBUNTU-CVE-2025-9714 USN-7743-1
UbuntuPro:14.04:LTSlibxml22.9.1+dfsg1-3ubuntu4.13+esm9UBUNTU-CVE-2025-9714 USN-7743-1
UbuntuPro:16.04:LTSlibxml22.9.3+dfsg1-1ubuntu0.7+esm10UBUNTU-CVE-2025-9714 USN-7743-1
UbuntuPro:18.04:LTSlibxml22.9.4+dfsg1-6.1ubuntu1.9+esm5UBUNTU-CVE-2025-9714 USN-7743-1
UbuntuPro:20.04:LTSlibxml22.9.10+dfsg-5ubuntu0.20.04.10+esm2UBUNTU-CVE-2025-9714 USN-7743-1
Red Hatenterprise_linux:8::appstreamlibxml2-devel, libxml2-debuginfo, libxml2-debugsource and 1 more0:2.9.7-21.el8_10.4RHSA-2026:11349
Red Hatenterprise_linux:8::baseoslibxml2, python3-libxml2, libxml2-debuginfo and 2 more0:2.9.7-21.el8_10.4RHSA-2026:11349
Red Hatenterprise_linux:9::appstreamlibxml2-devel, libxml2-debuginfo, libxml2-debugsource and 1 more0:2.9.13-14.el9_7RHSA-2025:22376
Red Hatenterprise_linux:9::baseoslibxml2, python3-libxml2, libxml2-debuginfo and 2 more0:2.9.13-14.el9_7RHSA-2025:22376
Red Hathummingbird:1libxml2, libxml2-16, libxml2-devel and 2 more0:2.15.2-0.3.hum1RHSA-2026:7519
Red Hatrhel_aus:8.4::appstream, rhel_eus_long_life:8.4::appstreamlibxml2-devel, libxml2-debuginfo, libxml2-debugsource and 1 more0:2.9.7-9.el8_4.9RHSA-2026:14832
Red Hatrhel_aus:8.4::baseos, rhel_eus_long_life:8.4::baseoslibxml2, python3-libxml2, libxml2-debuginfo and 2 more0:2.9.7-9.el8_4.9RHSA-2026:14832
Red Hatrhel_aus:8.6::appstream, rhel_e4s:8.6::appstream, rhel_tus:8.6::appstreamlibxml2-devel, libxml2-debuginfo, libxml2-debugsource and 1 more0:2.9.7-13.el8_6.13RHSA-2026:15967
Red Hatrhel_aus:8.6::baseos, rhel_e4s:8.6::baseos, rhel_tus:8.6::baseoslibxml2, python3-libxml2, libxml2-debuginfo and 2 more0:2.9.7-13.el8_6.13RHSA-2026:15967
Red Hatrhel_e4s:8.8::appstream, rhel_tus:8.8::appstreamlibxml2-devel, libxml2-debuginfo, libxml2-debugsource and 1 more0:2.9.7-16.el8_8.13RHSA-2026:14858
Red Hatrhel_e4s:8.8::baseos, rhel_tus:8.8::baseoslibxml2, python3-libxml2, libxml2-debuginfo and 2 more0:2.9.7-16.el8_8.13RHSA-2026:14858
Red Hatrhel_e4s:9.0::appstreamlibxml2-devel, libxml2-debuginfo, libxml2-debugsource and 1 more0:2.9.13-1.el9_0.8RHSA-2025:22177
8 more for Red Hat in the JSON and on Red Hat's page.
SUSELinux Enterprise Micro 5.2libxml2, python-libxml2-python2.9.7-150000.3.88.1SUSE-SU-2025:4115-1
SUSELinux Enterprise Micro 5.3, Linux Enterprise Micro 5.4libxml2, libxml2-python2.9.14-150400.5.50.1SUSE-SU-2025:4116-1
SUSELinux Enterprise Server LTSS Extended Security 12 SP5libxml2, python-libxml22.9.4-46.93.1SUSE-SU-2025:4104-1
openSUSELeap 15.6python-libxml2-python2.9.7-150000.3.88.1SUSE-SU-2025:4115-1
AlmaLinux8libxml2, libxml2-devel, python3-libxml22.9.7-21.el8_10.4ALSA-2026:11349
AlmaLinux8libxml2, libxml2-devel, python3-libxml22.9.7-21.el8_10.8ALSA-2026:69655
AlmaLinux9libxml2, libxml2-devel, python3-libxml22.9.13-14.el9_7ALSA-2025:22376
Rocky Linux8libxml20:2.9.7-21.el8_10.4RLSA-2026:11349
Rocky Linux9libxml20:2.9.13-14.el9_7RLSA-2025:22376

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

No evidence was found for arbitrary memory corruption through this flaw, limiting its impact to Availability only, and reducing its severity to Moderate.

Red Hat's mitigation

The impact of this flaw may be reduced by setting strict resource limits to the stack size of processes at the operational system level. This can be achieved either through the 'ulimit' shell built-in or the 'limits.conf' file.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 7 Extended Lifecycle Supportlibxml2-0:2.9.1-6.el7_9.14Fixed 2026-06-02RHSA-2026:22420
Red Hat Enterprise Linux 8libxml2-0:2.9.7-21.el8_10.4Fixed 2026-04-28RHSA-2026:11349
Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Supportlibxml2-0:2.9.7-9.el8_4.9Fixed 2026-05-07RHSA-2026:14832
Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-Onlibxml2-0:2.9.7-9.el8_4.9Fixed 2026-05-07RHSA-2026:14832
Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Supportlibxml2-0:2.9.7-13.el8_6.13Fixed 2026-05-11RHSA-2026:15967
Red Hat Enterprise Linux 8.6 Telecommunications Update Servicelibxml2-0:2.9.7-13.el8_6.13Fixed 2026-05-11RHSA-2026:15967
Red Hat Enterprise Linux 8.6 Update Services for SAP Solutionslibxml2-0:2.9.7-13.el8_6.13Fixed 2026-05-11RHSA-2026:15967
Red Hat Enterprise Linux 8.8 Telecommunications Update Servicelibxml2-0:2.9.7-16.el8_8.13Fixed 2026-05-07RHSA-2026:14858
Red Hat Enterprise Linux 8.8 Update Services for SAP Solutionslibxml2-0:2.9.7-16.el8_8.13Fixed 2026-05-07RHSA-2026:14858
Red Hat Enterprise Linux 9libxml2-0:2.9.13-14.el9_7Fixed 2025-12-01RHSA-2025:22376
Red Hat Enterprise Linux 9.0 Update Services for SAP Solutionslibxml2-0:2.9.13-1.el9_0.8Fixed 2025-11-26RHSA-2025:22177
Red Hat Enterprise Linux 9.2 Update Services for SAP Solutionslibxml2-0:2.9.13-3.el9_2.10Fixed 2025-11-26RHSA-2025:22162
Red Hat Enterprise Linux 9.4 Extended Update Supportlibxml2-0:2.9.13-13.el9_4Fixed 2025-11-26RHSA-2025:22163
Red Hat Enterprise Linux 9.6 Extended Update Supportlibxml2-0:2.9.13-12.el9_6.1Fixed 2025-12-01RHSA-2025:22377
Red Hat OpenShift Container Platform 4.12openshift/ose-rhel-coreos-8:412.86.202605271418-0Fixed 2026-06-04RHSA-2026:21695
Red Hat OpenShift Container Platform 4.13openshift/ose-rhel-coreos-9:413.92.202601130113-0Fixed 2026-01-22RHSA-2026:0677
Red Hat OpenShift Container Platform 4.14openshift/ose-rhel-coreos-9:414.92.202601191325-0Fixed 2026-01-30RHSA-2026:0996
Red Hat Enterprise Linux 10libxml2Not affected
Red Hat Enterprise Linux 6libxml2Out of support scope
Red Hat JBoss Core Serviceslibxml2Not affected
20 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2025-9714.

ICS advisories (CISA)

AdvisoryTitlePublishedSectorsAffectedFixed
ICSA-26-134-16Siemens Ruggedcom Rox2026-05-12Critical ManufacturingRUGGEDCOM ROX MX5000, RUGGEDCOM ROX MX5000RE, RUGGEDCOM ROX RX1400 and 8 morenone listed

From CISA's ICS advisories (CSAF), provided under CISA's notification. Only the facts are shown; each advisory is on CISA's page. Credits.

Attack patterns (CAPEC)

  • CAPEC-230 Serialized Data with Nested Payloads Likelihood: Medium · Severity: High
  • CAPEC-231 Oversized Serialized Data Payloads Likelihood: Medium · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON