CVE Vulnerabilities

CVE-2025-7425

Use After Free

Published: Jul 10, 2025 | Modified: Sep 15, 2025
CVSS 3.x
N/A
Source:
NVD
CVSS 2.x
RedHat/V2
RedHat/V3
7.8 IMPORTANT
CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:N/I:H/A:H
Ubuntu
MEDIUM

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.

Weakness

The product reuses or references memory after it has been freed. At some point afterward, the memory may be allocated again and saved in another pointer, while the original pointer references a location somewhere within the new allocation. Any operations using the original pointer are no longer valid because the memory “belongs” to the code that operates on the new pointer.

Affected Software

Name Vendor Start Version End Version
Red Hat Enterprise Linux 7 Extended Lifecycle Support RedHat libxml2-0:2.9.1-6.el7_9.12 *
Red Hat Enterprise Linux 8 RedHat libxml2-0:2.9.7-21.el8_10.2 *
Red Hat Enterprise Linux 8 RedHat libxml2-0:2.9.7-21.el8_10.2 *
Red Hat Enterprise Linux 8.2 Advanced Update Support RedHat libxml2-0:2.9.7-9.el8_2.4 *
Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support RedHat libxml2-0:2.9.7-9.el8_4.7 *
Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-On RedHat libxml2-0:2.9.7-9.el8_4.7 *
Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support RedHat libxml2-0:2.9.7-13.el8_6.11 *
Red Hat Enterprise Linux 8.6 Telecommunications Update Service RedHat libxml2-0:2.9.7-13.el8_6.11 *
Red Hat Enterprise Linux 8.6 Update Services for SAP Solutions RedHat libxml2-0:2.9.7-13.el8_6.11 *
Red Hat Enterprise Linux 8.8 Telecommunications Update Service RedHat libxml2-0:2.9.7-16.el8_8.10 *
Red Hat Enterprise Linux 8.8 Update Services for SAP Solutions RedHat libxml2-0:2.9.7-16.el8_8.10 *
Red Hat Enterprise Linux 9 RedHat libxml2-0:2.9.13-11.el9_6 *
Red Hat Enterprise Linux 9 RedHat libxml2-0:2.9.13-11.el9_6 *
Red Hat Enterprise Linux 9.0 Update Services for SAP Solutions RedHat libxml2-0:2.9.13-1.el9_0.6 *
Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions RedHat libxml2-0:2.9.13-3.el9_2.8 *
Red Hat Enterprise Linux 9.4 Extended Update Support RedHat libxml2-0:2.9.13-11.el9_4 *
Red Hat OpenShift Container Platform 4.12 RedHat rhcos *
Red Hat OpenShift Container Platform 4.14 RedHat rhcos *
Red Hat OpenShift Container Platform 4.15 RedHat rhcos *
Red Hat OpenShift Container Platform 4.16 RedHat rhcos *
Red Hat OpenShift Container Platform 4.17 RedHat rhcos *
Red Hat OpenShift Container Platform 4.18 RedHat rhcos *
Red Hat OpenShift Container Platform 4.19 RedHat rhcos *
Red Hat Web Terminal 1.11 on RHEL 9 RedHat web-terminal/web-terminal-rhel9-operator:1.11-19 *
Red Hat Web Terminal 1.11 on RHEL 9 RedHat web-terminal/web-terminal-tooling-rhel9:1.11-8 *
Red Hat Web Terminal 1.12 on RHEL 9 RedHat web-terminal/web-terminal-tooling-rhel9:1.12-4 *
Red Hat Discovery 2 RedHat registry.redhat.io/discovery/discovery-server-rhel9:sha256:c517869dacaf4d3650310d4a52e83706e0b311d6ebb4a9b37b1c7acff5c142ec *
Red Hat Insights proxy 1.5 RedHat registry.redhat.io/insights-proxy/insights-proxy-container-rhel9:sha256:e54a5a5f9d69dd6a03e2bcd845e2202910a188d266d4a79b12c387ceffc36f2d *
Red Hat OpenShift distributed tracing 3.5.3 RedHat registry.redhat.io/rhosdt/jaeger-agent-rhel8:sha256:a3e7ac42823a2f58d15b52b5c729ae34f3e119122fb4defae4754e6ab14dabcd *
Red Hat OpenShift distributed tracing 3.5.3 RedHat registry.redhat.io/rhosdt/jaeger-all-in-one-rhel8:sha256:b45f86232d16959194bad4cc59debfc5253c3c07b81f2a2c66e15d7898d0f114 *
Red Hat OpenShift distributed tracing 3.5.3 RedHat registry.redhat.io/rhosdt/jaeger-collector-rhel8:sha256:6f60741c03460bfdc70789640b83b8c2611f62bd3971a7eeb8316c895e4cbf48 *
Red Hat OpenShift distributed tracing 3.5.3 RedHat registry.redhat.io/rhosdt/jaeger-es-index-cleaner-rhel8:sha256:783a10c95edcb5c5cb8394b796f27dbfbb5ac6e1ee3baaa27d6c43f411ad6045 *
Red Hat OpenShift distributed tracing 3.5.3 RedHat registry.redhat.io/rhosdt/jaeger-es-rollover-rhel8:sha256:a49b8de5c60cd6af7fd0d70fbf0c7e9ae0b4e26eebe2ed2b4490e756ff07fa9c *
Red Hat OpenShift distributed tracing 3.5.3 RedHat registry.redhat.io/rhosdt/jaeger-ingester-rhel8:sha256:0932824cfd76c0e3d80f6e5b81312405b4a6a670d715144fc4d08bdb3a3cf962 *
Red Hat OpenShift distributed tracing 3.5.3 RedHat registry.redhat.io/rhosdt/jaeger-operator-bundle:sha256:264613b2add0f32e5f537ee7cf9ba8019e5e9a347fdf20bc3de8d1678157ba66 *
Red Hat OpenShift distributed tracing 3.5.3 RedHat registry.redhat.io/rhosdt/jaeger-query-rhel8:sha256:86d7a8aed1a64c10b5a52f56966645ed62ee40cd38c034bfe00b87ee4e3558a4 *
Red Hat OpenShift distributed tracing 3.5.3 RedHat registry.redhat.io/rhosdt/jaeger-rhel8-operator:sha256:dc1731fd9e662d103f60a097833260adb9bbeb94b401281d9c65169e5db86bf8 *
Libxslt Ubuntu oracular *

Potential Mitigations

References