Bug 2357249 (CVE-2025-31115) - CVE-2025-31115 xz: XZ has a heap-use-after-free bug in threaded .xz decoder
Summary: CVE-2025-31115 xz: XZ has a heap-use-after-free bug in threaded .xz decoder
Keywords:
Status: NEW
Alias: CVE-2025-31115
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On: 2357252 2357251 2357253
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-04-03 18:01 UTC by OSIDB Bzimport
Modified: 2025-05-13 19:10 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2025:7524 0 None None None 2025-05-13 19:10:16 UTC

Description OSIDB Bzimport 2025-04-03 18:01:27 UTC
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.

Comment 2 errata-xmlrpc 2025-05-13 19:10:15 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 10

Via RHSA-2025:7524 https://access.redhat.com/errata/RHSA-2025:7524


Note You need to log in before you can comment on or make changes to this bug.