CVE & CISA-KEV Catalog

CVE-2025-31115

UNSCORED

Description

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.

How to fix

Remediation Available
xz-utilsDebian
Fixed in:5.4.1-1CVE-2025-31115
Fixed in:5.8.1-1CVE-2025-31115
Fixed in:5.8.1-1CVE-2025-31115
xzRed Hat / RHEL
Fixed in:1:5.6.2-4.el10_0RHSA-2025:7524
Fixed in:1:5.6.2-4.el10_0RHSA-2025:7524
Fixed in:1:5.6.2-4.el10_0RHSA-2025:7524
Fixed in:1:5.6.2-4.el10_0RHSA-2025:7524
Fixed in:1:5.6.2-4.el10_0RHSA-2025:7524
xzRocky
Fixed in:1:5.6.2-4.el10_0RHSA-2025:7524
Fixed in:1:5.6.2-4.el10_0RHSA-2025:7524
Fixed in:1:5.6.2-4.el10_0RHSA-2025:7524
Fixed in:1:5.6.2-4.el10_0RHSA-2025:7524
Fixed in:1:5.6.2-4.el10_0RHSA-2025:7524
xz-debuginfoRed Hat / RHEL
Fixed in:1:5.6.2-4.el10_0RHSA-2025:7524
Fixed in:1:5.6.2-4.el10_0RHSA-2025:7524
Fixed in:1:5.6.2-4.el10_0RHSA-2025:7524
Fixed in:1:5.6.2-4.el10_0RHSA-2025:7524
xz-debuginfoRocky
Fixed in:1:5.6.2-4.el10_0RHSA-2025:7524
Fixed in:1:5.6.2-4.el10_0RHSA-2025:7524
Fixed in:1:5.6.2-4.el10_0RHSA-2025:7524
Fixed in:1:5.6.2-4.el10_0RHSA-2025:7524
xz-debugsourceRocky
Fixed in:1:5.6.2-4.el10_0RHSA-2025:7524
Fixed in:1:5.6.2-4.el10_0RHSA-2025:7524
Fixed in:1:5.6.2-4.el10_0RHSA-2025:7524
Fixed in:1:5.6.2-4.el10_0RHSA-2025:7524
xz-debugsourceRed Hat / RHEL
Fixed in:1:5.6.2-4.el10_0RHSA-2025:7524
Fixed in:1:5.6.2-4.el10_0RHSA-2025:7524
Fixed in:1:5.6.2-4.el10_0RHSA-2025:7524
Fixed in:1:5.6.2-4.el10_0RHSA-2025:7524
xz-develRed Hat / RHEL
Fixed in:1:5.6.2-4.el10_0RHSA-2025:7524
Fixed in:1:5.6.2-4.el10_0RHSA-2025:7524
Fixed in:1:5.6.2-4.el10_0RHSA-2025:7524
Fixed in:1:5.6.2-4.el10_0RHSA-2025:7524
xz-develRocky
Fixed in:1:5.6.2-4.el10_0RHSA-2025:7524
Fixed in:1:5.6.2-4.el10_0RHSA-2025:7524
Fixed in:1:5.6.2-4.el10_0RHSA-2025:7524
Fixed in:1:5.6.2-4.el10_0RHSA-2025:7524
xz-libsRocky
Fixed in:1:5.6.2-4.el10_0RHSA-2025:7524
Fixed in:1:5.6.2-4.el10_0RHSA-2025:7524
Fixed in:1:5.6.2-4.el10_0RHSA-2025:7524
Fixed in:1:5.6.2-4.el10_0RHSA-2025:7524
xz-libsRed Hat / RHEL
Fixed in:1:5.6.2-4.el10_0RHSA-2025:7524
Fixed in:1:5.6.2-4.el10_0RHSA-2025:7524
Fixed in:1:5.6.2-4.el10_0RHSA-2025:7524
Fixed in:1:5.6.2-4.el10_0RHSA-2025:7524
xz-libs-debuginfoRocky
Fixed in:1:5.6.2-4.el10_0RHSA-2025:7524
Fixed in:1:5.6.2-4.el10_0RHSA-2025:7524
Fixed in:1:5.6.2-4.el10_0RHSA-2025:7524
Fixed in:1:5.6.2-4.el10_0RHSA-2025:7524
xz-libs-debuginfoRed Hat / RHEL
Fixed in:1:5.6.2-4.el10_0RHSA-2025:7524
Fixed in:1:5.6.2-4.el10_0RHSA-2025:7524
Fixed in:1:5.6.2-4.el10_0RHSA-2025:7524
Fixed in:1:5.6.2-4.el10_0RHSA-2025:7524
xz-lzma-compatRocky
Fixed in:1:5.6.2-4.el10_0RHSA-2025:7524
Fixed in:1:5.6.2-4.el10_0RHSA-2025:7524
Fixed in:1:5.6.2-4.el10_0RHSA-2025:7524
Fixed in:1:5.6.2-4.el10_0RHSA-2025:7524
xz-lzma-compatRed Hat / RHEL
Fixed in:1:5.6.2-4.el10_0RHSA-2025:7524
Fixed in:1:5.6.2-4.el10_0RHSA-2025:7524
Fixed in:1:5.6.2-4.el10_0RHSA-2025:7524
Fixed in:1:5.6.2-4.el10_0RHSA-2025:7524
xz-lzma-compat-debuginfoRocky
Fixed in:1:5.6.2-4.el10_0RHSA-2025:7524
Fixed in:1:5.6.2-4.el10_0RHSA-2025:7524
Fixed in:1:5.6.2-4.el10_0RHSA-2025:7524
Fixed in:1:5.6.2-4.el10_0RHSA-2025:7524
xz-lzma-compat-debuginfoRed Hat / RHEL
Fixed in:1:5.6.2-4.el10_0RHSA-2025:7524
Fixed in:1:5.6.2-4.el10_0RHSA-2025:7524
Fixed in:1:5.6.2-4.el10_0RHSA-2025:7524
Fixed in:1:5.6.2-4.el10_0RHSA-2025:7524
xz-utilsUbuntu
Fixed in:5.6.1+really5.4.5-1ubuntu0.2USN-7414-1

TridentStack Control can deploy fixes like this automatically across your Windows, macOS, and Linux fleet. See how it works

Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.

CVSS v3.1 Vector

No CVSS vector data available.

Exploit Intelligence

0.65%probability of exploitation in 30 days
47thpercentile

Moderate risk: more likely to be exploited than 47% of all known CVEs.

References

Related Vulnerabilities

Other CWE-366 vulnerabilities, ordered by exploit likelihood. View all

CVESeverityCVSSEPSSExploitedFix
CVE-2021-26569Critical9.82.2%-Fix
CVE-2026-23666Critical7.51.3%--
CVE-2024-6778High7.50.8%-Fix
CVE-2023-6546High7.00.8%-Fix
CVE-2020-1629Medium5.90.7%--
CVE-2015-10067Medium4.60.5%-Fix
Embed a live status badge for CVE-2025-31115
CVE-2025-31115 severity badge

Markdown

[![CVE-2025-31115](https://tridentstack.com/cve/badge/CVE-2025-31115.svg)](https://tridentstack.com/cve/CVE-2025-31115)

HTML

<a href="https://tridentstack.com/cve/CVE-2025-31115"><img src="https://tridentstack.com/cve/badge/CVE-2025-31115.svg" alt="CVE-2025-31115"></a>

Find and fix vulnerabilities across your fleet

TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.

See how it worksStart freeThis CVE lookup is free and always will be.

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2026-05-12.