Is github.com/ulikunitz/xz 0.3 vulnerable?

Go · 1 release from 0.3.1 to 0.3.1 · latest github.com/ulikunitz/xz is 0.5.17 · checked 18 Nov 2026

Yes: 4 known advisories

Yes. github.com/ulikunitz/xz 0.3.1, the last 0.3 release, is affected by 4 known security advisories (1 high, 1 medium, 2 low), including CVE-2021-29482, CVE-2025-58058, CVE-2025-58058. Upgrade to 0.5.15 or later to fix all of them.

Upgrade with:go get github.com/ulikunitz/xz@v0.5.15

Is your project on an affected github.com/ulikunitz/xz?

Private repo? Upload its lockfile instead, or connect GitHub to check every repo.

Look after several Go apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie

Advisories affecting github.com/ulikunitz/xz 0.3.1

  • LowCVE-2025-58058GO-2025-392217 Sept 2025

    Memory leaks when decoding a corrupted multiple LZMA archives in github.com/ulikunitz/xz

    Affected
    <0.5.15
    Fixed in
    0.5.15
  • MediumCVE-2025-58058GHSA-jc7w-c686-c4v928 Aug 2025

    github.com/ulikunitz/xz leaks memory when decoding a corrupted multiple LZMA archives

    Affected
    <0.5.15
    Fixed in
    0.5.15
  • HighCVE-2021-29482GHSA-25xm-hr59-7c2725 May 2021

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

    Affected
    <0.5.8
    Fixed in
    0.5.8
  • LowCVE-2021-29482GO-2020-001614 Apr 2021

    Infinite loop in github.com/ulikunitz/xz

    Affected
    <0.5.8
    Fixed in
    0.5.8

Which of your client projects are still on github.com/ulikunitz/xz 0.3?

NPMscan reads the lockfiles in every GitHub repo you pick, finds the exact github.com/ulikunitz/xz version each one installs, and checks it against these advisories. Each finding comes with the command that fixes it.

Other github.com/ulikunitz/xz versions

Advisory data from OSV.dev (opens OSV.dev in a new tab), which includes the GitHub Advisory Database. Release list from the Go registry. Refreshed daily.