Read the docs
TI-2025-35901 Aliases CVE-2025-58058GHSA-jc7w-c686-c4v9

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

Priority MEDIUM 57CWE-770Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Impact type
Denial of service
Confidentiality · integrity · availability
None · None · Low
Fix status
Partial Red Hat: 2 fixed, 37 without a fix

Attack profile from CVSS 3.1 · CNA. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-770.

Summary

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.

Why it matters now

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.00433 37th percentileScored 2026-11-07
Fix Partial xz (ulikunitz): 0.5.14github.com/ulikunitz/xz (Go): 0.5.15Red Hat: 3 advisoriesRed Hat: 2 fixed, 37 without a fix

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
Poc
Automatable
No
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
ulikunitzxzbefore 0.5.140.5.14Patch availableCNA
—github.com/ulikunitz/xz (Go)before 0.5.150.5.15Patch availableGHSA-jc7w-c686-c4v9
  • xz Vendorulikunitz Affected before 0.5.14 Fixed in 0.5.14 Patch available CNA
  • github.com/ulikunitz/xz (Go) Vendor— Affected before 0.5.15 Fixed in 0.5.15 Patch available GHSA-jc7w-c686-c4v9

Remediation

  • Fix · CNA xz (ulikunitz) Fixed in 0.5.14
  • Fix · GHSA-jc7w-c686-c4v9 github.com/ulikunitz/xz (Go) Fixed in 0.5.15 Advisory →

Red Hat 3 advisories

  • RHSA-2026:37387 Released 2026-07-09 · Red Hat rating Important
    Red Hat OpenShift Data Foundation 4.22.0 security, enhancement & bug fix update
    • Red Hat Openshift Data Foundation 4.22 registry.redhat.io/odf4/cephcsi-rhel9, registry.redhat.io/odf4/cephcsi-rhel9-operator, registry.redhat.io/odf4/devicefinder-rhel9 +24
  • RHSA-2026:26257 Released 2026-06-16 · Red Hat rating Important
    Assisted Installer RHEL 8 components for Multicluster Engine for Kubernetes 2.8.8
    • multicluster engine for Kubernetes 2.8 registry.redhat.io/multicluster-engine/assisted-service-8-rhel8
  • RHSA-2026:26254 Released 2026-06-16 · Red Hat rating Important
    Assisted Installer RHEL 9 components for Multicluster Engine for Kubernetes 2.8.8
    • multicluster engine for Kubernetes 2.8 registry.redhat.io/multicluster-engine/assisted-service-9-rhel9

Vendor assessments

Red Hat

Red Hat rating: Moderate. Red Hat's page for this CVE →

ProductStatusPlan or fix
Assisted Installer for Red Hat OpenShift Container Platform 2AffectedNo fix yet: Fix deferred
Confidential Compute AttestationAffectedNo fix yet: Fix deferred
Kernel Module Management Operator for Red Hat OpenshiftAffectedNo fix yet: Fix deferred
Logging Subsystem for Red Hat OpenShiftAffectedNo fix yet: Fix deferred
Logical Volume Manager StorageAffectedNo fix yet: Fix deferred
Migration Toolkit for ContainersAffectedNo fix yet: Fix deferred
Migration Toolkit for VirtualizationAffectedNo fix yet: Fix deferred
Multicluster Engine for KubernetesAffectedNo fix yet: Fix deferred
Network Observability OperatorAffectedNo fix yet: Fix deferred
Node HealthCheck OperatorAffectedNo fix yet: Fix deferred
OpenShift API for Data ProtectionAffectedNo fix yet: Fix deferred
OpenShift Developer Tools and ServicesAffectedNo fix yet: Fix deferred
OpenShift LightspeedAffectedNo fix yet: Fix deferred
OpenShift PipelinesAffectedNo fix yet: Fix deferred
OpenShift ServerlessAffectedNo fix yet: Fix deferred
OpenShift Service Mesh 3AffectedNo fix yet: Fix deferred
OpenShift Source-to-Image (S2I)AffectedNo fix yet: Fix deferred
Power monitoring for Red Hat OpenShiftAffectedNo fix yet: Fix deferred
Red Hat Advanced Cluster Management for Kubernetes 2AffectedNo fix yet: Fix deferred
Red Hat Advanced Cluster Security 4AffectedNo fix yet: Fix deferred
Red Hat Build of KueueAffectedNo fix yet: Fix deferred
Red Hat Developer Hub 1AffectedNo fix yet: Fix deferred
Red Hat Enterprise Linux 10AffectedNo fix yet: Fix deferred
Red Hat Enterprise Linux 7AffectedNo fix yet: Fix deferred
Red Hat Enterprise Linux 8AffectedNo fix yet: Fix deferred
Red Hat Enterprise Linux 9AffectedNo fix yet: Fix deferred
Red Hat Enterprise Linux AI (RHEL AI)AffectedNo fix yet: Fix deferred
Red Hat OpenShift AI (RHOAI)AffectedNo fix yet: Fix deferred
Red Hat OpenShift Container Platform 4AffectedNo fix yet: Fix deferred
Red Hat OpenShift Dev SpacesAffectedNo fix yet: Fix deferred
Red Hat OpenShift GitOpsAffectedNo fix yet: Fix deferred
Red Hat OpenShift Virtualization 4AffectedNo fix yet: Fix deferred
Red Hat OpenStack Platform 18.0AffectedNo fix yet: Fix deferred
Red Hat Quay 3AffectedNo fix yet: Fix deferred
Red Hat Trusted Application PipelineAffectedNo fix yet: Fix deferred
Red Hat Trusted Artifact SignerAffectedNo fix yet: Fix deferred
Red Hat Trusted Profile AnalyzerAffectedNo fix yet: Fix deferred
Red Hat Openshift Data Foundation 4.22Fixed RHSA-2026:37387
multicluster engine for Kubernetes 2.8Fixed RHSA-2026:26254, RHSA-2026:26257
Not affected: 2 products
  • Red Hat Openshift Data Foundation 4.22
  • multicluster engine for Kubernetes 2.8

Timeline

  1. 2026-10-02 Threatist record created from CVE-2025-58058
  2. 2026-10-03 Alias added: GHSA-jc7w-c686-c4v9
  3. 2026-10-27 Affected versions changed · Red Hat

References

Sources