cve.bz

CVE-2025-58058 ulikunitz xz

5.3 mediumEPSS 0.5%Fix available

Medium (5.3) in ulikunitz xz. EPSS 0.5% estimated probability of exploitation activity in the next 30 days. Fixed in github.com/ulikunitz/xz 0.5.15.

On this page
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.

Severity

CVSS 3.1

5.3 medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
EPSS
0.5% (unchanged from 0.4% a week ago; 0.4% 30 days ago) estimated probability of exploitation activity in the next 30 days; 41st percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: PoC · Automatable: no · Technical impact: partial, assessed 2025-08-29. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-770 Allocation of Resources Without Limits or Throttling
Published
Modified
NVD analysis
Deferred: the NVD does not plan to analyze it
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2025-58058 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2025-58058?via=ask-ai-copy and https://cve.bz/cve/CVE-2025-58058?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2025-58058 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
ulikunitz xz< 0.5.14

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-jc7w-c686-c4v9Gogithub.com/ulikunitz/xz<0.5.150.5.15
GO-2025-3922Gogithub.com/ulikunitz/xz<0.5.150.5.15

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13golang-github-ulikunitz-xzno fix listedDEBIAN-CVE-2025-58058
Debian14golang-github-ulikunitz-xz0.5.15-1DEBIAN-CVE-2025-58058
Ubuntu20.04:LTS, 22.04:LTS, 24.04:LTS and 3 moregolang-github-ulikunitz-xzno fix listedUBUNTU-CVE-2025-58058
SUSELinux Enterprise Module for Basesystem 15 SP7alloy1.11.3-150700.15.9.1SUSE-SU-2025:4121-1
SUSELinux Enterprise Module for Basesystem 15 SP7rekor1.4.3-150400.4.28.1SUSE-SU-2026:0383-1
SUSELinux Enterprise Module for Containers 15 SP7containerized-data-importer1.64.0-150700.9.14.1SUSE-SU-2026:4209-1
SUSELinux Enterprise Module for HPC 15 SP6, Linux Enterprise Module for HPC 15 SP7warewulf44.6.4-150500.6.37.1SUSE-SU-2025:03448-1
SUSELinux Enterprise Module for Package Hub 15 SP6govulncheck-vulndb0.0.20250918T182144-150000.1.107.1SUSE-SU-2025:03289-1
SUSELinux Enterprise Server 16.0, Linux Enterprise Server for SAP applications 16.0alloy1.11.3-160000.1.1SUSE-SU-2025:21137-1
openSUSELeap 15.6govulncheck-vulndb0.0.20250918T182144-150000.1.107.1SUSE-SU-2025:03289-1
openSUSELeap 15.6rekor1.4.3-150400.4.28.1SUSE-SU-2026:0383-1
openSUSELeap 15.6warewulf44.6.4-150500.6.37.1SUSE-SU-2025:03448-1
openSUSELeap 16.0alloy1.11.3-160000.1.1openSUSE-SU-2025:20073-1
openSUSELeap 16.0containerized-data-importer1.651.65.0-160000.3.1openSUSE-SU-2026:21824-1
openSUSELeap 16.0govulncheck-vulndb0.0.20260723T184607-160000.1.1openSUSE-SU-2026:21483-1
openSUSELeap 16.0hauler1.3.1-bp160.1.1openSUSE-SU-2025:20160-1
openSUSELeap 16.0sbctl0.18-bp160.1.1openSUSE-SU-2026:20105-1
openSUSELeap 16.0tailscale1.94.1-bp160.1.1openSUSE-SU-2026:20192-1
openSUSELeap 16.0warewulf44.6.4-bp160.1.1openSUSE-SU-2025:20031-1
openSUSELeap 16.0warewulf44.7.0-bp160.1.1openSUSE-SU-2026:21151-1
openSUSETumbleweedalloy1.11.2-2.1openSUSE-SU-2025:15631-1
12 more for openSUSE in the JSON and on openSUSE's page.
Azure Linux2buildahno fix listedAZL-66713
Azure Linux2containerized-data-importer1.55.0-25AZL-66720
Azure Linux2cri-o1.22.3-16AZL-66723
Azure Linux2jx3.2.236-23AZL-66735
Azure Linux2packer1.9.5-15AZL-66741
Azure Linux2podmanno fix listedAZL-66716
Azure Linux2skopeo1.14.2-12AZL-66744
Azure Linux2terraform1.3.2-27AZL-66750
Azure Linux3buildah1.41.4-2AZL-66725
Azure Linux3containerized-data-importer1.57.0-16AZL-66747
Azure Linux3cri-ono fix listedAZL-66728
Azure Linux3jx3.10.182-3AZL-66753
3 more for Azure Linux in the JSON.

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · SUSE · openSUSE.

Red Hat

Red Hat rates this Moderate.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.

ProductPackageStateAdvisory
multicluster engine for Kubernetes 2.8multicluster-engine/assisted-service-8-rhel8:1781539691Fixed 2026-06-16RHSA-2026:26257
multicluster engine for Kubernetes 2.8multicluster-engine/assisted-service-9-rhel9:1781539725Fixed 2026-06-16RHSA-2026:26254
Red Hat Openshift Data Foundation 4.22odf4/cephcsi-rhel9:1782932114Fixed 2026-07-09RHSA-2026:37387
Red Hat Openshift Data Foundation 4.22odf4/cephcsi-rhel9-operator:1782931768Fixed 2026-07-09RHSA-2026:37387
Red Hat Openshift Data Foundation 4.22odf4/devicefinder-rhel9:1782932104Fixed 2026-07-09RHSA-2026:37387
Red Hat Openshift Data Foundation 4.22odf4/mcg-core-rhel9:1783536000Fixed 2026-07-09RHSA-2026:37387
Red Hat Openshift Data Foundation 4.22odf4/mcg-rhel9-operator:1783535989Fixed 2026-07-09RHSA-2026:37387
Red Hat Openshift Data Foundation 4.22odf4/ocs-client-console-rhel9:1783536515Fixed 2026-07-09RHSA-2026:37387
Red Hat Openshift Data Foundation 4.22odf4/ocs-client-rhel9-operator:1782932521Fixed 2026-07-09RHSA-2026:37387
Red Hat Openshift Data Foundation 4.22odf4/ocs-metrics-exporter-rhel9:1783018461Fixed 2026-07-09RHSA-2026:37387
Assisted Installer for Red Hat OpenShift Container Platform 2rhai/assisted-installer-controller-rhel9Fix deferred
Assisted Installer for Red Hat OpenShift Container Platform 2rhai/assisted-installer-rhel9Fix deferred
Confidential Compute Attestationopenshift-sandboxed-containers/osc-monitor-rhel9Fix deferred
Confidential Compute Attestationopenshift-sandboxed-containers/osc-must-gather-rhel9Fix deferred
Confidential Compute Attestationopenshift-sandboxed-containers/osc-operator-bundleFix deferred
Confidential Compute Attestationopenshift-sandboxed-containers/osc-podvm-builder-rhel9Fix deferred
Confidential Compute Attestationopenshift-sandboxed-containers/osc-podvm-payload-rhel9Fix deferred
Confidential Compute Attestationopenshift-sandboxed-containers/osc-rhel9-operatorFix deferred
Kernel Module Management Operator for Red Hat Openshiftkmm/kernel-module-management-hub-rhel9-operatorFix deferred
Kernel Module Management Operator for Red Hat Openshiftkmm/kernel-module-management-must-gather-rhel9Fix deferred
207 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2025-58058.

Attack patterns (CAPEC)

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-770 (20).

References

Check your stackJSON