CVE-2025-58058: GO-2025-3922 - Memory leaks when decoding a corrupted multiple LZMA archives in github.com/ulikunitz/xz

CVE-2025-58058 · Severity: low · CVSS 3.1 · Published 2025-09-17

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

Technologies: github.com/ulikunitz/xz (Go). Vendors: Go.

Quick answers

Is CVE-2025-58058 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2025-58058 being exploited in the wild.
How severe is CVE-2025-58058?
Low severity, with a CVSS score of 3.1, published 17 September 2025.
Which products and versions are affected?
github.com/ulikunitz/xz (Go) SEMVER:introduced=0,fixed=0.5.15.
Is there a fix for CVE-2025-58058?
Yes. github.com/ulikunitz/xz (Go): upgrade to 0.5.15 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
Am I affected by CVE-2025-58058?
Check whether you run github.com/ulikunitz/xz (Go) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

How to fix

  • github.com/ulikunitz/xz (Go): upgrade to 0.5.15 or later
    go get github.com/ulikunitz/xz@v0.5.15

Affected products

  • github.com/ulikunitz/xz (Go) SEMVER:introduced=0,fixed=0.5.15

Identifiers

  • CVE-2025-58058
  • GHSA-jc7w-c686-c4v9
  • GO-2025-3922

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.