CVE-2025-7425

Vulnerability

CVE-2025-7425

libxslt: Heap Use-After-Free in libxslt caused by atype corruption in xmlAttrPtr

ecosystem: redhat:6, redhat:7, redhat:8, redhat:9, redhat:10

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.

References
severityI
Important

type: vendor

source: secalert@redhat.com

CVSS3.1
7.8HIGH

CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:N/I:H/A:H

AVLocal
ACHigh
PRNone
UINone
SChanged
CNone
IHigh
AHigh

source: secalert@redhat.com

 CWE
CWE-416

Use After Free

source: secalert@redhat.com

published: 2025-07-10 00:00:00

modified: 2025-07-10 14:05:43

Detection

OR

 unfixed

 

libxslt

package type: source

type: version

tag: rhel-10:ee89796e-431f-0310-88ba-ded473ea0387

OR

 unfixed

 

libxslt

package type: source

type: version

tag: rhel-6-els:3ecebd89-8c8d-81fc-8d6c-6a577555e642

OR

 unfixed

 

libxslt

package type: source

type: version

tag: rhel-7-extras-including-unpatched:d25545d1-aa8d-8201-dfa8-afe95b304fcb

OR

 unfixed

 

libxslt

package type: source

type: version

tag: rhel-8-including-unpatched:c617663d-a88d-8230-a24a-0f026fefdcc8

OR

 unfixed

 

libxslt

package type: source

type: version

tag: rhel-9-including-unpatched:ce0d1672-568d-8236-17c4-8587c2fa65a1

Data Sources

  • RedHat Enterprise Linux CSAF VEX

    redhat-vex

VulsFutureVuls|GitHub