ADVISORIES

Vulnerability

CVE-2025-58058

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.

319 advisories report this vulnerability, across 9 ecosystems.

Advisories in SUSE

  • SUSE-SU-2025:03289-1

    Security update for govulncheck-vulndb

    CVE-2024-52284CVE-2024-58259CVE-2025-47906CVE-2025-4953 SUSEopenSUSE Updated 4 February 2026
  • SUSE-SU-2025:03448-1

    Security update for warewulf4

    CVE-2025-58058 SUSEopenSUSE Updated 4 February 2026
  • SUSE-SU-2025:21137-1

    Security update for alloy

    CVE-2025-11065CVE-2025-58058 SUSE Updated 23 March 2026
  • SUSE-SU-2025:4121-1

    Security update for alloy

    CVE-2025-11065CVE-2025-58058 SUSE Updated 23 March 2026
  • SUSE-SU-2026:0383-1

    Security update for rekor

    CVE-2025-29923CVE-2025-58058 SUSEopenSUSE Updated 23 March 2026
  • SUSE-SU-2026:4209-1

    Security update for containerized-data-importer

    CVE-2025-58058CVE-2026-25680CVE-2026-25681CVE-2026-27136 SUSE Updated 16 September 2026
  • SUSEVEX-CVE-2025-58058

    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…

    Moderate CVE-2025-58058 SUSEopenSUSE Updated 27 November 2026

References