7.5

CVE-2021-29482: denial of service in github.com/ulikunitz/xz

Modified
AliasesUBUNTU-CVE-2021-29482DEBIAN-CVE-2021-29482GHSA-25xm-hr59-7c27
Published 28-04-2021Last modified 03-08-2024

Vulnerability summary

CVE-2021-29482 is a high (CVSS 7.5) Loop with Unreachable Exit Condition vulnerability in ulikunitz xz. EPSS estimates a 1.44% chance of exploitation in the next 30 days, higher than 73.1% of scored vulnerabilities.

Priority
Prioritisesevere

Severe, CVSS 7.5 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 1% (FIRST, 03-11-2026)

Source freshness unavailable

How is this decided?
CVSS score
7.5/10
010
High · v3.1 (CVE.org)
EPSS score
1.44%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 1

Timeline

  1. 28-04-2021
    PublishedVulnerability first disclosed.
  2. 03-08-2024
    Last modifiedVulnerability information updated.

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.

CVSS metrics

6 scores · 5 sources · 2 versions

EPSS trend

Probability

1.44%

Chance of exploitation in the next 30 days

Percentile

73%

Versus all other CVEs

30-day change

No change 0.00 pp

From 1.44% on 04-10-2026

04-10-202603-11-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.

Debian1 product
  • golang-github-ulikunitz-xz< 0.5.6-2
Github.com/ulikunitz1 product
  • xz< 0.5.8
Ubuntu1 product
  • golang-github-ulikunitz-xzAll versions (No fix recorded)
Ulikunitz1 product
Xz_project1 product

5 vendors · 5 products

References

8 links