cve.bz

CVE-2025-7425 gnome libxml2: Use After Free

7.8 highEPSS 0.4%Fix available

High (7.8) in gnome libxml2. EPSS 0.4% estimated probability of exploitation activity in the next 30 days.

On this page
A flaw was found in libxslt where the attribute type, atype, flags are modified in a way that corrupts internal memory management. When XSLT functions, such as the key() process, result in tree fragments, this corruption prevents the proper cleanup of ID attributes. As a result, the system may access freed memory, causing crashes or enabling attackers to trigger heap corruption.

Severity

CVSS 3.1

7.8 high
CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:N/I:H/A:H
EPSS
0.4% (unchanged from 0.4% a week ago; 0.4% 30 days ago) estimated probability of exploitation activity in the next 30 days; 39th percentile. Scored 2026-11-15. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: PoC · Automatable: no · Technical impact: total, assessed 2025-07-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-416 Use After Free
Published
Modified
NVD analysis
Deferred: the NVD does not plan to analyze it
Record from
the NVD, synced

Fix and patched versions

  • Red Hat Red Hat Enterprise Linux 10: fixed in 0:1.1.39-8.el10_0
  • Red Hat Red Hat Enterprise Linux 7 Extended Lifecycle Support: fixed in 0:2.9.1-6.el7_9.12
  • Red Hat Red Hat Enterprise Linux 8: fixed in 0:2.9.7-21.el8_10.2
  • Red Hat Red Hat Enterprise Linux 8.2 Advanced Update Support: fixed in 0:2.9.7-9.el8_2.4
  • Red Hat Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support: fixed in 0:2.9.7-9.el8_4.7
  • Red Hat Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-On: fixed in 0:2.9.7-9.el8_4.7
  • Red Hat Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support: fixed in 0:2.9.7-13.el8_6.11
  • Red Hat Red Hat Enterprise Linux 8.6 Telecommunications Update Service: fixed in 0:2.9.7-13.el8_6.11
  • Debian, Ubuntu, Red Hat, SUSE, openSUSE, AlmaLinux, Rocky Linux, Azure Linux: fixed package versions per release

Ask an AI about this CVE

Show the promptExplain CVE-2025-7425 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2025-7425?via=ask-ai-copy and https://cve.bz/cve/CVE-2025-7425?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-7425 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-7425

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-7425](https://cve.bz/cve/badge/CVE-2025-7425.svg)](https://cve.bz/cve/CVE-2025-7425)

HTML:

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

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
GNOME libxml2before 2.15.2

Fixed in

ProductFixed in
Red Hat Enterprise Linux 100:1.1.39-8.el10_0
Red Hat Enterprise Linux 7 Extended Lifecycle Support0:2.9.1-6.el7_9.12
Red Hat Enterprise Linux 80:2.9.7-21.el8_10.2
Red Hat Enterprise Linux 8.2 Advanced Update Support0:2.9.7-9.el8_2.4
Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support0:2.9.7-9.el8_4.7
Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-On0:2.9.7-9.el8_4.7
Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support0:2.9.7-13.el8_6.11
Red Hat Enterprise Linux 8.6 Telecommunications Update Service0:2.9.7-13.el8_6.11
Red Hat Enterprise Linux 8.6 Update Services for SAP Solutions0:2.9.7-13.el8_6.11
Red Hat Enterprise Linux 8.8 Telecommunications Update Service0:2.9.7-16.el8_8.10
Red Hat Enterprise Linux 8.8 Update Services for SAP Solutions0:2.9.7-16.el8_8.10
Red Hat Enterprise Linux 90:2.9.13-11.el9_6
Red Hat Enterprise Linux 9.0 Update Services for SAP Solutions0:2.9.13-1.el9_0.6
Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions0:2.9.13-3.el9_2.8
Red Hat Enterprise Linux 9.4 Extended Update Support0:2.9.13-11.el9_4
Red Hat OpenShift Container Platform 4.12412.86.202509030110-0
Red Hat OpenShift Container Platform 4.13413.92.202509030117-0
Red Hat OpenShift Container Platform 4.14414.92.202508270040-0
Red Hat OpenShift Container Platform 4.15415.92.202508192014-0
Red Hat OpenShift Container Platform 4.16416.94.202508261955-0
Red Hat OpenShift Container Platform 4.17417.94.202508141510-0
Red Hat OpenShift Container Platform 4.18418.94.202508261658-0
Red Hat OpenShift Container Platform 4.194.19.9.6.202508271124-0
Red Hat Web Terminal 1.11 on RHEL 91.11-19
Red Hat Web Terminal 1.11 on RHEL 91.11-8
Red Hat Web Terminal 1.12 on RHEL 91.12-4
Red Hat RHOSS-1.36-RHEL-81.36.0-11
Red Hat RHOSS-1.36-RHEL-81.36.0-10
Red Hat RHOSS-1.36-RHEL-81.36.0-4
Red Hat RHOSS-1.36-RHEL-81.36.0-9
Red Hat RHOSS-1.36-RHEL-81.36.0-12
Red Hat RHOSS-1.36-RHEL-81.36.0-18
Red Hat RHOSS-1.36-RHEL-81.36.0-7
Red Hat cert-manager operator for Red Hat OpenShift 1.16v1.16.5-1760515757
Red Hat OpenShift Compliance Operator 11.8.0
Red Hat OpenShift File Integrity Operator - FIO 1v1.3
Red Hat Discovery 22.0.1-1754478727
Red Hat Hardened Images2.15.3-0.1.hum1
Red Hat Insights proxy 1.51.5.5-1754504343
Red Hat OpenShift distributed tracing 3.5.3rhosdt-3.5-1754559657
Red Hat OpenShift distributed tracing 3.5.3rhosdt-3.5-1754559845
Red Hat OpenShift distributed tracing 3.5.3rhosdt-3.5-1754559691
Red Hat OpenShift distributed tracing 3.5.3rhosdt-3.5-1754559660
Red Hat OpenShift distributed tracing 3.5.3rhosdt-3.5-1754559663
Red Hat OpenShift distributed tracing 3.5.3rhosdt-3.5-1754569861
Red Hat OpenShift distributed tracing 3.5.3rhosdt-3.5-1754559846
Red Hat OpenShift distributed tracing 3.5.3rhosdt-3.5-1754559651

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12libxml22.9.14+dfsg-1.3~deb12u4DSA-5990-1
Debian13libxml22.12.7+dfsg+really2.9.14-2.1+deb13u1DSA-5990-1
Debian14libxsltno fix listedDEBIAN-CVE-2025-7425
Ubuntu22.04:LTSlibxml22.9.13+dfsg-1ubuntu0.10UBUNTU-CVE-2025-7425 USN-7852-1
Ubuntu24.04:LTSlibxml22.9.14+dfsg-1.3ubuntu3.6UBUNTU-CVE-2025-7425 USN-7852-1
Ubuntu24.04:LTS, 25.10, 26.04:LTS and 1 morelibxsltno fix listedUBUNTU-CVE-2025-7425
UbuntuPro:14.04:LTSlibxml22.9.1+dfsg1-3ubuntu4.13+esm10UBUNTU-CVE-2025-7425 USN-7896-1
UbuntuPro:16.04:LTSlibxml22.9.3+dfsg1-1ubuntu0.7+esm11UBUNTU-CVE-2025-7425 USN-7852-2
UbuntuPro:18.04:LTSlibxml22.9.4+dfsg1-6.1ubuntu1.9+esm6UBUNTU-CVE-2025-7425 USN-7852-2
UbuntuPro:20.04:LTSlibxml22.9.10+dfsg-5ubuntu0.20.04.10+esm3UBUNTU-CVE-2025-7425 USN-7852-2
Red Hatenterprise_linux:8::appstreamlibxml2-devel, libxml2-debuginfo, libxml2-debugsource and 1 more0:2.9.7-21.el8_10.2RHSA-2025:12450
Red Hatenterprise_linux:8::baseoslibxml2, python3-libxml2, libxml2-debuginfo and 2 more0:2.9.7-21.el8_10.2RHSA-2025:12450
Red Hatenterprise_linux:9::appstreamlibxml2-devel, libxml2-debuginfo, libxml2-debugsource and 1 more0:2.9.13-11.el9_6RHSA-2025:12447
Red Hatenterprise_linux:9::baseoslibxml2, python3-libxml2, libxml2-debuginfo and 2 more0:2.9.13-11.el9_6RHSA-2025:12447
Red Hatenterprise_linux:10.0libxslt, libxslt-devel, libxslt-debuginfo and 1 more0:1.1.39-8.el10_0RHBA-2025:12345
Red Hathummingbird:1libxml2, libxml2-16, libxml2-devel and 2 more0:2.15.3-0.1.hum1RHSA-2026:11503
Red Hatrhel_aus:8.2::appstreamlibxml2-devel, libxml2-debuginfo, libxml2-debugsource and 1 more0:2.9.7-9.el8_2.4RHSA-2025:13308
Red Hatrhel_aus:8.2::baseoslibxml2, python3-libxml2, libxml2-debuginfo and 2 more0:2.9.7-9.el8_2.4RHSA-2025:13308
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.7RHSA-2025:13310
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.7RHSA-2025:13310
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.11RHSA-2025:13311
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.11RHSA-2025:13311
9 more for Red Hat in the JSON and on Red Hat's page.
SUSEEnterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP3-LTSS, Linux Enterprise Micro 5.2 and 2 morelibxml2, python-libxml2-python2.9.7-150000.3.85.1SUSE-SU-2025:02621-1
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise Micro 5.3 and 5 morelibxml2, libxml2-python2.9.14-150400.5.47.1SUSE-SU-2025:02620-1
SUSELinux Enterprise High Performance Computing 15 SP5-ESPOS, Linux Enterprise High Performance Computing 15 SP5-LTSS, Linux Enterprise Micro 5.5 and 3 morelibxml2, libxml2-python2.10.3-150500.5.32.1SUSE-SU-2025:02758-1
SUSELinux Enterprise Micro 5.1libxml22.9.7-150000.3.85.1SUSE-SU-2025:02621-1
SUSELinux Enterprise Module for Basesystem 15 SP7libxml2, libxml2-python2.12.10-150700.4.6.1SUSE-SU-2025:02617-1
SUSELinux Enterprise Module for Python 3 15 SP6libxml2-python2.10.3-150500.5.32.1SUSE-SU-2025:02758-1
SUSELinux Enterprise Module for Python 3 15 SP7libxml2-python2.12.10-150700.4.6.1SUSE-SU-2025:02617-1
SUSELinux Enterprise Server 12 SP5-LTSS, Linux Enterprise Server LTSS Extended Security 12 SP5libxml2, python-libxml22.9.4-46.90.1SUSE-SU-2025:02547-1
SUSELinux Micro 6.0libxml22.11.6-10.1SUSE-SU-2025:20564-1
SUSELinux Micro 6.1libxml22.11.6-slfo.1.1_6.1SUSE-SU-2025:20607-1
openSUSELeap 15.6libxml2, libxml2-python2.10.3-150500.5.32.1SUSE-SU-2025:02758-1
openSUSELeap 15.6python-libxml2-python2.9.7-150000.3.85.1SUSE-SU-2025:02621-1
openSUSETumbleweedlibxml22.13.8-3.1openSUSE-SU-2025:15363-1
AlmaLinux8libxml2, libxml2-devel, python3-libxml22.9.7-21.el8_10.2ALSA-2025:12450
AlmaLinux9libxml2, libxml2-devel, python3-libxml22.9.13-11.el9_6ALSA-2025:12447
Rocky Linux9libxml20:2.9.13-11.el9_6RLSA-2025:12447
Azure Linux2libxml22.10.4-10AZL-75182
Azure Linux3libxml22.11.5-8AZL-73183
Azure Linux3libxsltno fix listedAZL-65409
Alpaquita23, streamlibxsltno fix listedBELL-CVE-2025-7425
BellSoft Hardened Containers23, streamlibxsltno fix listedBELL-CVE-2025-7425

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; Microsoft's Azure Linux vulnerability data, MIT; BellSoft's OSV database, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpaquita · BellSoft Hardened Containers.

Red Hat

Red Hat rates this Important.

Red Hat's statement

This heap-use-after-free vulnerability in libxslt is rated Important because it can lead to memory corruption and application crashes. The flaw arises when internal attribute metadata (atype) is modified by libxslt's xsltSetSourceNodeFlags() function during processing of result tree fragments. If the flag corruption prevents proper removal of ID references, later memory cleanup routines may operate on already-freed memory. Since libxslt is commonly used in server-side XML processing, this could result in denial-of-service or potentially facilitate code execution under certain memory reuse conditions.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 10libxslt-0:1.1.39-8.el10_0Fixed 2025-07-31RHBA-2025:12345
Red Hat Enterprise Linux 7 Extended Lifecycle Supportlibxml2-0:2.9.1-6.el7_9.12Fixed 2025-08-07RHSA-2025:13464
Red Hat Enterprise Linux 8libxml2-0:2.9.7-21.el8_10.2Fixed 2025-07-31RHSA-2025:12450
Red Hat Enterprise Linux 8.2 Advanced Update Supportlibxml2-0:2.9.7-9.el8_2.4Fixed 2025-08-07RHSA-2025:13308
Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Supportlibxml2-0:2.9.7-9.el8_4.7Fixed 2025-08-07RHSA-2025:13310
Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-Onlibxml2-0:2.9.7-9.el8_4.7Fixed 2025-08-07RHSA-2025:13310
Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Supportlibxml2-0:2.9.7-13.el8_6.11Fixed 2025-08-07RHSA-2025:13311
Red Hat Enterprise Linux 8.6 Telecommunications Update Servicelibxml2-0:2.9.7-13.el8_6.11Fixed 2025-08-07RHSA-2025:13311
Red Hat Enterprise Linux 8.6 Update Services for SAP Solutionslibxml2-0:2.9.7-13.el8_6.11Fixed 2025-08-07RHSA-2025:13311
Red Hat Enterprise Linux 8.8 Telecommunications Update Servicelibxml2-0:2.9.7-16.el8_8.10Fixed 2025-08-07RHSA-2025:13313
Red Hat Enterprise Linux 8.8 Update Services for SAP Solutionslibxml2-0:2.9.7-16.el8_8.10Fixed 2025-08-07RHSA-2025:13313
Red Hat Enterprise Linux 9libxml2-0:2.9.13-11.el9_6Fixed 2025-07-31RHSA-2025:12447
Red Hat Enterprise Linux 9.0 Update Services for SAP Solutionslibxml2-0:2.9.13-1.el9_0.6Fixed 2025-08-07RHSA-2025:13309
Red Hat Enterprise Linux 9.2 Update Services for SAP Solutionslibxml2-0:2.9.13-3.el9_2.8Fixed 2025-08-07RHSA-2025:13314
Red Hat Enterprise Linux 9.4 Extended Update Supportlibxml2-0:2.9.13-11.el9_4Fixed 2025-08-07RHSA-2025:13312
Red Hat OpenShift Container Platform 4.12openshift/ose-rhel-coreos-8:412.86.202509030110-0Fixed 2025-09-11RHSA-2025:15308
Red Hat OpenShift Container Platform 4.13openshift/ose-rhel-coreos-9:413.92.202509030117-0Fixed 2025-09-18RHSA-2025:15672
Red Hat OpenShift Container Platform 4.14openshift/ose-rhel-coreos-9:414.92.202508270040-0Fixed 2025-09-04RHSA-2025:14853
Red Hat OpenShift Container Platform 4.15openshift/ose-rhel-coreos-9:415.92.202508192014-0Fixed 2025-08-27RHSA-2025:14396
Red Hat Enterprise Linux 6libxsltOut of support scope
35 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-7425.

ICS advisories (CISA)

AdvisoryTitlePublishedSectorsAffectedFixed
ICSA-26-134-10Siemens SIMATIC2026-05-12Critical ManufacturingSIMATIC CN 4100none listed
ICSA-26-134-16Siemens Ruggedcom Rox2026-05-12Critical ManufacturingRUGGEDCOM ROX MX5000, RUGGEDCOM ROX MX5000RE, RUGGEDCOM ROX RX1400 and 8 morenone listed
ICSA-25-162-05Siemens SIMATIC S7-1500 CPU family2025-06-10EnergySIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AB0), SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AC0), SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AB0) and 2 morenone listed
ICSA-24-102-01Siemens SIMATIC S7-1500 TM MFP2024-04-09Critical ManufacturingSIMATIC S7-1500 TM MFP - GNU/Linux subsystemnone 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.

References

Check your stackJSON