{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2021-29482","published":"2021-04-28T19:15:08.587000Z","last_modified":"2026-06-17T03:47:44Z","status":"Modified","cvss":{"version":"3.1","score":7.5,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","source":"nvd@nist.gov","primary":true},"auth":false,"cwes":["CWE-835"],"cpes":[{"criteria":"cpe:2.3:a:xz_project:xz:*:*:*:*:*:go:*:*","part":"a","vendor":"xz_project","product":"xz","version_end_excluding":"0.5.8"}],"cpes_truncated":false,"vendors":["xz_project"],"products":["xz_project/xz"],"epss":{"score":0.01519,"percentile":0.74896,"date":"2026-11-29","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-25xm-hr59-7c27","ecosystem":"Go","name":"github.com/ulikunitz/xz","purl":"pkg:golang/github.com/ulikunitz/xz","ranges":[{"introduced":"0","fixed":"0.5.8"}],"versions":[],"versions_truncated":false},{"advisory":"GO-2020-0016","ecosystem":"Go","name":"github.com/ulikunitz/xz","purl":"pkg:golang/github.com/ulikunitz/xz","ranges":[{"introduced":"0","fixed":"0.5.8"}],"versions":[],"versions_truncated":false}],"severity":"high","priority_score":60,"links":{"html_es":"/es/cve/CVE-2021-29482/","html_en":"/en/cve/CVE-2021-29482/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2021-29482","cve_org":"https://www.cve.org/CVERecord?id=CVE-2021-29482"},"untrusted":{"vendor_name":"Xz Project","product_name":"Xz","desc_en":"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.","affected":[{"untrusted_vendor":"ulikunitz","untrusted_product":"xz","versions":[]}],"references":[{"url":"https://github.com/ulikunitz/xz/commit/69c6093c7b2397b923acf82cb378f55ab2652b9b","tags":["Patch","Third Party Advisory"]},{"url":"https://github.com/ulikunitz/xz/security/advisories/GHSA-25xm-hr59-7c27","tags":["Third Party Advisory"]}]}}