XZ Utils vulnerability
Published: Tue, 02 Jun 2026 09:17
Summary
XZ Utils could be made to crash or run programs as your login if it received specially crafted input.
Details
It was discovered that XZ Utils did not properly manage memory when attempting to append data to a decoded index that contained no records. An attacker could possibly use this issue to cause XZ Utils to crash, resulting in a denial of service, or execute arbitrary code.
Recommended actions per Ubuntu release
StackPatch playbook auto-generated per release codename and per affected package.
Ubuntu bionic
xz-utils→5.2.2-1.3ubuntu0.1+esm1apt_upgradeStandard apt upgrade. Install 5.2.2-1.3ubuntu0.1+esm1 from the apt repo.
sudo apt-get update sudo apt-get install --only-upgrade -y xz-utils
Most apt upgrades restart their service automatically. needrestart lists anything else.
liblzma-dev→5.2.2-1.3ubuntu0.1+esm1apt_upgradeStandard apt upgrade. Install 5.2.2-1.3ubuntu0.1+esm1 from the apt repo.
sudo apt-get update sudo apt-get install --only-upgrade -y liblzma-dev
Most apt upgrades restart their service automatically. needrestart lists anything else.
liblzma-doc→5.2.2-1.3ubuntu0.1+esm1apt_upgradeStandard apt upgrade. Install 5.2.2-1.3ubuntu0.1+esm1 from the apt repo.
sudo apt-get update sudo apt-get install --only-upgrade -y liblzma-doc
Most apt upgrades restart their service automatically. needrestart lists anything else.
liblzma5→5.2.2-1.3ubuntu0.1+esm1apt_upgradeStandard apt upgrade. Install 5.2.2-1.3ubuntu0.1+esm1 from the apt repo.
sudo apt-get update sudo apt-get install --only-upgrade -y liblzma5
Most apt upgrades restart their service automatically. needrestart lists anything else.
xz-utils→5.2.2-1.3ubuntu0.1+esm1apt_upgradeStandard apt upgrade. Install 5.2.2-1.3ubuntu0.1+esm1 from the apt repo.
sudo apt-get update sudo apt-get install --only-upgrade -y xz-utils
Most apt upgrades restart their service automatically. needrestart lists anything else.
xzdec→5.2.2-1.3ubuntu0.1+esm1apt_upgradeStandard apt upgrade. Install 5.2.2-1.3ubuntu0.1+esm1 from the apt repo.
sudo apt-get update sudo apt-get install --only-upgrade -y xzdec
Most apt upgrades restart their service automatically. needrestart lists anything else.
Ubuntu focal
xz-utils→5.2.4-1ubuntu1.1+esm1apt_upgradeStandard apt upgrade. Install 5.2.4-1ubuntu1.1+esm1 from the apt repo.
sudo apt-get update sudo apt-get install --only-upgrade -y xz-utils
Most apt upgrades restart their service automatically. needrestart lists anything else.
liblzma-dev→5.2.4-1ubuntu1.1+esm1apt_upgradeStandard apt upgrade. Install 5.2.4-1ubuntu1.1+esm1 from the apt repo.
sudo apt-get update sudo apt-get install --only-upgrade -y liblzma-dev
Most apt upgrades restart their service automatically. needrestart lists anything else.
liblzma-doc→5.2.4-1ubuntu1.1+esm1apt_upgradeStandard apt upgrade. Install 5.2.4-1ubuntu1.1+esm1 from the apt repo.
sudo apt-get update sudo apt-get install --only-upgrade -y liblzma-doc
Most apt upgrades restart their service automatically. needrestart lists anything else.
liblzma5→5.2.4-1ubuntu1.1+esm1apt_upgradeStandard apt upgrade. Install 5.2.4-1ubuntu1.1+esm1 from the apt repo.
sudo apt-get update sudo apt-get install --only-upgrade -y liblzma5
Most apt upgrades restart their service automatically. needrestart lists anything else.
xz-utils→5.2.4-1ubuntu1.1+esm1apt_upgradeStandard apt upgrade. Install 5.2.4-1ubuntu1.1+esm1 from the apt repo.
sudo apt-get update sudo apt-get install --only-upgrade -y xz-utils
Most apt upgrades restart their service automatically. needrestart lists anything else.
xzdec→5.2.4-1ubuntu1.1+esm1apt_upgradeStandard apt upgrade. Install 5.2.4-1ubuntu1.1+esm1 from the apt repo.
sudo apt-get update sudo apt-get install --only-upgrade -y xzdec
Most apt upgrades restart their service automatically. needrestart lists anything else.
Ubuntu jammy
xz-utils→5.2.5-2ubuntu1.1apt_upgradeStandard apt upgrade. Install 5.2.5-2ubuntu1.1 from the apt repo.
sudo apt-get update sudo apt-get install --only-upgrade -y xz-utils
Most apt upgrades restart their service automatically. needrestart lists anything else.
liblzma-dev→5.2.5-2ubuntu1.1apt_upgradeStandard apt upgrade. Install 5.2.5-2ubuntu1.1 from the apt repo.
sudo apt-get update sudo apt-get install --only-upgrade -y liblzma-dev
Most apt upgrades restart their service automatically. needrestart lists anything else.
liblzma-doc→5.2.5-2ubuntu1.1apt_upgradeStandard apt upgrade. Install 5.2.5-2ubuntu1.1 from the apt repo.
sudo apt-get update sudo apt-get install --only-upgrade -y liblzma-doc
Most apt upgrades restart their service automatically. needrestart lists anything else.
liblzma5→5.2.5-2ubuntu1.1apt_upgradeStandard apt upgrade. Install 5.2.5-2ubuntu1.1 from the apt repo.
sudo apt-get update sudo apt-get install --only-upgrade -y liblzma5
Most apt upgrades restart their service automatically. needrestart lists anything else.
xz-utils→5.2.5-2ubuntu1.1apt_upgradeStandard apt upgrade. Install 5.2.5-2ubuntu1.1 from the apt repo.
sudo apt-get update sudo apt-get install --only-upgrade -y xz-utils
Most apt upgrades restart their service automatically. needrestart lists anything else.
xzdec→5.2.5-2ubuntu1.1apt_upgradeStandard apt upgrade. Install 5.2.5-2ubuntu1.1 from the apt repo.
sudo apt-get update sudo apt-get install --only-upgrade -y xzdec
Most apt upgrades restart their service automatically. needrestart lists anything else.
Ubuntu noble
xz-utils→5.6.1+really5.4.5-1ubuntu0.3apt_upgradeStandard apt upgrade. Install 5.6.1+really5.4.5-1ubuntu0.3 from the apt repo.
sudo apt-get update sudo apt-get install --only-upgrade -y xz-utils
Most apt upgrades restart their service automatically. needrestart lists anything else.
liblzma-dev→5.6.1+really5.4.5-1ubuntu0.3apt_upgradeStandard apt upgrade. Install 5.6.1+really5.4.5-1ubuntu0.3 from the apt repo.
sudo apt-get update sudo apt-get install --only-upgrade -y liblzma-dev
Most apt upgrades restart their service automatically. needrestart lists anything else.
liblzma-doc→5.6.1+really5.4.5-1ubuntu0.3apt_upgradeStandard apt upgrade. Install 5.6.1+really5.4.5-1ubuntu0.3 from the apt repo.
sudo apt-get update sudo apt-get install --only-upgrade -y liblzma-doc
Most apt upgrades restart their service automatically. needrestart lists anything else.
liblzma5→5.6.1+really5.4.5-1ubuntu0.3apt_upgradeStandard apt upgrade. Install 5.6.1+really5.4.5-1ubuntu0.3 from the apt repo.
sudo apt-get update sudo apt-get install --only-upgrade -y liblzma5
Most apt upgrades restart their service automatically. needrestart lists anything else.
xz-utils→5.6.1+really5.4.5-1ubuntu0.3apt_upgradeStandard apt upgrade. Install 5.6.1+really5.4.5-1ubuntu0.3 from the apt repo.
sudo apt-get update sudo apt-get install --only-upgrade -y xz-utils
Most apt upgrades restart their service automatically. needrestart lists anything else.
xzdec→5.6.1+really5.4.5-1ubuntu0.3apt_upgradeStandard apt upgrade. Install 5.6.1+really5.4.5-1ubuntu0.3 from the apt repo.
sudo apt-get update sudo apt-get install --only-upgrade -y xzdec
Most apt upgrades restart their service automatically. needrestart lists anything else.
Ubuntu questing
xz-utils→5.8.1-1ubuntu0.1apt_upgradeStandard apt upgrade. Install 5.8.1-1ubuntu0.1 from the apt repo.
sudo apt-get update sudo apt-get install --only-upgrade -y xz-utils
Most apt upgrades restart their service automatically. needrestart lists anything else.
liblzma-dev→5.8.1-1ubuntu0.1apt_upgradeStandard apt upgrade. Install 5.8.1-1ubuntu0.1 from the apt repo.
sudo apt-get update sudo apt-get install --only-upgrade -y liblzma-dev
Most apt upgrades restart their service automatically. needrestart lists anything else.
liblzma-doc→5.8.1-1ubuntu0.1apt_upgradeStandard apt upgrade. Install 5.8.1-1ubuntu0.1 from the apt repo.
sudo apt-get update sudo apt-get install --only-upgrade -y liblzma-doc
Most apt upgrades restart their service automatically. needrestart lists anything else.
liblzma5→5.8.1-1ubuntu0.1apt_upgradeStandard apt upgrade. Install 5.8.1-1ubuntu0.1 from the apt repo.
sudo apt-get update sudo apt-get install --only-upgrade -y liblzma5
Most apt upgrades restart their service automatically. needrestart lists anything else.
xz-utils→5.8.1-1ubuntu0.1apt_upgradeStandard apt upgrade. Install 5.8.1-1ubuntu0.1 from the apt repo.
sudo apt-get update sudo apt-get install --only-upgrade -y xz-utils
Most apt upgrades restart their service automatically. needrestart lists anything else.
xzdec→5.8.1-1ubuntu0.1apt_upgradeStandard apt upgrade. Install 5.8.1-1ubuntu0.1 from the apt repo.
sudo apt-get update sudo apt-get install --only-upgrade -y xzdec
Most apt upgrades restart their service automatically. needrestart lists anything else.
Ubuntu trusty
xz-utils→5.1.1alpha+20120614-2ubuntu2.14.04.1+esm2apt_upgradeStandard apt upgrade. Install 5.1.1alpha+20120614-2ubuntu2.14.04.1+esm2 from the apt repo.
sudo apt-get update sudo apt-get install --only-upgrade -y xz-utils
Most apt upgrades restart their service automatically. needrestart lists anything else.
liblzma-dev→5.1.1alpha+20120614-2ubuntu2.14.04.1+esm2apt_upgradeStandard apt upgrade. Install 5.1.1alpha+20120614-2ubuntu2.14.04.1+esm2 from the apt repo.
sudo apt-get update sudo apt-get install --only-upgrade -y liblzma-dev
Most apt upgrades restart their service automatically. needrestart lists anything else.
liblzma-doc→5.1.1alpha+20120614-2ubuntu2.14.04.1+esm2apt_upgradeStandard apt upgrade. Install 5.1.1alpha+20120614-2ubuntu2.14.04.1+esm2 from the apt repo.
sudo apt-get update sudo apt-get install --only-upgrade -y liblzma-doc
Most apt upgrades restart their service automatically. needrestart lists anything else.
liblzma5→5.1.1alpha+20120614-2ubuntu2.14.04.1+esm2apt_upgradeStandard apt upgrade. Install 5.1.1alpha+20120614-2ubuntu2.14.04.1+esm2 from the apt repo.
sudo apt-get update sudo apt-get install --only-upgrade -y liblzma5
Most apt upgrades restart their service automatically. needrestart lists anything else.
xz-utils→5.1.1alpha+20120614-2ubuntu2.14.04.1+esm2apt_upgradeStandard apt upgrade. Install 5.1.1alpha+20120614-2ubuntu2.14.04.1+esm2 from the apt repo.
sudo apt-get update sudo apt-get install --only-upgrade -y xz-utils
Most apt upgrades restart their service automatically. needrestart lists anything else.
xzdec→5.1.1alpha+20120614-2ubuntu2.14.04.1+esm2apt_upgradeStandard apt upgrade. Install 5.1.1alpha+20120614-2ubuntu2.14.04.1+esm2 from the apt repo.
sudo apt-get update sudo apt-get install --only-upgrade -y xzdec
Most apt upgrades restart their service automatically. needrestart lists anything else.
Ubuntu xenial
xz-utils→5.1.1alpha+20120614-2ubuntu2.16.04.1+esm2apt_upgradeStandard apt upgrade. Install 5.1.1alpha+20120614-2ubuntu2.16.04.1+esm2 from the apt repo.
sudo apt-get update sudo apt-get install --only-upgrade -y xz-utils
Most apt upgrades restart their service automatically. needrestart lists anything else.
liblzma-dev→5.1.1alpha+20120614-2ubuntu2.16.04.1+esm2apt_upgradeStandard apt upgrade. Install 5.1.1alpha+20120614-2ubuntu2.16.04.1+esm2 from the apt repo.
sudo apt-get update sudo apt-get install --only-upgrade -y liblzma-dev
Most apt upgrades restart their service automatically. needrestart lists anything else.
liblzma-doc→5.1.1alpha+20120614-2ubuntu2.16.04.1+esm2apt_upgradeStandard apt upgrade. Install 5.1.1alpha+20120614-2ubuntu2.16.04.1+esm2 from the apt repo.
sudo apt-get update sudo apt-get install --only-upgrade -y liblzma-doc
Most apt upgrades restart their service automatically. needrestart lists anything else.
liblzma5→5.1.1alpha+20120614-2ubuntu2.16.04.1+esm2apt_upgradeStandard apt upgrade. Install 5.1.1alpha+20120614-2ubuntu2.16.04.1+esm2 from the apt repo.
sudo apt-get update sudo apt-get install --only-upgrade -y liblzma5
Most apt upgrades restart their service automatically. needrestart lists anything else.
xz-utils→5.1.1alpha+20120614-2ubuntu2.16.04.1+esm2apt_upgradeStandard apt upgrade. Install 5.1.1alpha+20120614-2ubuntu2.16.04.1+esm2 from the apt repo.
sudo apt-get update sudo apt-get install --only-upgrade -y xz-utils
Most apt upgrades restart their service automatically. needrestart lists anything else.
xzdec→5.1.1alpha+20120614-2ubuntu2.16.04.1+esm2apt_upgradeStandard apt upgrade. Install 5.1.1alpha+20120614-2ubuntu2.16.04.1+esm2 from the apt repo.
sudo apt-get update sudo apt-get install --only-upgrade -y xzdec
Most apt upgrades restart their service automatically. needrestart lists anything else.
Are YOU affected by USN-8362-1?
5-second check on your actual server. Reads /etc/os-release, uname -r, and dpkg-query; matches against the live USN + Debian Security Tracker feeds; tells you whether USN-8362-1 (and any other live CVE) applies. Anonymous, no signup.
curl https://mindsparkstack.com/scan.sh | bash
StackPatch runs this match against YOUR installed packages every hour
Free 1-server / $99 lifetime founder seat (50 only) / $19+/mo monthly. Indie pricing.