VDB

DEBIAN-CVE-2025-58058

DEBIAN-CVE-2025-58058 PUBLISHED CVSS 5.300000190734863 MEDIUM

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.

Risk Scores

CVSS v3.1
5.300000190734863
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

Affected Products

VendorProductVersions
Debian:14golang-github-ulikunitz-xz0, 0.5.6-2, 0.5.12-1
Debian:12golang-github-ulikunitz-xz0.5.6-2, 0, 0.5.12-1
Debian:11golang-github-ulikunitz-xz0.5.6-2, 0.5.12-1, 0.5.15-1
Debian:13golang-github-ulikunitz-xz0, 0.5.12-1, 0.5.6-2

Timeline

  • Aug 28, 2025 CVE Published
  • Apr 28, 2026 CVE Updated
Open in Interactive Console →
$ Console Community · 100/wk Open console ›