CVE-2025-58058

github.com/ulikunitz/xz leaks memory when decoding a corrupted multiple LZMA archives

CVE-2025-58058 is fixed in 10 products on 1 platform, first by DEBIAN-CVE-2025-58058, released August 28, 2025. It is not reported as exploited. Patch Radar priority: Routine.

Routine
CVSS
5.3
medium
Exploitation
None reported
No vendor assessment
CISA KEV
Not listed
Not in the Known Exploited Vulnerabilities catalog
EPSS
0.0043
37th percentile

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.

Where it's fixed

ProductFixed inFixReleased
Linux
alloy · opensuse-leap 16.0 1.11.3-160000.1.1 OPENSUSE-SU-2025:20073-1 Nov 20, 2025
alloy · sles 15.7 1.11.3-150700.15.9.1 SUSE-SU-2025:4121-1 Nov 17, 2025
alloy · sles 16.0 1.11.3-160000.1.1 SUSE-SU-2025:21137-1 Nov 20, 2025
containerized-data-importer · sles 15.7 1.64.0-150700.9.14.1 SUSE-SU-2026:4209-1 Sep 16, 2026
containerized-data-importer1.65 · opensuse-leap 16.0 1.65.0-160000.3.1 OPENSUSE-SU-2026:21824-1 Sep 9, 2026
golang-github-ulikunitz-xz · Debian 14 0.5.15-1 DEBIAN-CVE-2025-58058 Aug 28, 2025
govulncheck-vulndb · opensuse-leap 15.6 0.0.20250918T182144-150000.1.107.1 SUSE-SU-2025:03289-1 Sep 22, 2025
govulncheck-vulndb · opensuse-leap 16.0 0.0.20260723T184607-160000.1.1 OPENSUSE-SU-2026:21483-1 Jul 30, 2026
govulncheck-vulndb · sles 15.6 0.0.20250918T182144-150000.1.107.1 SUSE-SU-2025:03289-1 Sep 22, 2025
hauler · opensuse-leap 16.0 1.3.1-bp160.1.1 OPENSUSE-SU-2025:20160-1 Dec 12, 2025
rekor · opensuse-leap 15.6 1.4.3-150400.4.28.1 SUSE-SU-2026:0383-1 Feb 4, 2026
rekor · sles 15.7 1.4.3-150400.4.28.1 SUSE-SU-2026:0383-1 Feb 4, 2026
sbctl · opensuse-leap 16.0 0.18-bp160.1.1 OPENSUSE-SU-2026:20105-1 Jan 23, 2026
tailscale · opensuse-leap 16.0 1.94.1-bp160.1.1 OPENSUSE-SU-2026:20192-1 Feb 10, 2026
warewulf4 · opensuse-leap 15.6 4.6.4-150500.6.37.1 SUSE-SU-2025:03448-1 Oct 2, 2025
warewulf4 · opensuse-leap 16.0 4.7.0-bp160.1.1 OPENSUSE-SU-2026:21151-1 Jun 23, 2026
warewulf4 · sles 15.6 4.6.4-150500.6.37.1 SUSE-SU-2025:03448-1 Oct 2, 2025
warewulf4 · sles 15.7 4.6.4-150500.6.37.1 SUSE-SU-2025:03448-1 Oct 2, 2025

Patch Radar data is free to use with attribution. Terms and how to credit it.

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.