Skip to main content

Boteraser | Website and Server Security Solutions

🛡️ CVE-2025-31115 — xz-clib

⚪ Unknown ✅ No Known Exploit CWE-366 NVD
N/A
CVSS Score
0 Low4 Medium7 High9 Critical10

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.

Weakness class

CVE-2025-31115 is classified as CWE-366: Race Condition within a Thread. If two threads of execution use a resource simultaneously, there exists the possibility that resources may be used while invalid, in turn making the state of execution undefined.

Affected software

CVE-2025-31115 is recorded against 2 packages.

  • unknown
  • xz-clib (from 5.6.3 up to 5.8.1)

Timeline and source

Published on 3 April 2025 and last revised on 17 June 2026. No public exploit is currently recorded for this entry. Record sourced from NVD.

References

github.com
github.com
tukaani.org
www.openwall.com
www.openwall.com
www.openwall.com
cert-portal.siemens.com

Other advisories for this package

unknown has other advisories on record. If you are patching this one, these are worth checking on the same host:

Same weakness in other software

These advisories are the same class of weakness (CWE-366: Race Condition within a Thread) in other software:

CVE-2025-31115 on other distributions

Each distribution ships its own build and its own fixed version. Pick the one you run:

Details

Severity Unknown
CVSS Score N/A
CVSS Vector N/A
CWE CWE-366
Public Exploit ✅ No
Source NVD
Published 2025-04-03
Updated 2026-08-20
Modified 2026-06-17
Fix URL N/A

Affected Packages

Software From version Fixed in
unknown
xz-clib 5.6.3 5.8.1

Similar Threats

Free Vulnerability Check

Is your site affected by CVE-2025-31115?

BotEraser helps you identify potentially vulnerable plugins and themes by checking your installation against CVE-2025-31115 and other known CVE records.

Scan My Site Free →

No credit card required  ·  Results in minutes

ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.

Browse related advisories

All advisoriesCVECVE 2025