CyberAlerts is shutting down on June 30th, 2025. Thank you for your support!

CVE-2025-7425: Libxslt: heap use-after-free in libxslt caused by atype corruption in xmlattrptr

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.

Classification

CVE ID: CVE-2025-7425

Problem Types

Use After Free

Affected Products

Vendor: Red Hat

Product: Red Hat Enterprise Linux 10, Red Hat Enterprise Linux 6, Red Hat Enterprise Linux 7, Red Hat Enterprise Linux 8, Red Hat Enterprise Linux 9, Red Hat OpenShift Container Platform 4

Exploit Prediction Scoring System (EPSS)

EPSS Score: 0.01% (probability of being exploited)

EPSS Percentile: 1.15% (scored less or equal to compared to others)

EPSS Date: 2025-07-11 (when was this score calculated)

References

https://nvd.nist.gov/vuln/detail/CVE-2025-7425
https://access.redhat.com/security/cve/CVE-2025-7425
https://bugzilla.redhat.com/show_bug.cgi?id=2379274
https://gitlab.gnome.org/GNOME/libxslt/-/issues/140

Timeline