Skip to content
OpenAdvisories
High · 7.8 CVE-2025-7425 EUVD-2025-20998GHSA-8c4w-j52q-j4jq

Libxslt: libxml2: heap use-after-free in libxslt caused by atype corruption in xmlattrptr

Published Jul 10, 2025 · Updated Nov 6, 2026 · Assigned by redhat

Vendor: GNOME Vendor: Red Hat Product: cert-manager operator for Red Hat OpenShift 1.16 Product: libxml2 Product: OpenShift Compliance Operator 1 Product: OpenShift File Integrity Operator - FIO 1 Product: Red Hat Discovery 2 Product: Red Hat Enterprise Linux 10 Product: Red Hat Enterprise Linux 6 Product: Red Hat Enterprise Linux 7 Extended Lifecycle Support Product: Red Hat Enterprise Linux 8 Product: Red Hat Enterprise Linux 8.2 Advanced Update Support Product: Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support Product: Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-On Product: Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support Product: Red Hat Enterprise Linux 8.6 Telecommunications Update Service Product: Red Hat Enterprise Linux 8.6 Update Services for SAP Solutions Product: Red Hat Enterprise Linux 8.8 Telecommunications Update Service Product: Red Hat Enterprise Linux 8.8 Update Services for SAP Solutions Product: Red Hat Enterprise Linux 9 Product: Red Hat Enterprise Linux 9.0 Update Services for SAP Solutions Product: Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions Product: Red Hat Enterprise Linux 9.4 Extended Update Support Product: Red Hat Hardened Images Product: Red Hat Insights proxy 1.5 Product: Red Hat OpenShift Container Platform 4.12 Product: Red Hat OpenShift Container Platform 4.13 Product: Red Hat OpenShift Container Platform 4.14 Product: Red Hat OpenShift Container Platform 4.15 Product: Red Hat OpenShift Container Platform 4.16 Product: Red Hat OpenShift Container Platform 4.17 Product: Red Hat OpenShift Container Platform 4.18 Product: Red Hat OpenShift Container Platform 4.19 Product: Red Hat OpenShift distributed tracing 3.5.3 Product: Red Hat Web Terminal 1.11 on RHEL 9 Product: Red Hat Web Terminal 1.12 on RHEL 9 Product: RHOSS-1.36-RHEL-8 Package: libxml2 Package: libxml2 Package: libxslt Package: libxslt Package: libxslt Package: libxslt Package: libxslt-dev Package: libxslt-doc Package: libxslt-static Platform: Linux Ecosystem: Azure Linux Ecosystem: Debian Ecosystem: Ubuntu Ecosystem: Wolfi

Description

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.

Affected products

VendorProductAffectedFixed
GNOME libxml2 < 2.15.2 2.15.2
Red Hat Red Hat Enterprise Linux 10 — —
Red Hat Red Hat Enterprise Linux 7 Extended Lifecycle Support — —
Red Hat Red Hat Enterprise Linux 8 — —
Red Hat Red Hat Enterprise Linux 8.2 Advanced Update Support — —
Red Hat Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support — —
Red Hat Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-On — —
Red Hat Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support — —
Red Hat Red Hat Enterprise Linux 8.6 Telecommunications Update Service — —
Red Hat Red Hat Enterprise Linux 8.6 Update Services for SAP Solutions — —
Red Hat Red Hat Enterprise Linux 8.8 Telecommunications Update Service — —
Red Hat Red Hat Enterprise Linux 8.8 Update Services for SAP Solutions — —
Red Hat Red Hat Enterprise Linux 9 — —
Red Hat Red Hat Enterprise Linux 9.0 Update Services for SAP Solutions — —
Red Hat Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions — —
Red Hat Red Hat Enterprise Linux 9.4 Extended Update Support — —
Red Hat Red Hat OpenShift Container Platform 4.12 — —
Red Hat Red Hat OpenShift Container Platform 4.13 — —
Red Hat Red Hat OpenShift Container Platform 4.14 — —
Red Hat Red Hat OpenShift Container Platform 4.15 — —
Red Hat Red Hat OpenShift Container Platform 4.16 — —
Red Hat Red Hat OpenShift Container Platform 4.17 — —
Red Hat Red Hat OpenShift Container Platform 4.18 — —
Red Hat Red Hat OpenShift Container Platform 4.19 — —
Red Hat Red Hat Web Terminal 1.11 on RHEL 9 — —
Red Hat Red Hat Web Terminal 1.12 on RHEL 9 — —
Red Hat RHOSS-1.36-RHEL-8 — —
Red Hat cert-manager operator for Red Hat OpenShift 1.16 — —
Red Hat OpenShift Compliance Operator 1 — —
Red Hat OpenShift File Integrity Operator - FIO 1 — —
Red Hat Red Hat Discovery 2 — —
Red Hat Red Hat Hardened Images — —
Red Hat Red Hat Insights proxy 1.5 — —
Red Hat Red Hat OpenShift distributed tracing 3.5.3 — —
Red Hat Red Hat Enterprise Linux 6 — —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 libxslt No fix yet —
Debian 13 libxml2 2.12.7+dfsg+really2.9.14-2.1+deb13u1 DSA-5990-1
Debian 12 libxml2 2.9.14+dfsg-1.3~deb12u4 DSA-5990-1
ReleasePackageFixed inAdvisory
Ubuntu 26.10 libxslt No fix yet —
Ubuntu 26.04 LTS libxslt No fix yet —
Ubuntu 25.10 libxslt No fix yet —
Ubuntu 24.04 LTS libxml2 2.9.14+dfsg-1.3ubuntu3.6 USN-7852-1
Ubuntu 24.04 LTS libxslt No fix yet —
Ubuntu 22.04 LTS libxml2 2.9.13+dfsg-1ubuntu0.10 USN-7852-1
Show 4 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 20.04 LTS libxml2 2.9.10+dfsg-5ubuntu0.20.04.10+esm3 USN-7852-2
Ubuntu Pro 18.04 LTS libxml2 2.9.4+dfsg1-6.1ubuntu1.9+esm6 USN-7852-2
Ubuntu Pro 16.04 LTS libxml2 2.9.3+dfsg1-1ubuntu0.7+esm11 USN-7852-2
Ubuntu Pro 14.04 LTS libxml2 2.9.1+dfsg1-3ubuntu4.13+esm10 USN-7896-1
ReleasePackageFixed inAdvisory
RHEL 10 libxslt +1 1.1.39-8.el10_0 RHBA-2025:12345
RHEL 9 libxml2 +2 2.9.13-11.el9_6 RHSA-2025:12447
RHEL 8 libxml2 +2 2.9.7-21.el8_10.2 RHSA-2025:12450
Show 13 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
RHEL 9.4 EUS libxml2 +2 2.9.13-11.el9_4 RHSA-2025:13312
RHEL 9.2 E4S libxml2 +2 2.9.13-3.el9_2.8 RHSA-2025:13314
RHEL 9.0 E4S libxml2 +2 2.9.13-1.el9_0.6 RHSA-2025:13309
RHEL 8.8 TUS libxml2 +2 2.9.7-16.el8_8.10 RHSA-2025:13313
RHEL 8.8 E4S libxml2 +2 2.9.7-16.el8_8.10 RHSA-2025:13313
RHEL 8.6 TUS libxml2 +2 2.9.7-13.el8_6.11 RHSA-2025:13311
RHEL 8.6 E4S libxml2 +2 2.9.7-13.el8_6.11 RHSA-2025:13311
RHEL 8.6 AUS libxml2 +2 2.9.7-13.el8_6.11 RHSA-2025:13311
RHEL 8.4 EUS Long Life libxml2 +2 2.9.7-9.el8_4.7 RHSA-2025:13310
RHEL 8.4 AUS libxml2 +2 2.9.7-9.el8_4.7 RHSA-2025:13310
RHEL 8.2 AUS libxml2 +2 2.9.7-9.el8_2.4 RHSA-2025:13308
RHEL 7 ELS libxml2 +3 2.9.1-6.el7_9.12 RHSA-2025:13464
Red Hat Hardened Images 1 libxml2 +4 2.15.3-0.1.hum1 RHSA-2026:11503

AlmaLinux

Errata ↗
ReleasePackageFixed inAdvisory
AlmaLinux 9 libxml2 +2 2.9.13-11.el9_6 ALSA-2025:12447
AlmaLinux 8 libxml2 +2 2.9.7-21.el8_10.2 ALSA-2025:12450

Rocky Linux

Errata ↗
ReleasePackageFixed inAdvisory
Rocky Linux 9 libxml2 2.9.13-11.el9_6 RLSA-2025:12447
ReleasePackageFixed inAdvisory
SLES 15 SP7 libxml2 +1 2.12.10-150700.4.6.1 SUSE-SU-2025:02617-1
SLES 15 SP6 libxml2 +1 2.10.3-150500.5.32.1 SUSE-SU-2025:02758-1
SLES 15 SP5 libxml2 +1 2.10.3-150500.5.32.1 SUSE-SU-2025:02758-1
SLES 15 SP4 libxml2 +1 2.9.14-150400.5.47.1 SUSE-SU-2025:02620-1
SLES 15 SP3 libxml2 +1 2.9.7-150000.3.85.1 SUSE-SU-2025:02621-1
Show 18 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES 12 SP5 libxml2 +1 2.9.4-46.90.1 SUSE-SU-2025:02547-1
SLES 3 libxml2-python 2.10.3-150500.5.32.1 SUSE-SU-2025:02758-1, SUSE-SU-2025:02617-1
SLES for SAP 15 SP5 libxml2 +1 2.10.3-150500.5.32.1 SUSE-SU-2025:02758-1
SLES for SAP 15 SP4 libxml2 +1 2.9.14-150400.5.47.1 SUSE-SU-2025:02620-1
SLES for SAP 15 SP3 libxml2 +1 2.9.7-150000.3.85.1 SUSE-SU-2025:02621-1
SLE Micro 6.1 libxml2 2.11.6-slfo.1.1_6.1 SUSE-SU-2025:20607-1
SLE Micro 6.0 libxml2 2.11.6-10.1 SUSE-SU-2025:20564-1
SLE Micro 5.5 libxml2 +1 2.10.3-150500.5.32.1 SUSE-SU-2025:02758-1
SLE Micro 5.4 libxml2 +1 2.9.14-150400.5.47.1 SUSE-SU-2025:02620-1
SLE Micro 5.3 libxml2 +1 2.9.14-150400.5.47.1 SUSE-SU-2025:02620-1
SLE Micro 5.2 libxml2 +1 2.9.7-150000.3.85.1 SUSE-SU-2025:02621-1
SLE Micro 5.1 libxml2 2.9.7-150000.3.85.1 SUSE-SU-2025:02621-1
SLE HPC 15 SP5 libxml2 +1 2.10.3-150500.5.32.1 SUSE-SU-2025:02758-1
SLE HPC 15 SP4 libxml2 +1 2.9.14-150400.5.47.1 SUSE-SU-2025:02620-1
SLE HPC 15 SP3 libxml2 +1 2.9.7-150000.3.85.1 SUSE-SU-2025:02621-1
SUSE Manager Server LTS 4.3 libxml2 +1 2.9.14-150400.5.47.1 SUSE-SU-2025:02620-1
SUSE Manager Proxy LTS 4.3 libxml2 +1 2.9.14-150400.5.47.1 SUSE-SU-2025:02620-1
SUSE Enterprise Storage 7.1 libxml2 +1 2.9.7-150000.3.85.1 SUSE-SU-2025:02621-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed libxml2 2.13.8-3.1 openSUSE-SU-2025:15363-1
openSUSE Leap 15.6 libxml2 +1 2.10.3-150500.5.32.1 SUSE-SU-2025:02758-1
openSUSE Leap 15.6 python-libxml2-python 2.9.7-150000.3.85.1 SUSE-SU-2025:02621-1

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2023 libxml2 +3 2.10.4-1.amzn2023.0.13 ALAS2023-2025-1154
Amazon Linux 2 libxml2 +3 2.9.1-6.amzn2.5.20 ALAS2-2025-2977

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 3 libxml2 2.11.5-8 —
Azure Linux 3 libxslt No fix yet —
Azure Linux 2 (CBL-Mariner) libxml2 2.10.4-10 —

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 9 libxml2 +2 2.9.13-11.el9_6 ELSA-2025-12447
Oracle Linux 8 libxml2 +2 2.9.7-21.el8_10.2 ELSA-2025-12450
Oracle Linux 7 libxml2 +3 2.9.1-6.0.9.el7_9.6 ELSA-2025-13464

Wolfi

ReleasePackageFixed inAdvisory
Wolfi rolling libxslt +3 No fix yet —

Advisories 50

References