🛡️ CVE-2025-58058 on Ubuntu — golang-github-ulikunitz-xz

⚪ Unknown ✅ No Known Exploit OSV
N/A
CVSS Score
0 Low4 Medium7 High9 Critical10

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.

Distribution advisory

This page covers CVE-2025-58058 as tracked by Ubuntu, for the package golang-github-ulikunitz-xz. No fixed version has been recorded for this distribution yet.

How this vulnerability can be exploited

This issue can be reached over the network, attack complexity is low, an attacker needs no privileges on the target. No user interaction is required. The scope is unchanged, so the impact stays within the vulnerable component. Rated impact: confidentiality none, integrity none, availability low.

Affected software and timeline

Affected software: golang-github-ulikunitz-xz. Published on 28 August 2025 and last revised on 20 May 2026. No public exploit is currently recorded for this entry. Record sourced from OSV.

References

ubuntu.com (Report)
www.cve.org (Report)
github.com (Report)
github.com (Report)

CVE-2025-58058 on other distributions

Each distribution ships its own build and its own fixed version. Pick the one you run:

Details

Severity Unknown
CVSS Score N/A
CVSS Vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
CWE N/A
Public Exploit ✅ No
Source OSV
Published 2025-08-28
Updated 2026-06-02
Modified 2026-05-20
Fix URL N/A

Affected Packages

Software From version Fixed in
golang-github-ulikunitz-xz

Similar Threats

Vulnerability Monitoring

Track new vulnerabilities in golang-github-ulikunitz-xz

UBUNTU-CVE-2025-58058 is rated CVSS 5.3 Medium. BotEraser monitors your WordPress installation and notifies you when software you use appears in our vulnerability database.

Set Up Free Alerts →

No credit card required  ·  Results in minutes

ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.

More UBUNTU CVE 2025 advisories

Part of UBUNTU CVE 2025 in the advisory index.