PT-2025-35145 · Xz +1 · Xz +1

Gregorybuligin

·

Published

2025-08-28

·

Updated

2025-08-29

·

CVE-2025-58058

CVSS v3.1
5.3
VectorAV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

Name of the Vulnerable Software and Affected Versions:

xz versions prior to 0.5.14

Description:

The xz package contains a flaw where data can be prepended to an LZMA-encoded byte stream without detection during header reading. This can lead to excessive memory consumption due to the allocation of a full decoding buffer. The LZMA header lacks a magic number or checksum to identify this issue as per the specification. While the code eventually detects the problem during stream reading, memory has already been allocated at that point. This issue affects software utilizing `lzma.NewReader` or `lzma.ReaderConfig.NewReader`.

Recommendations:

Update to xz version 0.5.14 or later to address this issue.

Fix

Allocation of Resources Without Limits

Weakness Enumeration

Related Identifiers

CVE-2025-58058
GHSA-JC7W-C686-C4V9

Affected Products

Debian
Xz