CVE-2025-7425

Publication date 10 July 2025

Last updated 3 March 2026


Ubuntu priority

Cvss 3 Severity Score

7.8 · High

Score breakdown

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.

Read the notes from the security team

Status

Package Ubuntu Release Status
libxslt 25.10 questing
Vulnerable, fix deferred
25.04 plucky Ignored end of life, was deferred [2026-03-03]
24.10 oracular Ignored end of life, was needs-triage
24.04 LTS noble
Vulnerable, fix deferred
22.04 LTS jammy
Not affected
20.04 LTS focal
Not affected
18.04 LTS bionic
Not affected
16.04 LTS xenial
Not affected
14.04 LTS trusty
Not affected
libxml2 25.10 questing
Not affected
25.04 plucky
Fixed 2.12.7+dfsg+really2.9.14-0.4ubuntu0.4
24.04 LTS noble
Fixed 2.9.14+dfsg-1.3ubuntu3.6
22.04 LTS jammy
Fixed 2.9.13+dfsg-1ubuntu0.10
20.04 LTS focal
Fixed 2.9.10+dfsg-5ubuntu0.20.04.10+esm3
18.04 LTS bionic
Fixed 2.9.4+dfsg1-6.1ubuntu1.9+esm6
16.04 LTS xenial
Fixed 2.9.3+dfsg1-1ubuntu0.7+esm11
14.04 LTS trusty
Fixed 2.9.1+dfsg1-3ubuntu4.13+esm10

Get expanded security coverage with Ubuntu Pro

Reduce your average CVE exposure time from 98 days to 1 day with expanded CVE patching, ten-years security maintenance and optional support for the full stack of open-source applications. Free for personal use.

Get Ubuntu Pro 30-day free trial

Notes


mdeslaur

as of 2026-03-03, the proposed fix for libxslt has not been merged yet, but there is a work-around in libxml2 available to address this issue Per Debian, this issue was introduced in libxslt 1.1.38 with the following 2 commits: https://gitlab.gnome.org/GNOME/libxslt/-/commit/adebe45f6ef9f9d036acacd8aec7411d4ea84e25 https://gitlab.gnome.org/GNOME/libxslt/-/commit/82f6cbf8ca61b1f9e00dc04aa3b15d563e7bbc6d

Patch details

For informational purposes only. We recommend not to cherry-pick updates. How can I get the fixes?

Package Patch details
libxml2

Severity score breakdown

Parameter Value
Base score 7.8 · High
Attack vector Local
Attack complexity High
Privileges required None
User interaction None
Scope Changed
Confidentiality None
Integrity impact High
Availability impact High
Vector CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:N/I:H/A:H

References

Related Ubuntu Security Notices (USN)

    • USN-7852-1
    • libxml2 vulnerability
    • 30 October 2025
    • USN-7852-2
    • libxml2 vulnerability
    • 27 November 2025
    • USN-7896-1
    • libxml2 vulnerabilities
    • 27 November 2025

Other references