CVE-2025-31115

liblzma5: XZ Utils provide a general-purpose data-compression library pluscommand-line tools

CVE-2025-31115 is fixed in 7 products on 1 platform, first by liblzma5 5.6.1+really5.4.5-1ubuntu0.2, released April 3, 2025. It is not reported as exploited. Patch Radar priority: High.

High
CVSS
7.5
Medium
Exploitation
None reported
No vendor assessment
CISA KEV
Not listed
Not in the Known Exploited Vulnerabilities catalog
EPSS
0.0068
52nd percentile

XZ Utils provide a general-purpose data-compression library pluscommand-line tools. In XZ Utils 5.3.3alpha to 5.8.0, the multithreaded .xzdecoder in liblzma has a bug where invalid input can at least result in acrash. The effects include heap use after free and writing to an addressbased on the null pointer plus an offset. Applications and libraries thatuse the lzma_stream_decoder_mt function are affected. The bug has beenfixed in XZ Utils 5.8.1, and the fix has been committed to the v5.4, v5.6,v5.8, and master branches in the xz Git repository. No new release packageswill be made from the old stable branches, but a standalone patch isavailable that applies to all affected releases.

Where it's fixed

ProductFixed inFixReleased
Linux
liblzma5 · Ubuntu 24.04.5 LTS (noble) 5.6.1+really5.4.5-1ubuntu0.2 liblzma5 5.6.1+really5.4.5-1ubuntu0.2 Apr 3, 2025
liblzma5 · Ubuntu 24.10 (oracular) 5.6.2-2ubuntu0.2 liblzma5 5.6.2-2ubuntu0.2 Jan 16, 2026
liblzma5 · Ubuntu 25.04 (plucky) 5.6.4-1ubuntu1 liblzma5 5.6.4-1ubuntu1 Jan 16, 2026
xz · RHEL 10 5.6.2-4.el10_0 RHSA-2025:7524 Apr 3, 2025
xz · almalinux 10 1:5.6.2-4.el10_0 ALSA-2025:7524 May 13, 2025
xz · ol 10 1:5.6.2-4.el10_0 ELSA-2025-7524 Jun 27, 2025
xz · opensuse-leap 15.6 5.4.1-150600.3.3.1 SUSE-SU-2025:1137-1 Apr 3, 2025
xz · rocky 10 1:5.6.2-4.el10_0 RLSA-2025:7524 Oct 3, 2025
xz · sles 15.6 5.4.1-150600.3.3.1 SUSE-SU-2025:1137-1 Apr 3, 2025
xz-devel · almalinux 10 1:5.6.2-4.el10_0 ALSA-2025:7524 May 13, 2025
xz-devel · ol 10 1:5.6.2-4.el10_0 ELSA-2025-7524 Jun 27, 2025
xz-libs · almalinux 10 1:5.6.2-4.el10_0 ALSA-2025:7524 May 13, 2025
xz-libs · ol 10 1:5.6.2-4.el10_0 ELSA-2025-7524 Jun 27, 2025
xz-lzma-compat · almalinux 10 1:5.6.2-4.el10_0 ALSA-2025:7524 May 13, 2025
xz-lzma-compat · ol 10 1:5.6.2-4.el10_0 ELSA-2025-7524 Jun 27, 2025
xz-utils · Debian 12.15 (bookworm) 5.4.1-1 DSA-5895-1 Apr 5, 2025
xz-utils · Debian 13.5 (trixie) 5.8.1-1 DEBIAN-CVE-2025-31115 Apr 3, 2025
xz-utils · Debian 14 5.8.1-1 DEBIAN-CVE-2025-31115 Apr 3, 2025
xz-utils · Ubuntu 24.04.5 LTS (noble) 5.6.1+really5.4.5-1ubuntu0.2 xz-utils 5.6.1+really5.4.5-1ubuntu0.2 Apr 3, 2025
xz-utils · Ubuntu 24.10 (oracular) 5.6.2-2ubuntu0.2 xz-utils 5.6.2-2ubuntu0.2 Jan 16, 2026
xz-utils · Ubuntu 25.04 (plucky) 5.6.4-1ubuntu1 xz-utils 5.6.4-1ubuntu1 Jan 16, 2026
xzdec · Ubuntu 24.04.5 LTS (noble) 5.6.1+really5.4.5-1ubuntu0.2 xzdec 5.6.1+really5.4.5-1ubuntu0.2 Apr 3, 2025
xzdec · Ubuntu 24.10 (oracular) 5.6.2-2ubuntu0.2 xzdec 5.6.2-2ubuntu0.2 Jan 16, 2026
xzdec · Ubuntu 25.04 (plucky) 5.6.4-1ubuntu1 xzdec 5.6.4-1ubuntu1 Jan 16, 2026

Patch Radar data is free to use with attribution. Terms and how to credit it.

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.