cve.bz

CVE-2021-29482

7.5 highEPSS 1.4%

High (7.5) in xz project xz. EPSS 1.4% chance of exploitation in the next 30 days. Fixed in github.com/ulikunitz/xz 0.5.8.

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 library had recently the same issue and got the CVE-2020-16845 allocated.

Severity

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS
1.4% chance of exploitation in the next 30 days; higher than 73% of CVEs (scores of 2026-10-31)
CWE
CWE-835
Published
Modified
Record from
the NVD, synced

Affected

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-25xm-hr59-7c27Gogithub.com/ulikunitz/xz<0.5.80.5.8
GO-2020-0016Gogithub.com/ulikunitz/xz<0.5.80.5.8

References

Check your stackJSON