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 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.
Scoring
- Severity
- HIGH
- CVSS base score
- 8.7
- CVSS vector
- 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
- EPSS probability
- 0.65%
- CWE
- CWE-366, CWE-416, CWE-476, CWE-826
- Published
- 2025-04-03
- Last modified
- 2026-07-14
Affected products
- tukaani-project xz
Weakness type
Related vulnerabilities
- CVE-2026-3904 — Calling NSS-backed functions that support caching via nscd may call the...
- CVE-2026-23684 — Race condition vulnerability in SAP Commerce Cloud
- CVE-2026-22819 — Outray has a Race Condition in main/apps/web/src/routes/api/$orgSlug/subdomains/index.ts
- CVE-2024-10630 — A race condition in Ivanti Application Control Engine before version 10.14.4.0 allows a local...
- CVE-2024-2032 — Race Condition Vulnerability in zenml-io/zenml
- CVE-2023-6546 — Kernel: gsm multiplexing race condition leads to privilege escalation
- CVE-2023-39198 — Kernel: qxl: race condition leading to use-after-free in qxl_mode_dumb_create()
- CVE-2023-4732 — Kernel: race between task migrating pages and another task calling exit_mmap to release those same pages getting invalid opcode bug in include/linux/swapops.h