Advisory record · GHSA-25xm-hr59-7c27

github.com/ulikunitz/xz fixes readUvarint Denial of Service (DoS)

CVSS 7.5 HighEPSS 0.014 · 73rd percentile

Published by the GitHub Advisory Database at 25 May 2021, 18:39 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
github.com/ulikunitz/xzGo<0.5.80.5.8
Identifiers
GHSA-25xm-hr59-7c27 · CVE-2021-29482 · GO-2020-0016
Weakness (CWE)
CWE-835
Published
25 May 2021
Updated
8 Jul 2026

Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

The github.com/ulikunitz/xz package before version 0.5.8 has a denial of service flaw in its readUvarint function, which reads the xz container format and may fail to terminate a loop when given malicious input. The source gives few details about the exact conditions required to trigger it. Upgrade to version 0.5.8, which contains the fix. As a workaround, limit the size of compressed file input to a reasonable size for your use case.

Written 6 Nov 2026.

Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

Severity and exploitation

ScoreRatingCVSSVectorSource
7.5 High 3.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H CNA (GitHub_M)
  • CISA KEV Not listed.
  • EPSS 0.014, the 73rd percentile, on 20 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

  1. 31 Oct 2026, 15:05 UTC First seen by agentprime
  2. 31 Oct 2026, 15:05 UTC Confirmed by OSV

Sources

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.