StackPatch is liveSee product

Back to CVE digest
Ubuntu USN · USN-8362-1

XZ Utils vulnerability

Published: Tue, 02 Jun 2026 09:17

CVE-2026-34743

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-utils5.2.2-1.3ubuntu0.1+esm1apt_upgrade

    Standard 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-dev5.2.2-1.3ubuntu0.1+esm1apt_upgrade

    Standard 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-doc5.2.2-1.3ubuntu0.1+esm1apt_upgrade

    Standard 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.

  • liblzma55.2.2-1.3ubuntu0.1+esm1apt_upgrade

    Standard 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-utils5.2.2-1.3ubuntu0.1+esm1apt_upgrade

    Standard 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.

  • xzdec5.2.2-1.3ubuntu0.1+esm1apt_upgrade

    Standard 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-utils5.2.4-1ubuntu1.1+esm1apt_upgrade

    Standard 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-dev5.2.4-1ubuntu1.1+esm1apt_upgrade

    Standard 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-doc5.2.4-1ubuntu1.1+esm1apt_upgrade

    Standard 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.

  • liblzma55.2.4-1ubuntu1.1+esm1apt_upgrade

    Standard 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-utils5.2.4-1ubuntu1.1+esm1apt_upgrade

    Standard 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.

  • xzdec5.2.4-1ubuntu1.1+esm1apt_upgrade

    Standard 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-utils5.2.5-2ubuntu1.1apt_upgrade

    Standard 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-dev5.2.5-2ubuntu1.1apt_upgrade

    Standard 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-doc5.2.5-2ubuntu1.1apt_upgrade

    Standard 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.

  • liblzma55.2.5-2ubuntu1.1apt_upgrade

    Standard 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-utils5.2.5-2ubuntu1.1apt_upgrade

    Standard 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.

  • xzdec5.2.5-2ubuntu1.1apt_upgrade

    Standard 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-utils5.6.1+really5.4.5-1ubuntu0.3apt_upgrade

    Standard 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-dev5.6.1+really5.4.5-1ubuntu0.3apt_upgrade

    Standard 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-doc5.6.1+really5.4.5-1ubuntu0.3apt_upgrade

    Standard 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.

  • liblzma55.6.1+really5.4.5-1ubuntu0.3apt_upgrade

    Standard 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-utils5.6.1+really5.4.5-1ubuntu0.3apt_upgrade

    Standard 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.

  • xzdec5.6.1+really5.4.5-1ubuntu0.3apt_upgrade

    Standard 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-utils5.8.1-1ubuntu0.1apt_upgrade

    Standard 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-dev5.8.1-1ubuntu0.1apt_upgrade

    Standard 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-doc5.8.1-1ubuntu0.1apt_upgrade

    Standard 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.

  • liblzma55.8.1-1ubuntu0.1apt_upgrade

    Standard 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-utils5.8.1-1ubuntu0.1apt_upgrade

    Standard 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.

  • xzdec5.8.1-1ubuntu0.1apt_upgrade

    Standard 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-utils5.1.1alpha+20120614-2ubuntu2.14.04.1+esm2apt_upgrade

    Standard 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-dev5.1.1alpha+20120614-2ubuntu2.14.04.1+esm2apt_upgrade

    Standard 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-doc5.1.1alpha+20120614-2ubuntu2.14.04.1+esm2apt_upgrade

    Standard 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.

  • liblzma55.1.1alpha+20120614-2ubuntu2.14.04.1+esm2apt_upgrade

    Standard 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-utils5.1.1alpha+20120614-2ubuntu2.14.04.1+esm2apt_upgrade

    Standard 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.

  • xzdec5.1.1alpha+20120614-2ubuntu2.14.04.1+esm2apt_upgrade

    Standard 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-utils5.1.1alpha+20120614-2ubuntu2.16.04.1+esm2apt_upgrade

    Standard 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-dev5.1.1alpha+20120614-2ubuntu2.16.04.1+esm2apt_upgrade

    Standard 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-doc5.1.1alpha+20120614-2ubuntu2.16.04.1+esm2apt_upgrade

    Standard 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.

  • liblzma55.1.1alpha+20120614-2ubuntu2.16.04.1+esm2apt_upgrade

    Standard 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-utils5.1.1alpha+20120614-2ubuntu2.16.04.1+esm2apt_upgrade

    Standard 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.

  • xzdec5.1.1alpha+20120614-2ubuntu2.16.04.1+esm2apt_upgrade

    Standard 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
Want this automated for your servers?

StackPatch runs this match against YOUR installed packages every hour

Free 1-server / $99 lifetime founder seat (50 only) / $19+/mo monthly. Indie pricing.