CVE-2025-58058: Golang github ulikunitz xz · Prior to version 0.5.14, it is possible to put data in front of an
Affects golang-github-ulikunitz-xzSource GCVE Database
Not known to be exploited · CVSS 5.3 Medium · fixed in 0.5.14 : update golang-github-ulikunitz-xz when convenient.
Data as of 24 Nov 2026, 20:10 UTC
- Patch
- Available – fixed in 0.5.14
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:LExploitation evidence
Disclosed: evidence found.
CVE published 28 Aug 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 23 Nov 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu 26.10golang-github-ulikunitz-xzpkg:deb/ubuntu/golang-github-ulikunitz-xz?arch=source&distro=stonkingOther threats | Affected
| Fixed in– |
Ubuntu 26.04 LTSgolang-github-ulikunitz-xzpkg:deb/ubuntu/golang-github-ulikunitz-xz?arch=source&distro=resoluteOther threats | Affected
| Fixed in– |
Ubuntu 25.10golang-github-ulikunitz-xzpkg:deb/ubuntu/golang-github-ulikunitz-xz?arch=source&distro=questingOther threats | Affected
| Fixed in– |
Ubuntu 24.04 LTSgolang-github-ulikunitz-xzpkg:deb/ubuntu/golang-github-ulikunitz-xz?arch=source&distro=nobleOther threats | Affected
| Fixed in– |
Ubuntu 22.04 LTSgolang-github-ulikunitz-xzpkg:deb/ubuntu/golang-github-ulikunitz-xz?arch=source&distro=jammyOther threats | Affected
| Fixed in– |
Ubuntu 20.04 LTSgolang-github-ulikunitz-xzpkg:deb/ubuntu/golang-github-ulikunitz-xz?arch=source&distro=focalOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
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.