# 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.

- Web page: https://patchblox.com/security/cve/CVE-2025-31115
- Priority: High
- CVSS: 7.5 (Medium)
- EPSS: 0.0068
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: Apr 3, 2025

## Description

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

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| 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](https://patchblox.com/security/data/fix/linux/ubuntu-noble-liblzma5-5.6.1-really5.4.5-1ubuntu0.2.md) | Apr 3, 2025 |
| Linux | liblzma5 Ubuntu 24.10 (oracular) | 5.6.2-2ubuntu0.2 | [liblzma5 5.6.2-2ubuntu0.2](https://patchblox.com/security/data/fix/linux/ubuntu-oracular-liblzma5-5.6.2-2ubuntu0.2.md) | Jan 16, 2026 |
| Linux | liblzma5 Ubuntu 25.04 (plucky) | 5.6.4-1ubuntu1 | [liblzma5 5.6.4-1ubuntu1](https://patchblox.com/security/data/fix/linux/ubuntu-plucky-liblzma5-5.6.4-1ubuntu1.md) | Jan 16, 2026 |
| Linux | xz RHEL 10 | 5.6.2-4.el10_0 | [RHSA-2025:7524](https://patchblox.com/security/data/fix/linux/rhsa-2025-7524.md) | Apr 3, 2025 |
| Linux | xz almalinux 10 | 1:5.6.2-4.el10_0 | [ALSA-2025:7524](https://patchblox.com/security/data/fix/linux/alsa-2025-7524.md) | May 13, 2025 |
| Linux | xz ol 10 | 1:5.6.2-4.el10_0 | [ELSA-2025-7524](https://patchblox.com/security/data/fix/linux/elsa-2025-7524.md) | Jun 27, 2025 |
| Linux | xz opensuse-leap 15.6 | 5.4.1-150600.3.3.1 | [SUSE-SU-2025:1137-1](https://patchblox.com/security/data/fix/linux/suse-su-2025-1137-1.md) | Apr 3, 2025 |
| Linux | xz rocky 10 | 1:5.6.2-4.el10_0 | [RLSA-2025:7524](https://patchblox.com/security/data/fix/linux/rlsa-2025-7524.md) | Oct 3, 2025 |
| Linux | xz sles 15.6 | 5.4.1-150600.3.3.1 | [SUSE-SU-2025:1137-1](https://patchblox.com/security/data/fix/linux/suse-su-2025-1137-1.md) | Apr 3, 2025 |
| Linux | xz-devel almalinux 10 | 1:5.6.2-4.el10_0 | [ALSA-2025:7524](https://patchblox.com/security/data/fix/linux/alsa-2025-7524.md) | May 13, 2025 |
| Linux | xz-devel ol 10 | 1:5.6.2-4.el10_0 | [ELSA-2025-7524](https://patchblox.com/security/data/fix/linux/elsa-2025-7524.md) | Jun 27, 2025 |
| Linux | xz-libs almalinux 10 | 1:5.6.2-4.el10_0 | [ALSA-2025:7524](https://patchblox.com/security/data/fix/linux/alsa-2025-7524.md) | May 13, 2025 |
| Linux | xz-libs ol 10 | 1:5.6.2-4.el10_0 | [ELSA-2025-7524](https://patchblox.com/security/data/fix/linux/elsa-2025-7524.md) | Jun 27, 2025 |
| Linux | xz-lzma-compat almalinux 10 | 1:5.6.2-4.el10_0 | [ALSA-2025:7524](https://patchblox.com/security/data/fix/linux/alsa-2025-7524.md) | May 13, 2025 |
| Linux | xz-lzma-compat ol 10 | 1:5.6.2-4.el10_0 | [ELSA-2025-7524](https://patchblox.com/security/data/fix/linux/elsa-2025-7524.md) | Jun 27, 2025 |
| Linux | xz-utils Debian 12.15 (bookworm) | 5.4.1-1 | [DSA-5895-1](https://patchblox.com/security/data/fix/linux/dsa-5895-1.md) | Apr 5, 2025 |
| Linux | xz-utils Debian 13.5 (trixie) | 5.8.1-1 | [DEBIAN-CVE-2025-31115](https://patchblox.com/security/data/fix/linux/debian-cve-2025-31115.md) | Apr 3, 2025 |
| Linux | xz-utils Debian 14 | 5.8.1-1 | [DEBIAN-CVE-2025-31115](https://patchblox.com/security/data/fix/linux/debian-cve-2025-31115.md) | Apr 3, 2025 |
| Linux | 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](https://patchblox.com/security/data/fix/linux/ubuntu-noble-xz-utils-5.6.1-really5.4.5-1ubuntu0.2.md) | Apr 3, 2025 |
| Linux | xz-utils Ubuntu 24.10 (oracular) | 5.6.2-2ubuntu0.2 | [xz-utils 5.6.2-2ubuntu0.2](https://patchblox.com/security/data/fix/linux/ubuntu-oracular-xz-utils-5.6.2-2ubuntu0.2.md) | Jan 16, 2026 |
| Linux | xz-utils Ubuntu 25.04 (plucky) | 5.6.4-1ubuntu1 | [xz-utils 5.6.4-1ubuntu1](https://patchblox.com/security/data/fix/linux/ubuntu-plucky-xz-utils-5.6.4-1ubuntu1.md) | Jan 16, 2026 |
| Linux | xzdec Ubuntu 24.04.5 LTS (noble) | 5.6.1+really5.4.5-1ubuntu0.2 | [xzdec 5.6.1+really5.4.5-1ubuntu0.2](https://patchblox.com/security/data/fix/linux/ubuntu-noble-xzdec-5.6.1-really5.4.5-1ubuntu0.2.md) | Apr 3, 2025 |
| Linux | xzdec Ubuntu 24.10 (oracular) | 5.6.2-2ubuntu0.2 | [xzdec 5.6.2-2ubuntu0.2](https://patchblox.com/security/data/fix/linux/ubuntu-oracular-xzdec-5.6.2-2ubuntu0.2.md) | Jan 16, 2026 |
| Linux | xzdec Ubuntu 25.04 (plucky) | 5.6.4-1ubuntu1 | [xzdec 5.6.4-1ubuntu1](https://patchblox.com/security/data/fix/linux/ubuntu-plucky-xzdec-5.6.4-1ubuntu1.md) | Jan 16, 2026 |

---

Data as of 2026-11-09T13:31:49Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

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.
