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
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
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
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-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-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-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-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-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-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-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-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-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-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
48thpercentile

Moderate risk: more likely to be exploited than 48% 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

Common questions

How do I fix CVE-2025-31115?

Published advisories record a fix for 18 affected products. The "How to fix" section on this page lists the fixed version and source advisory for each one, so apply the entry matching what you actually run.

Is CVE-2025-31115 being actively exploited?

Not that we know of. CVE-2025-31115 is not in the CISA Known Exploited Vulnerabilities catalog. Its EPSS score of 0.65% is the estimated probability that it will be exploited in the next 30 days. That is higher than 48% of all scored CVEs.

What does CVE-2025-31115 affect?

Published advisories record a fix for xz-utils (Debian), xz (Rocky), xz (Red Hat / RHEL), xz-debuginfo (Rocky), and 14 more. Only products with a sourced advisory are listed, so treat this as what we can cite rather than a complete inventory.

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.