Ulikunitz Xz vulnerabilities
3 known vulnerabilities affecting ulikunitz/xz.
Total CVEs
3
CISA KEV
0
Public exploits
0
Exploited in wild
0
Severity breakdown
HIGH2MEDIUM1
Vulnerabilities
Page 1 of 1
CVE-2025-58058MEDIUMCVSS 5.3fixed in 0.5.142025-08-28
CVE-2025-58058 [MEDIUM] CWE-770 CVE-2025-58058: xz is a pure golang package for reading and writing xz-compressed files. Prior to version 0.5.14, it
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 aft
cvelistv5nvd
CVE-2021-29482HIGHCVSS 7.5fixed in 0.5.82021-04-28
CVE-2021-29482 [HIGH] CWE-835 denial of service in github.com/ulikunitz/xz
denial of service in github.com/ulikunitz/xz
xz is a compression and decompression library focusing on the xz format completely written in Go. The function readUvarint used to read the xz container format may not terminate a loop provide malicous input. The problem has been fixed in release v0.5.8. As a workaround users can limit the size of the compressed file input to a reasonable size for their use case. The standard
cvelistv5
CVE-2020-16845HIGHCVSS 7.5fixed in 0.5.82020-08-06
CVE-2020-16845 [HIGH] CWE-835 CVE-2020-16845: Go before 1.13.15 and 14.x before 1.14.7 can have an infinite read loop in ReadUvarint and ReadVarin
Go before 1.13.15 and 14.x before 1.14.7 can have an infinite read loop in ReadUvarint and ReadVarint in encoding/binary via invalid inputs.
nvd