5.3

CVE-2025-58058: github.com/ulikunitz/xz leaks memory when decoding a corrupted multiple LZMA archives

Deferred
AliasesSUSE-SU-2025:03448-1UBUNTU-CVE-2025-58058DEBIAN-CVE-2025-58058
Published 28-08-2025Last modified 29-08-2025

Vulnerability summary

CVE-2025-58058 is a medium (CVSS 5.3) vulnerability in ulikunitz xz. EPSS estimates a 0.43% chance of exploitation in the next 30 days, higher than 37.6% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 5.3, network access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
5.3/10
010
Medium · v3.1 (CVE.org)
EPSS score
0.43%
0%100%
Low · +0.02 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 20 · Related 92
OPENSUSE-SU-2025:15508-1OPENSUSE-SU-2025:15564-1OPENSUSE-SU-2025:15631-1OPENSUSE-SU-2025:15722-1OPENSUSE-SU-2025:20073-1OPENSUSE-SU-2025:20117-1

Timeline

  1. 28-08-2025
    PublishedVulnerability first disclosed.
  2. 29-08-2025
    Last modifiedVulnerability information updated.

Description

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.

CVSS metrics

7 scores · 7 sources · 1 version

EPSS trend

Probability

0.43%

Chance of exploitation in the next 30 days

Percentile

38%

Versus all other CVEs

30-day change

Increase +0.02 pp

From 0.41% on 04-10-2026

04-10-202603-11-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.

Chainguard139 products
  • atlantis-fips< 0.35.1-r3
  • cg< 0_git20250819-r1
  • chainctl< 0.2.135-r0
  • cloudbeat-9.0< 9.0.8-r30
  • cloudbeat-fips-8.17< 8.17.10-r32
Wolfi46 products
  • envoy-gateway< 1.5.0-r3
  • envoy-gateway-compat< 1.5.0-r3
  • envoy-gateway-egctl< 1.5.0-r3
  • filebrowser< 2.42.5-r1
  • filebrowser-compat< 2.42.5-r1
Opensuse7 products
  • regclient&distro=openSUSE Tumbleweed< 0.9.2-1.1
  • sbctl&distro=openSUSE Tumbleweed< 0.17-2.1
  • tailscale&distro=openSUSE Tumbleweed< 1.86.5-1.1
  • trivy&distro=openSUSE Tumbleweed< 0.66.0-1.1
  • warewulf4&distro=openSUSE Leap 15.6< 4.6.4-150500.6.37.1
Suse2 products
  • warewulf4&distro=SUSE Linux Enterprise Module for HPC 15 SP6< 4.6.4-150500.6.37.1
  • warewulf4&distro=SUSE Linux Enterprise Module for HPC 15 SP7< 4.6.4-150500.6.37.1
Debian1 product
  • golang-github-ulikunitz-xzAll versions (No fix recorded) | < 0.5.15-1
Github.com/ulikunitz1 product
  • xz< 0.5.15
Ubuntu1 product
  • golang-github-ulikunitz-xzAll versions (No fix recorded)
Ulikunitz1 product
  • xz< 0.5.14

8 vendors · 198 products

References

15 links
Show all 15 references