CVE-2025-31115

Published Apr 3, 2025

Last updated 6 months ago

Overview

AI description

Automated description summarized from trusted sources.

CVE-2025-31115 affects XZ Utils versions 5.3.3alpha to 5.8.0. It is a heap use-after-free bug found in the multithreaded decoder within the liblzma library. This vulnerability can be triggered by invalid input, potentially leading to a crash due to memory corruption. Specifically, the vulnerability occurs in the `lzma_stream_decoder_mt` function. Exploitation could result in "heap use after free and writing to an address based on the null pointer plus an offset," which may allow attackers to corrupt memory and potentially execute arbitrary code. A fix is available in XZ Utils version 5.8.1.

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.
Source
security-advisories@github.com
NVD status
Deferred

Risk scores

CVSS 4.0

Type
Secondary
Base score
8.7
Impact score
-
Exploitability score
-
Vector string
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Severity
HIGH

Weaknesses

security-advisories@github.com
CWE-366

Social media

Hype score
Not currently trending
  1. [CVE Analysis] CVE-2025-31115: XZ Utils Threaded Decompression Flaw Reaches B&R Industrial PCs and Controllers https://t.co/uSc5yxVQc4 #ICS #OTSecurity #SCADA #CriticalInfrastructure

    @breachspider

    1 Jul 2026

    43 Impressions

    0 Retweets

    0 Likes

    0 Bookmarks

    0 Replies

    0 Quotes

  2. 🚨 HIGH - XZ Utils liblzma multithreaded decoder UAF crash (CVE-2025-31115) CVE-2025-31115 is a flaw in XZ Utils’ liblzma multithreaded .xz decoder, specifically impacting applications using the lzma_stream_decoder_mt function. The root cause is a heap use-after-free combine

    @UpwindMDR

    30 Jun 2026

    59 Impressions

    0 Retweets

    0 Likes

    0 Bookmarks

    0 Replies

    0 Quotes

  3. ⚠️🧑‍💻Une vulnérabilité critique découverte dans Stormshield Network Security (SNS) versions < 5.0.4. Permet l'exécution de code arbitraire à distance et un déni de service. CVE-2025-31115. Mettez à jour migrez vite vers 5.0.4 ! Source: https://t.co/EpE

    @justabreach

    6 Jan 2026

    76 Impressions

    1 Retweet

    1 Like

    0 Bookmarks

    1 Reply

    0 Quotes

  4. 🚨 CRITICAL: CVE-2025-31115 affects #SUSE Linux Micro 6.1. CVSS: 8.8 (HIGH) Remote Code Execution risk via xz utils heap flaw. Read more: 👉 https://t.co/Gv7ZVLVkdV #Security https://t.co/BqIa9ZYemU

    @Cezar_H_Linux

    31 Aug 2025

    60 Impressions

    0 Retweets

    0 Likes

    0 Bookmarks

    0 Replies

    0 Quotes

  5. ‼️ ALERT: CVE-2025-31115 in XZ Utils threatens Linux security. Gentoo users: Patch NOW with: emerge --ask --oneshot ">=app-arch/xz-utils-5.6.4-r1" Details & enterprise tips: 👉https://t.co/igUQ4x1hOp #DevOps #PatchNow https://t.

    @Cezar_H_Linux

    6 May 2025

    30 Impressions

    0 Retweets

    0 Likes

    0 Bookmarks

    0 Replies

    0 Quotes

  6. XZ Utilsのマルチスレッドデコーダーに深刻度の高い脆弱性:CVE-2025-31115 | Codebook https://t.co/H1ZxpPvkHe #izumino_trend

    @sec_trend

    7 Apr 2025

    46 Impressions

    0 Retweets

    1 Like

    0 Bookmarks

    0 Replies

    0 Quotes

  7. CVE-2025-31115: XZ Utils Hit Again with High-Severity Multithreaded Decoder Bug https://t.co/FfqrbC2TNq

    @Dinosn

    7 Apr 2025

    3967 Impressions

    15 Retweets

    52 Likes

    14 Bookmarks

    1 Reply

    0 Quotes

  8. В XZ Utils обнаружена уязвимость use-after-free (CVE-2025-31115, 8.7 балла CVSS) в декодировщике многопоточного режима liblzma, затрагивающая версии с 5.3.3alpha по 5.8.0. Подробнее https://t.co/bxRVZSJ9dU https://t.co/Hu5yEeCcSd

    @KZCERT

    7 Apr 2025

    33 Impressions

    0 Retweets

    0 Likes

    0 Bookmarks

    0 Replies

    0 Quotes

  9. XZ Utilsにメモリ破壊の脆弱性。CVE-2025-31115はCVSSv4スコア8.7で、バージョン5.3.3alphaから5.8.0に影響。liblzmaのlzma_stream_decoder_mt関数が不正な入力をデコードする際に予測外の挙動。最低でもクラッシュ、最悪では任意コード実行の可能性。 https://t.co/ZyQ9i9f59q

    @__kokumoto

    7 Apr 2025

    5650 Impressions

    10 Retweets

    8 Likes

    3 Bookmarks

    0 Replies

    1 Quote

  10. CVE-2025-31115: XZ Utils Hit Again with High-Severity Multithreaded Decoder Bug https://t.co/2VOziBqH4g

    @Daily_CyberSec

    7 Apr 2025

    2834 Impressions

    29 Retweets

    64 Likes

    17 Bookmarks

    0 Replies

    1 Quote

  11. 🚨 CVE-2025-31115 🔴 HIGH (8.7) 🏢 tukaani-project - xz 🏗️ >= 5.3.3alpha, < 5.8.1 🔗 https://t.co/NeFth3KWYw 🔗 https://t.co/XUPCoQ59j1 🔗 https://t.co/W44EvfHH0C #CyberCron #VulnAlert #InfoSec https://t.co/al2ETB3L1n

    @cybercronai

    4 Apr 2025

    7 Impressions

    0 Retweets

    0 Likes

    0 Bookmarks

    0 Replies

    0 Quotes

  12. CVE-2025-31115: XZ Utils: Threaded decoder frees memory too early https://t.co/imwJoiEvmv At least a crash (denial of service). Heap use after free and writing to an address based on the null pointer plus an offset. Affects versions from 5.3.3alpha to 5.8.0. Fixed in 5.8.1.

    @oss_security

    3 Apr 2025

    3 Impressions

    0 Retweets

    0 Likes

    0 Bookmarks

    0 Replies

    0 Quotes

  13. CVE-2025-31115 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 b… https://t.co/Wy62b6xSv7

    @CVEnew

    3 Apr 2025

    103 Impressions

    0 Retweets

    0 Likes

    0 Bookmarks

    0 Replies

    0 Quotes

  14. [CVE-2025-31115: HIGH] XZ Utils versions 5.3.3alpha to 5.8.0 had a bug in the multithreaded .xz decoder, leading to crashes due to invalid input. The issue is resolved in version 5.8.1 with a patch available for ...#cybersecurity,#vulnerability https://t.co/oIRRchSFAk https://t.c

    @CveFindCom

    3 Apr 2025

    29 Impressions

    0 Retweets

    0 Likes

    0 Bookmarks

    0 Replies

    0 Quotes

  15. CVE-2025-31115 fixes for new xz vulnerability applied to stable/3.2 and master branches. will be part of the next release, 3.2.3. https://t.co/IEsj14Pw8S

    @midnightbsd

    3 Apr 2025

    47 Impressions

    0 Retweets

    3 Likes

    0 Bookmarks

    0 Replies

    0 Quotes