Skip to content

github.com/ulikunitz/xz-v0.5.10: 1 vulnerabilities (highest severity is: 5.3) #1185

Description

@mend-bolt-for-github
Vulnerable Library - github.com/ulikunitz/xz-v0.5.10

Pure golang package for reading and writing xz-compressed files

Library home page: https://proxy.golang.org/github.com/ulikunitz/xz/@⁠v/v0.5.10.zip

Sample Path to Dependency File: /go.mod

Path to vulnerable library: /go.mod

Vulnerabilities

Vulnerability Severity CVSS Dependency Type Fixed in (github.com/ulikunitz/xz-v0.5.10 version) Remediation Possible**
CVE-2025-58058 Medium 5.3 github.com/ulikunitz/xz-v0.5.10 Direct https://github.com/ulikunitz/xz.git - v0.5.14

**In some cases, Remediation PR cannot be created automatically for a vulnerability despite the availability of remediation

Details

CVE-2025-58058

Vulnerable Library - github.com/ulikunitz/xz-v0.5.10

Pure golang package for reading and writing xz-compressed files

Library home page: https://proxy.golang.org/github.com/ulikunitz/xz/@⁠v/v0.5.10.zip

Sample Path to Dependency File: /go.mod

Path to vulnerable library: /go.mod

Dependency Hierarchy:

  • github.com/ulikunitz/xz-v0.5.10 (Vulnerable Library)

Found in base branch: main

Vulnerability Details

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.

Publish Date: 2025-08-28

URL: CVE-2025-58058

CVSS 3 Score Details (5.3)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Network
    • Attack Complexity: Low
    • Privileges Required: None
    • User Interaction: None
    • Scope: Unchanged
  • Impact Metrics:
    • Confidentiality Impact: None
    • Integrity Impact: None
    • Availability Impact: Low

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: GHSA-jc7w-c686-c4v9

Release Date: 2025-08-28

Fix Resolution: https://github.com/ulikunitz/xz.git - v0.5.14

Step up your Open Source Security Game with Mend here

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions