8.7

CVE-2025-31115: tukaani-project xz Race Condition within a Thread

CVSS: 8.7v4.0HighDeferred
AliasesALPINE-CVE-2025-31115MGASA-2025-0131SUSE-SU-2025:1137-1
Published 03-04-2025Last modified 15-10-2026

Vulnerability summary

CVE-2025-31115 is a high (CVSS 8.7) Race Condition within a Thread vulnerability in tukaani-project xz. EPSS estimates a 0.66% chance of exploitation in the next 30 days, higher than 50.7% of scored vulnerabilities.

Overall risk
35/100
0100
Medium · default modelHow is this calculated?
CVSS score
8.7/10
010
High · v4.0 (CVE.org)
EPSS score
0.66%
0%100%
Low · +0.01 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded

Timeline

  1. 03-04-2025
    PublishedVulnerability first disclosed.
  2. 15-10-2026
    Last modifiedVulnerability information updated.

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.

CVSS metrics

6 scores · 6 sources · 2 versions

EPSS trend

Probability

0.66%

Chance of exploitation in the next 30 days

Percentile

51%

Versus all other CVEs

30-day change

+0.01 pp

From 0.65% on 20-09-2026

20-09-202620-10-2026
EPSS score
0.66%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Redhat8 products
  • xz< 1:5.6.2-4.el10_0
  • xz-debuginfo< 1:5.6.2-4.el10_0
  • xz-debugsource< 1:5.6.2-4.el10_0
  • xz-devel< 1:5.6.2-4.el10_0
  • xz-libs< 1:5.6.2-4.el10_0
Suse3 products
  • xz&distro=SUSE Linux Enterprise Module for Basesystem 15 SP6< 5.4.1-150600.3.3.1
  • xz&distro=SUSE Linux Micro 6.0< 5.4.3-5.1
  • xz&distro=SUSE Linux Micro 6.1< 5.4.3-slfo.1.1_2.1
Opensuse2 products
  • xz&distro=openSUSE Leap 15.6< 5.4.1-150600.3.3.1
  • xz&distro=openSUSE Tumbleweed< 5.8.1-1.1
Alpine1 product
  • xz< 5.4.3-r1 | < 5.4.5-r1 | < 5.6.2-r1 | < 5.6.3-r1 | < 5.8.1-r0
Debian1 product
  • xz-utils< 5.8.1-1 | < 5.4.1-1
Mageia1 product
  • xz< 5.4.3-1.1.mga9
Tukaani-project1 product
  • xz≥ 5.3.3alpha, < 5.8.1
Ubuntu1 product
  • xz-utils< 5.6.1+really5.4.5-1ubuntu0.2

8 vendors · 18 products

References

27 links
Show all 27 references