CVE-2021-29482
published high CVSS 3.1 · 7.5denial of service in github.com/ulikunitz/xz
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| ulikunitz | — | xz< 0.5.8 | Affected | Not stated | GitHub_M |
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.5 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| ulikunitz | xz | < 0.5.8 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-835 {"CWE-835":"Loop with Unreachable Exit Condition ('Infinite Loop')"}
References
2Provider assertions
2GitHub_M · cna
denial of service in github.com/ulikunitz/xz
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 053c234fe07f16b6ef3ab99ae5f8472e8f4c2381f72ae951dbb4d022f6e16d6a
- Ingested
- 23 Sep 2026, 07:53:55 UTC
- Source record
- Official CVE record