CVE-2025-31115

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.

Risk Information

Base Score
7.5
MODERATE
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS Score
Exploitation Probability
0.256

Associated Vulnerability

VulnerabilityOS Platform
XZ-format compression utilities (USN-7414-1) xz-utils_5.6.1+really5.4.5-1ubuntu0.2_amd64.debLinux
XZ-format compression utilities (USN-7414-1) xz-utils_5.6.1+really5.4.5-1ubuntu0.2_i386.debLinux
XZ-format compression utilities (USN-7414-1) xz-utils_5.6.2-2ubuntu0.2_amd64.debLinux
XZ-format compression utilities (USN-7414-1) xz-utils_5.6.2-2ubuntu0.2_i386.debLinux
SUSE-SU-2025:1137-1(Basesystem Module 15-SP6) liblzma5-debuginfo-5.4.1-150600.3.3.1.x86_64.rpmLinux
SUSE-SU-2025:1137-1(Basesystem Module 15-SP6) liblzma5-32bit-debuginfo-5.4.1-150600.3.3.1.x86_64.rpmLinux
SUSE-SU-2025:1137-1(Basesystem Module 15-SP6) liblzma5-32bit-5.4.1-150600.3.3.1.x86_64.rpmLinux
SUSE-SU-2025:1137-1(Basesystem Module 15-SP6) liblzma5-5.4.1-150600.3.3.1.x86_64.rpmLinux
SUSE-SU-2025:1137-1(Basesystem Module 15-SP6) xz-lang-5.4.1-150600.3.3.1.noarch.rpmLinux
SUSE-SU-2025:1137-1(Basesystem Module 15-SP6) xz-devel-5.4.1-150600.3.3.1.x86_64.rpmLinux
SUSE-SU-2025:1137-1(Basesystem Module 15-SP6) xz-debugsource-5.4.1-150600.3.3.1.x86_64.rpmLinux
SUSE-SU-2025:1137-1(Basesystem Module 15-SP6) xz-static-devel-5.4.1-150600.3.3.1.x86_64.rpmLinux
SUSE-SU-2025:1137-1(Basesystem Module 15-SP6) xz-5.4.1-150600.3.3.1.x86_64.rpmLinux
SUSE-SU-2025:1137-1(Basesystem Module 15-SP6) xz-debuginfo-5.4.1-150600.3.3.1.x86_64.rpmLinux
xz-utils security update(DSA-5895-1) xzdec_5.4.1-1_i386.debLinux
xz-utils security update(DSA-5895-1) xzdec_5.4.1-1_amd64.debLinux
xz-utils security update(DSA-5895-1) xz-utils_5.4.1-1_i386.debLinux
xz-utils security update(DSA-5895-1) xz-utils_5.4.1-1_amd64.debLinux
xz-utils security update(DSA-5895-1) liblzma-dev_5.4.1-1_amd64.debLinux
xz-utils security update(DSA-5895-1) liblzma-dev_5.4.1-1_i386.debLinux
xz-utils security update(DSA-5895-1) liblzma-doc_5.4.1-1_all.debLinux
xz-utils security update(DSA-5895-1) liblzma5_5.4.1-1_amd64.debLinux
xz-utils security update(DSA-5895-1) liblzma5_5.4.1-1_i386.debLinux
xz update (CESAS-2025-0098) xz-5.6.2-4.el10.x86_64.rpmLinux
xz update (CESAS-2025-0097) xz-devel-5.6.2-4.el10.x86_64.rpmLinux
xz update (CESAS-2025-0098) xz-libs-5.6.2-4.el10.x86_64.rpmLinux
xz update (CESAS-2025-0097) xz-lzma-compat-5.6.2-4.el10.x86_64.rpmLinux

Patch Details

No records found

References

https://nvd.nist.gov/vuln/detail/CVE-2023-1234
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-1234