
CVE catalog
CVE-2025-31115
XZ Utils vulnerability
- Severity
- High · CVSS 8.2
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 0.66% · Oct 25, 2026
XZ Utils provide a general-purpose data-compression library plus command-line tools. In XZ Utils 5.3.3alpha to 5.8.0, the multithreaded .xz decoder in liblzma has a bug where invalid input can at least result in a crash. The effects include heap use after free and writing to an address based on the null pointer plus an offset. Applications and libraries that use the lzma_stream_decoder_mt function are affected. The bug has been fixed 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 packages will be made from the old stable branches, but a standalone patch is available that applies to all affected releases.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | xz-utils | sid | 5.8.4-1 | fixed |
| Debian | xz-utils | forky | 5.8.4-1 | fixed |
| Debian | xz-utils | trixie | 5.8.1-1+deb13u1 | fixed |
| Debian | xz-utils | trixie-security | 5.8.1-1+deb13u2 | fixed |
| Debian | xz-utils | bookworm | 5.4.1-1+deb12u1 | fixed |
| Debian | xz-utils | bookworm-security | 5.4.1-1+deb12u2 | fixed |
| Ubuntu | xz-utils | noble | 5.4.1-1 | fixed |
| Ubuntu | xz-utils | noble | 5.6.1+really5.4.5-1ubuntu0.2 | fixed |
| Ubuntu | liblzma-dev | noble | 5.6.1+really5.4.5-1ubuntu0.2 | fixed |
| Ubuntu | liblzma-doc | noble | 5.6.1+really5.4.5-1ubuntu0.2 | fixed |
| Ubuntu | liblzma5 | noble | 5.6.1+really5.4.5-1ubuntu0.2 | fixed |
| Ubuntu | xzdec | noble | 5.6.1+really5.4.5-1ubuntu0.2 | fixed |
| Alpine | xz | 3.18 | 5.4.3-r1 | fixed |
| Alpine | xz | 3.19 | 5.4.5-r1 | fixed |
| Alpine | xz | 3.20 | 5.6.2-r1 | fixed |
| Alpine | xz | 3.21 | 5.6.3-r1 | fixed |
| Alpine | xz | 3.22 | 5.8.1-r0 | fixed |
| Alpine | xz | 3.23 | 5.8.1-r0 | fixed |
| Alpine | xz | 3.24 | 5.8.1-r0 | fixed |
| Ubuntu | xz-utils | 24.04 | 5.4.1-0.2 | vulnerable |
| Ubuntu | xz-utils | 24.04 | 5.4.4-0.1 | vulnerable |
| Ubuntu | xz-utils | 24.04 | 5.4.5-0.1 | vulnerable |
| Ubuntu | xz-utils | 24.04 | 5.4.5-0.3 | vulnerable |
| Ubuntu | xz-utils | 24.04 | 5.6.0-0.2 | vulnerable |
| Ubuntu | xz-utils | 24.04 | 5.6.1+really5.4.5-1 | vulnerable |
| Ubuntu | xz-utils | 24.04 | 5.6.1+really5.4.5-1build0.1 | vulnerable |
| Ubuntu | xz-utils | 24.04 | 5.6.1+really5.4.5-1ubuntu0.2 | fixed |
| Ubuntu | xz-utils | 24.04 | 5.4.1-0.2 | vulnerable |
| Ubuntu | xz-utils | 24.04 | 5.4.4-0.1 | vulnerable |
| Ubuntu | xz-utils | 24.04 | 5.4.5-0.1 | vulnerable |
| Ubuntu | xz-utils | 24.04 | 5.4.5-0.3 | vulnerable |
| Ubuntu | xz-utils | 24.04 | 5.6.0-0.2 | vulnerable |
| Ubuntu | xz-utils | 24.04 | 5.6.1+really5.4.5-1 | vulnerable |
| Ubuntu | xz-utils | 24.04 | 5.6.1+really5.4.5-1build0.1 | vulnerable |
| Ubuntu | xz-utils | 24.04 | 5.6.1+really5.4.5-1ubuntu0.2 | fixed |
| Suse | xz | linux micro 6.0 | 5.4.3-5.1 | fixed |
| Suse | xz | linux micro 6.1 | 5.4.3-slfo.1.1_2.1 | fixed |
| Suse | xz | linux enterprise module for basesystem 15 sp6 | 5.4.1-150600.3.3.1 | fixed |
| Opensuse | xz | leap 15.6 | 5.4.1-150600.3.3.1 | fixed |
| Opensuse | xz | tumbleweed | 5.8.1-1.1 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | xz-utils | source | sid | 5.8.1-1 | not yet assigned | Not reported | Not reported |
| Debian | xz-utils | source | forky | 5.8.1-1 | not yet assigned | Not reported | Not reported |
| Debian | xz-utils | source | trixie | 5.8.1-1 | not yet assigned | Not reported | Not reported |
| Debian | xz-utils | source | bookworm | 5.4.1-1 | not yet assigned | Not reported | Not reported |
| Ubuntu | xz-utils | deb | noble | 5.4.1-1 | Not reported | Not reported | Not reported |
| Ubuntu | xz-utils | deb | noble | 5.6.1+really5.4.5-1ubuntu0.2 | Not reported | Not reported | Not reported |
| Ubuntu | liblzma-dev | deb | noble | 5.6.1+really5.4.5-1ubuntu0.2 | Not reported | Not reported | Not reported |
| Ubuntu | liblzma-doc | deb | noble | 5.6.1+really5.4.5-1ubuntu0.2 | Not reported | Not reported | Not reported |
| Ubuntu | liblzma5 | deb | noble | 5.6.1+really5.4.5-1ubuntu0.2 | Not reported | Not reported | Not reported |
| Ubuntu | xzdec | deb | noble | 5.6.1+really5.4.5-1ubuntu0.2 | Not reported | Not reported | Not reported |
| Alpine | xz | apk | 3.18 | 5.4.3-r1 | Not reported | ALPINE-CVE-2025-31115 | Not reported |
| Alpine | xz | apk | 3.19 | 5.4.5-r1 | Not reported | ALPINE-CVE-2025-31115 | Not reported |
| Alpine | xz | apk | 3.20 | 5.6.2-r1 | Not reported | ALPINE-CVE-2025-31115 | Not reported |
| Alpine | xz | apk | 3.21 | 5.6.3-r1 | Not reported | ALPINE-CVE-2025-31115 | Not reported |
| Alpine | xz | apk | 3.22 | 5.8.1-r0 | Not reported | ALPINE-CVE-2025-31115 | Not reported |
| Alpine | xz | apk | 3.23 | 5.8.1-r0 | Not reported | ALPINE-CVE-2025-31115 | Not reported |
| Alpine | xz | apk | 3.24 | 5.8.1-r0 | Not reported | ALPINE-CVE-2025-31115 | Not reported |
| Ubuntu | xz-utils | deb | 24.04 | 5.6.1+really5.4.5-1ubuntu0.2 | Not reported | UBUNTU-CVE-2025-31115 | Not reported |
| Ubuntu | xz-utils | deb | 24.04 | 5.6.1+really5.4.5-1ubuntu0.2 | Not reported | USN-7414-1 | Not reported |
| Suse | xz | rpm | linux micro 6.0 | 5.4.3-5.1 | Not reported | SUSE-SU-2025:20553-1 | Not reported |
| Suse | xz | rpm | linux micro 6.1 | 5.4.3-slfo.1.1_2.1 | Not reported | SUSE-SU-2025:20590-1 | Not reported |
| Suse | xz | rpm | linux enterprise module for basesystem 15 sp6 | 5.4.1-150600.3.3.1 | Not reported | SUSE-SU-2025:1137-1 | Not reported |
| Opensuse | xz | rpm | leap 15.6 | 5.4.1-150600.3.3.1 | Not reported | SUSE-SU-2025:1137-1 | Not reported |
| Opensuse | xz | rpm | tumbleweed | 5.8.1-1.1 | Not reported | OPENSUSE-SU-2025:14984-1 | Not reported |
OpenFactory catalog packages
[openSUSE Tumbleweed]
- [liblzma5]Unknown
Source package: [xz]
Details (1)
5.8.3-1.4· x86_64 · tumbleweedUnknown · Fixed:
5.8.1-1.1Version impact unknown
usn · xz · opensuse · tumbleweed
- [liblzma5-32bit]Unknown
Source package: [xz]
Details (1)
5.8.3-1.4· x86_64 · tumbleweedUnknown · Fixed:
5.8.1-1.1Version impact unknown
usn · xz · opensuse · tumbleweed
- [liblzma5-x86-64-v3]Unknown
Source package: [xz]
Details (1)
5.8.3-1.4· x86_64 · tumbleweedUnknown · Fixed:
5.8.1-1.1Version impact unknown
usn · xz · opensuse · tumbleweed
- [xz-devel]Unknown
Source package: [xz]
Details (1)
5.8.3-1.4· x86_64 · tumbleweedUnknown · Fixed:
5.8.1-1.1Version impact unknown
usn · xz · opensuse · tumbleweed
- [xz-devel-32bit]Unknown
Source package: [xz]
Details (1)
5.8.3-1.4· x86_64 · tumbleweedUnknown · Fixed:
5.8.1-1.1Version impact unknown
usn · xz · opensuse · tumbleweed
- [xz-lang]Unknown
Source package: [xz]
Details (1)
5.8.3-1.4· noarch · tumbleweedUnknown · Fixed:
5.8.1-1.1Version impact unknown
usn · xz · opensuse · tumbleweed
- [xz]Fixed
Source package: [xz]
Details (1)
5.8.3-1.4· x86_64 · tumbleweedFixed · Fixed:
5.8.1-1.1usn · xz · opensuse · tumbleweed
[Debian 12 (Bookworm)]
- [liblzma5]Fixed
Source package: [xz-utils]
Details (4)
5.4.1-1+deb12u1· amd64 · bookwormFixed · Fixed:
5.4.1-1usn · xz-utils · debian · bookworm; usn · xz-utils · debian · 12
5.4.1-1+deb12u1· arm64 · bookwormFixed · Fixed:
5.4.1-1usn · xz-utils · debian · bookworm; usn · xz-utils · debian · 12
5.4.1-1· amd64 · bookworm-securityFixed · Fixed:
5.4.1-1usn · xz-utils · debian · bookworm; usn · xz-utils · debian · 12
5.4.1-1· arm64 · bookworm-securityFixed · Fixed:
5.4.1-1usn · xz-utils · debian · bookworm; usn · xz-utils · debian · 12
- [liblzma-dev]Fixed
Source package: [xz-utils]
Details (4)
5.4.1-1+deb12u1· amd64 · bookwormFixed · Fixed:
5.4.1-1usn · xz-utils · debian · bookworm; usn · xz-utils · debian · 12
5.4.1-1+deb12u1· arm64 · bookwormFixed · Fixed:
5.4.1-1usn · xz-utils · debian · bookworm; usn · xz-utils · debian · 12
5.4.1-1· amd64 · bookworm-securityFixed · Fixed:
5.4.1-1usn · xz-utils · debian · bookworm; usn · xz-utils · debian · 12
5.4.1-1· arm64 · bookworm-securityFixed · Fixed:
5.4.1-1usn · xz-utils · debian · bookworm; usn · xz-utils · debian · 12
- [liblzma-doc]Fixed
Source package: [xz-utils]
Details (4)
5.4.1-1+deb12u1· all · bookwormFixed · Fixed:
5.4.1-1usn · xz-utils · debian · bookworm; usn · xz-utils · debian · 12
5.4.1-1+deb12u1· all · bookwormFixed · Fixed:
5.4.1-1usn · xz-utils · debian · bookworm; usn · xz-utils · debian · 12
5.4.1-1· all · bookworm-securityFixed · Fixed:
5.4.1-1usn · xz-utils · debian · bookworm; usn · xz-utils · debian · 12
5.4.1-1· all · bookworm-securityFixed · Fixed:
5.4.1-1usn · xz-utils · debian · bookworm; usn · xz-utils · debian · 12
- [xzdec]Fixed
Source package: [xz-utils]
Details (4)
5.4.1-1+deb12u1· amd64 · bookwormFixed · Fixed:
5.4.1-1usn · xz-utils · debian · bookworm; usn · xz-utils · debian · 12
5.4.1-1+deb12u1· arm64 · bookwormFixed · Fixed:
5.4.1-1usn · xz-utils · debian · bookworm; usn · xz-utils · debian · 12
5.4.1-1· amd64 · bookworm-securityFixed · Fixed:
5.4.1-1usn · xz-utils · debian · bookworm; usn · xz-utils · debian · 12
5.4.1-1· arm64 · bookworm-securityFixed · Fixed:
5.4.1-1usn · xz-utils · debian · bookworm; usn · xz-utils · debian · 12
- [xz-utils]Fixed
Details (4)
5.4.1-1+deb12u1· amd64 · bookwormFixed · Fixed:
5.4.1-1usn · xz-utils · debian · bookworm; usn · xz-utils · debian · 12
5.4.1-1+deb12u1· arm64 · bookwormFixed · Fixed:
5.4.1-1usn · xz-utils · debian · bookworm; usn · xz-utils · debian · 12
5.4.1-1· amd64 · bookworm-securityFixed · Fixed:
5.4.1-1usn · xz-utils · debian · bookworm; usn · xz-utils · debian · 12
5.4.1-1· arm64 · bookworm-securityFixed · Fixed:
5.4.1-1usn · xz-utils · debian · bookworm; usn · xz-utils · debian · 12
[Debian 13 (Trixie)]
- [liblzma5]Fixed
Source package: [xz-utils]
Details (3)
5.8.1-1+deb13u1· amd64 · trixieFixed · Fixed:
5.8.1-1usn · xz-utils · debian · 13
5.8.1-1+deb13u1· arm64 · trixieFixed · Fixed:
5.8.1-1usn · xz-utils · debian · 13
5.8.1-1+deb13u2· amd64 · trixie-securityFixed · Fixed:
5.8.1-1usn · xz-utils · debian · 13
- [liblzma-dev]Fixed
Source package: [xz-utils]
Details (3)
5.8.1-1+deb13u1· amd64 · trixieFixed · Fixed:
5.8.1-1usn · xz-utils · debian · 13
5.8.1-1+deb13u1· arm64 · trixieFixed · Fixed:
5.8.1-1usn · xz-utils · debian · 13
5.8.1-1+deb13u2· amd64 · trixie-securityFixed · Fixed:
5.8.1-1usn · xz-utils · debian · 13
- [liblzma-doc]Fixed
Source package: [xz-utils]
Details (3)
5.8.1-1+deb13u1· all · trixieFixed · Fixed:
5.8.1-1usn · xz-utils · debian · 13
5.8.1-1+deb13u1· all · trixieFixed · Fixed:
5.8.1-1usn · xz-utils · debian · 13
5.8.1-1+deb13u2· all · trixie-securityFixed · Fixed:
5.8.1-1usn · xz-utils · debian · 13
- [xzdec]Fixed
Source package: [xz-utils]
Details (3)
5.8.1-1+deb13u1· amd64 · trixieFixed · Fixed:
5.8.1-1usn · xz-utils · debian · 13
5.8.1-1+deb13u1· arm64 · trixieFixed · Fixed:
5.8.1-1usn · xz-utils · debian · 13
5.8.1-1+deb13u2· amd64 · trixie-securityFixed · Fixed:
5.8.1-1usn · xz-utils · debian · 13
- [xz-utils]Fixed
Details (3)
5.8.1-1+deb13u1· amd64 · trixieFixed · Fixed:
5.8.1-1usn · xz-utils · debian · 13
5.8.1-1+deb13u1· arm64 · trixieFixed · Fixed:
5.8.1-1usn · xz-utils · debian · 13
5.8.1-1+deb13u2· amd64 · trixie-securityFixed · Fixed:
5.8.1-1usn · xz-utils · debian · 13
Observed:
References
- [https://cert-portal.siemens.com/productcert/csaf/ssa-082556.json]
- [https://ftp.suse.com/pub/projects/security/csaf/rhsa-2025_7524.json]
- [https://osv.dev/vulnerability/ALPINE-CVE-2025-31115]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2025-31115]
- [https://osv.dev/vulnerability/DSA-5895-1]
- [https://osv.dev/vulnerability/SUSE-SU-2025:1137-1]
- [https://osv.dev/vulnerability/SUSE-SU-2025:20553-1]
- [https://osv.dev/vulnerability/SUSE-SU-2025:20590-1]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2025-31115]
- [https://osv.dev/vulnerability/USN-7414-1]
- [https://osv.dev/vulnerability/openSUSE-SU-2025:14984-1]
- [https://security-tracker.debian.org/tracker/CVE-2025-31115]
- [https://security.access.redhat.com/data/csaf/v2/vex/2025/cve-2025-31115.json]
- [https://ubuntu.com/security/notices/USN-7414-1]
- [https://wid.cert-bund.de/.well-known/csaf/white/2025/wid-sec-w-2025-1439.json]
[CERT-Bund public advisories] · [CISA cybersecurity advisories] · [Debian Security Tracker] · [FIRST EPSS] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX] · [SUSE security advisories and VEX] · [Ubuntu Security Notices (USN)]