CVE-2025-58058

Published: 08/28/2025 22:15:32
xz is a pure golang package for reading and writing xz-compressed files. Prior to version 0.5.14, it is possible to put data in front of an LZMA-encoded byte stream without detecting the situation while reading the header. This can lead to increased memory consumption because the current implementation allocates the full decoding buffer directly after reading the header. The LZMA header doesn't include a magic number or has a checksum to detect such an issue according to the specification. Note that the code recognizes the issue later while reading the stream, but at this time the memory allocation has already been done. This issue has been patched in version 0.5.14.
MEDIUM
CVSS v3: 5.3

Status

DocFilters Release Package State Justification Comment
22.3 lzma (17.01) Needs Triage
22.2 lzma (17.01) Needs Triage
22.1 lzma (17.01) Needs Triage
21.11.1 lzma (17.01) Needs Triage
21.11 lzma (17.01) Needs Triage
21.8.1 lzma (17.01) Needs Triage
21.8 lzma (17.01) Needs Triage
21.5.1 lzma (17.01) Needs Triage
21.5.0 lzma (17.01) Needs Triage
21.2.0 lzma (17.01) Needs Triage
11.4.20 lzma (17.01) Needs Triage
11.4.19.3667 lzma (17.01) Needs Triage
11.4.18.3599 lzma (17.01) Needs Triage
11.4.17 lzma (17.01) Needs Triage
11.4.16.3445 lzma (17.01) Needs Triage
11.4.15.3368 lzma (17.01) Needs Triage
11.4.14.3263 lzma (17.01) Needs Triage
11.4.13.3179 lzma (17.01) Needs Triage
11.4.12.3054 lzma (17.01) Needs Triage
11.4.11.3040 lzma (17.01) Needs Triage
11.4.11.2990 lzma (17.01) Needs Triage
11.4.10.2934 lzma (17.01) Needs Triage
11.4.9.2878 lzma (17.01) Needs Triage
11.4.8.2822 lzma (17.01) Needs Triage

Severity score breakdown

Attack Complexity
LOW
Attack Vector
NETWORK
Availability Impact
LOW
Base Score
5.3
Base Severity
MEDIUM
Confidentiality Impact
NONE
Integrity Impact
NONE
Privileges Required
NONE
Scope
UNCHANGED
User Interaction
NONE
Vector String
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Version
3.1

References