CVE-2025-7425

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

At a glance

Severity
HIGH 7.8
EPSS
EPSS 0.44 % · percentile 38 (2026-10-27)
State
PUBLISHED
Published
Updated
Assigner
redhat
NVD status
Deferred

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.

Scores

VersionScoreVectorScored by
CVSS 3.1HIGH 7.8CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:N/I:H/A:Hredhat
CVSS 3.1HIGH 7.8CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:N/I:H/A:HNVD · secalert@redhat.com (Secondary)

Weaknesses (CWE)

European references

CERT-FR advisories

Affected products

ProductVersions
GNOME · libxml2affected 0 < 2.15.2
Red Hat · Red Hat Enterprise Linux 10unaffected 0:1.1.39-8.el10_0 < *
Red Hat · Red Hat Enterprise Linux 7 Extended Lifecycle Supportunaffected 0:2.9.1-6.el7_9.12 < *
Red Hat · Red Hat Enterprise Linux 8unaffected 0:2.9.7-21.el8_10.2 < *
Red Hat · Red Hat Enterprise Linux 8unaffected 0:2.9.7-21.el8_10.2 < *
Red Hat · Red Hat Enterprise Linux 8.2 Advanced Update Supportunaffected 0:2.9.7-9.el8_2.4 < *
Red Hat · Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Supportunaffected 0:2.9.7-9.el8_4.7 < *
Red Hat · Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-Onunaffected 0:2.9.7-9.el8_4.7 < *
Red Hat · Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Supportunaffected 0:2.9.7-13.el8_6.11 < *
Red Hat · Red Hat Enterprise Linux 8.6 Telecommunications Update Serviceunaffected 0:2.9.7-13.el8_6.11 < *
Red Hat · Red Hat Enterprise Linux 8.6 Update Services for SAP Solutionsunaffected 0:2.9.7-13.el8_6.11 < *
Red Hat · Red Hat Enterprise Linux 8.8 Telecommunications Update Serviceunaffected 0:2.9.7-16.el8_8.10 < *
Red Hat · Red Hat Enterprise Linux 8.8 Update Services for SAP Solutionsunaffected 0:2.9.7-16.el8_8.10 < *
Red Hat · Red Hat Enterprise Linux 9unaffected 0:2.9.13-11.el9_6 < *
Red Hat · Red Hat Enterprise Linux 9unaffected 0:2.9.13-11.el9_6 < *
Red Hat · Red Hat Enterprise Linux 9.0 Update Services for SAP Solutionsunaffected 0:2.9.13-1.el9_0.6 < *
Red Hat · Red Hat Enterprise Linux 9.2 Update Services for SAP Solutionsunaffected 0:2.9.13-3.el9_2.8 < *
Red Hat · Red Hat Enterprise Linux 9.4 Extended Update Supportunaffected 0:2.9.13-11.el9_4 < *
Red Hat · Red Hat OpenShift Container Platform 4.12unaffected 412.86.202509030110-0 < *
Red Hat · Red Hat OpenShift Container Platform 4.13unaffected 413.92.202509030117-0 < *

References

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD