CVE-2025-7425
libxslt: libxml2: Heap Use-After-Free in libxslt caused by atype corruption in xmlAttrPtr
Overview
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.
Source: OX vulnerability database
Severity
7.8 · HIGH
CVSS 3.1 base score, scored by NVD.
- Attack vector
- Local
- Attack complexity
- High
- Privileges required
- None
- User interaction
- None
- Scope
- Changed
- Confidentiality
- None
- Integrity
- High
- Availability
- High
CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:N/I:H/A:H
Weakness: CWE-416
Affected packages · 3
Operating systems · 59 fixes
Azure Linux 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 3.0 | libxml2 | 0:2.11.5-8.azl3 |
Oracle Linux 3 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 7 | libxml2 +3 | 2.9.1-6.0.9.el7_9.6 |
| 8 | libxml2 +2 | 2.9.7-21.el8_10.2 |
| 9 | libxml2 +2 | 2.9.13-11.el9_6 |
Photon OS 2 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 4.0 | libxslt +1 | 1.1.39-2.ph4 |
| 5.0 | libxslt +1 | 1.1.39-3.ph5 |
Red Hat 3 releases · 2 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 7 | openshift-ose-rhel-coreos-8 +1 | affected | — |
| 7 | libxml2 +3 | 0:2.9.1-6.el7_9.12 | RHSA-2025:13464 |
| 8 | openshift-ose-rhel-coreos-8 +1 | affected | — |
| 8 | libxml2 +2 | 0:2.9.7-13.el8_6.11 | RHSA-2025:13311 |
| 8 | libxml2 +2 | 0:2.9.7-16.el8_8.10 | RHSA-2025:13313 |
| 8 | libxml2 +2 | 0:2.9.7-21.el8_10.2 | RHSA-2025:12450 |
7 more rows
SUSE Linux Enterprise 5 releases · 1 package
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 12.5 | libxml2-2 +5 | 2.9.4-46.90.1 | SUSE-SU-2025:02547-1 |
| 15.4 | libxml2-2 +5 | 2.9.14-150400.5.47.1 | SUSE-SU-2025:02620-1 |
| 15.5 | libxml2-2 +5 | 2.10.3-150500.5.32.1 | SUSE-SU-2025:02758-1 |
| 15.6 | libxml2-2 +5 | 2.10.3-150500.5.32.1 | SUSE-SU-2025:02758-1 |
| 15.7 | libxml2-2 +5 | 2.12.10-150700.4.6.1 | SUSE-SU-2025:02617-1 |
SUSE Linux Enterprise Micro 7 releases · 1 package
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 5.1 | libxml2-2 +1 | 2.9.7-150000.3.85.1 | SUSE-SU-2025:02621-1 |
| 5.2 | libxml2-2 +2 | 2.9.7-150000.3.85.1 | SUSE-SU-2025:02621-1 |
| 5.3 | libxml2-2 +2 | 2.9.14-150400.5.47.1 | SUSE-SU-2025:02620-1 |
| 5.4 | libxml2-2 +2 | 2.9.14-150400.5.47.1 | SUSE-SU-2025:02620-1 |
| 5.5 | libxml2-2 +2 | 2.10.3-150500.5.32.1 | SUSE-SU-2025:02758-1 |
| 6.0 | libxml2-2 +1 | 2.11.6-10.1 | SUSE-SU-2025:20564-1 |
1 more row
alma 2 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 8 | libxml2 +2 | 2.9.7-21.el8_10.2 |
| 9 | libxml2 +2 | 2.9.13-11.el9_6 |
amazon linux 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 2023 | libxml2 +6 | 2.10.4-1.amzn2023.0.13 |
chainguard 1 release · 2 packages
| Release | Package | Fixed in |
|---|---|---|
| openjdk-17-openj9 +4 | 0.59.0-r1 | |
| openjdk-11-openj9 | 0.59.0-r2 |
debian 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 14 | libxslt | affected |
echo 1 release · 4 packages
| Release | Package | Fixed in |
|---|---|---|
| libxslt | 1.1.35-1.2 | |
| libxml2-2-11-7 | 2.11.7+e1 | |
| libxml2-2-15-3 | 2.15.3+e1 | |
| libxml2-2-9-1 | 2.9.1+e1 |
openSUSE 1 release · 1 package
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Tumbleweed | libxml2-2 +5 | 2.13.8-3.1 | openSUSE-SU-2025:15363-1 |
rocky 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 9 | libxml2 +2 | 2.9.13-11.el9_6 |
root.io debian 3 releases · 2 packages
| Release | Package | Fixed in |
|---|---|---|
| 11 | libxslt +1 | 1.1.34-4+deb11u3.root.io.3 |
| 11 | libxml2 +1 | 2.9.10+dfsg-6.7+deb11u8.root.io.1 |
| 12 | libxslt +1 | 1.1.35-1+deb12u1.root.io.4 |
| 13 | libxslt +1 | 1.1.35-1.2+deb13u1.root.io.3 |
root.io ubuntu 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 24.04 | libxslt +1 | 1.1.39-0exp1ubuntu0.24.04.3.root.io.1 |
seal Red Hat 3 releases · 2 packages
| Release | Package | Fixed in |
|---|---|---|
| 7 | libxslt +1 | 1.1.28-6.0.1.el7+sp999 |
| 7 | libxslt +1 | 1.1.28-6.el7+sp999 |
| 7 | libxml2 +1 | 2.9.1-6.el7_9.6+sp999 |
| 8 | libxml2 +1 | 2.9.7-18.el8_10.1+sp2 |
| 9 | libxml2 +1 | 2.9.13-6.el9_4+sp999 |
ubuntu 5 releases · 2 packages
| Release | Package | Fixed in |
|---|---|---|
| 18.04-ESM | libxml2 | 2.9.4+dfsg1-6.1ubuntu1.9+esm6 |
| 20.04-ESM | libxml2 | 2.9.10+dfsg-5ubuntu0.20.04.10+esm3 |
| 22.04 | libxml2 | 2.9.13+dfsg-1ubuntu0.10 |
| 24.04 | libxslt | affected |
| 24.04 | libxml2 | 2.9.14+dfsg-1.3ubuntu3.6 |
| 26.04 | libxslt | affected |
References
- seclists.org http://seclists.org/fulldisclosure/2025/Aug/0
- seclists.org http://seclists.org/fulldisclosure/2025/Jul/30
- seclists.org http://seclists.org/fulldisclosure/2025/Jul/32
- seclists.org http://seclists.org/fulldisclosure/2025/Jul/35
- seclists.org http://seclists.org/fulldisclosure/2025/Jul/37
- www.openwall.com http://www.openwall.com/lists/oss-security/2025/07/11/2
- access.redhat.com https://access.redhat.com/errata/RHBA-2025:12345
- access.redhat.com https://access.redhat.com/errata/RHSA-2025:12447
- access.redhat.com https://access.redhat.com/errata/RHSA-2025:12450
- access.redhat.com https://access.redhat.com/errata/RHSA-2025:13267
Show all 55 references
- access.redhat.com https://access.redhat.com/errata/RHSA-2025:13308
- access.redhat.com https://access.redhat.com/errata/RHSA-2025:13309
- access.redhat.com https://access.redhat.com/errata/RHSA-2025:13310
- access.redhat.com https://access.redhat.com/errata/RHSA-2025:13311
- access.redhat.com https://access.redhat.com/errata/RHSA-2025:13312
- access.redhat.com https://access.redhat.com/errata/RHSA-2025:13313
- access.redhat.com https://access.redhat.com/errata/RHSA-2025:13314
- access.redhat.com https://access.redhat.com/errata/RHSA-2025:13335
- access.redhat.com https://access.redhat.com/errata/RHSA-2025:13464
- access.redhat.com https://access.redhat.com/errata/RHSA-2025:13622
- access.redhat.com https://access.redhat.com/errata/RHSA-2025:14059
- access.redhat.com https://access.redhat.com/errata/RHSA-2025:14396
- access.redhat.com https://access.redhat.com/errata/RHSA-2025:14818
- access.redhat.com https://access.redhat.com/errata/RHSA-2025:14819
- access.redhat.com https://access.redhat.com/errata/RHSA-2025:14853
- access.redhat.com https://access.redhat.com/errata/RHSA-2025:14858
- access.redhat.com https://access.redhat.com/errata/RHSA-2025:15308
- access.redhat.com https://access.redhat.com/errata/RHSA-2025:15672
- access.redhat.com https://access.redhat.com/errata/RHSA-2025:15827
- access.redhat.com https://access.redhat.com/errata/RHSA-2025:15828
- access.redhat.com https://access.redhat.com/errata/RHSA-2025:18219
- access.redhat.com https://access.redhat.com/errata/RHSA-2025:21885
- access.redhat.com https://access.redhat.com/errata/RHSA-2025:21913
- access.redhat.com https://access.redhat.com/errata/RHSA-2026:0934
- access.redhat.com https://access.redhat.com/errata/RHSA-2026:11503
- access.redhat.com https://access.redhat.com/security/cve/CVE-2025-7425
- bugzilla.redhat.com https://bugzilla.redhat.com/2379274
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2379274
- cert-portal.siemens.com https://cert-portal.siemens.com/productcert/html/ssa-032379.html
- cert-portal.siemens.com https://cert-portal.siemens.com/productcert/html/ssa-082556.html
- cert-portal.siemens.com https://cert-portal.siemens.com/productcert/html/ssa-265688.html
- cert-portal.siemens.com https://cert-portal.siemens.com/productcert/html/ssa-577017.html
- creativecommons.org https://creativecommons.org/licenses/by/4.0/
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2025-7425
- errata.almalinux.org https://errata.almalinux.org/9/ALSA-2025-12447.html
- errata.rockylinux.org https://errata.rockylinux.org/RLSA-2025:12447
- gitlab.gnome.org https://gitlab.gnome.org/GNOME/libxslt/-/issues/140
- linux.oracle.com https://linux.oracle.com/cve/CVE-2025-7425.html
- linux.oracle.com https://linux.oracle.com/errata/ELSA-2025-13464.html
- lists.debian.org https://lists.debian.org/debian-lts-announce/2025/09/msg00035.html
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2025-7425
- ubuntu.com https://ubuntu.com/security/notices/USN-7852-1
- ubuntu.com https://ubuntu.com/security/notices/USN-7852-2
- ubuntu.com https://ubuntu.com/security/notices/USN-7896-1
- www.cve.org https://www.cve.org/CVERecord?id=CVE-2025-7425
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.