CVE-2026-34743XZ Utils: Buffer overflow in lzma_index_append()
XZ Utils provide a general-purpose data-compression library plus command-line tools. Prior to version 5.8.3, if lzma_index_decoder() was used to decode an Index that contained no Records, the resulting lzma_index was left in a state where where a subsequent lzma_index_append() would allocate too little memory, and a buffer overflow would occur. This issue has been patched in version 5.8.3.
What to do
Fixed builds are available from AlmaLinux, Alpine, Debian, Red Hat, Rocky Linux, Ubuntu: see the table below for the fixed version per release.
Red Hat, Ubuntu have not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.04 | xz-utils | Not affected vulnerable_code_not_present | ||
| Ubuntu 25.10 | xz-utils | Fixed | 5.8.1-1ubuntu0.1 | UBUNTU-CVE-2026-34743 |
| Ubuntu 24.04 | xz-utils | Fixed | 5.6.1+really5.4.5-1ubuntu0.3 | UBUNTU-CVE-2026-34743 |
| Ubuntu 22.04 | xz-utils | Fixed | 5.2.5-2ubuntu1.1 | UBUNTU-CVE-2026-34743 |
| Ubuntu 20.04 | xz-utils | Fix pending | 5.2.4-1ubuntu1.1+esm1 (Ubuntu Pro) | UBUNTU-CVE-2026-34743 |
| Ubuntu 18.04 | xz-utils | Fix pending | 5.2.2-1.3ubuntu0.1+esm1 (Ubuntu Pro) | UBUNTU-CVE-2026-34743 |
| Ubuntu 16.04 | xz-utils | Fix pending | 5.1.1alpha+20120614-2ubuntu2.16.04.1+esm2 (Ubuntu Pro) | UBUNTU-CVE-2026-34743 |
| Ubuntu 14.04 | xz-utils | Fix pending | 5.1.1alpha+20120614-2ubuntu2.14.04.1+esm2 (Ubuntu Pro) | UBUNTU-CVE-2026-34743 |
| Debian 14 | xz-utils | Fixed | 5.8.3-1 | DEBIAN-CVE-2026-34743 |
| Debian 13 | xz-utils | Fixed | 5.8.1-1+deb13u1 | DEBIAN-CVE-2026-34743 |
| Debian 12 | xz-utils | Fixed | 5.4.1-1+deb12u1 | DEBIAN-CVE-2026-34743 |
| Red Hat Enterprise Linux 10 | xz | Fixed | 1:5.6.2-4.el10_2.1 | RHSA-2026:64787 |
| Red Hat Enterprise Linux 10 | xz-devel | Fixed | 1:5.6.2-4.el10_2.1 | RHSA-2026:64787 |
| Red Hat Enterprise Linux 10 | xz-libs | Fixed | 1:5.6.2-4.el10_2.1 | RHSA-2026:64787 |
| Red Hat Enterprise Linux 10 | xz-lzma-compat | Fixed | 1:5.6.2-4.el10_2.1 | RHSA-2026:64787 |
| Red Hat Enterprise Linux 9 | xz | Fixed | 0:5.2.5-8.el9_9.1 | RHSA-2026:89749 |
| Red Hat Enterprise Linux 9 | xz-devel | Fixed | 0:5.2.5-8.el9_8.1 | RHSA-2026:98486 |
| Red Hat Enterprise Linux 9 | xz-libs | Fixed | 0:5.2.5-8.el9_9.1 | RHSA-2026:89749 |
| Red Hat Enterprise Linux 9 | xz-lzma-compat | Fixed | 0:5.2.5-8.el9_9.1 | RHSA-2026:89749 |
| Red Hat Enterprise Linux 8 | xz | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | xz-devel | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | xz-libs | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | xz-lzma-compat | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 7 | xz | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 7 | xz-compat-libs | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 7 | xz-devel | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 7 | xz-libs | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 7 | xz-lzma-compat | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 6 | xz | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | xz-devel | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | xz-libs | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | xz-lzma-compat | Will not fix Out of support scope | ||
| AlmaLinux 10 | xz | Fixed | 1:5.6.2-4.el10_2.1 | ALSA-2026:64787 |
| AlmaLinux 10 | xz-devel | Fixed | 1:5.6.2-4.el10_2.1 | ALSA-2026:64787 |
| AlmaLinux 10 | xz-libs | Fixed | 1:5.6.2-4.el10_2.1 | ALSA-2026:64787 |
| AlmaLinux 10 | xz-lzma-compat | Fixed | 1:5.6.2-4.el10_2.1 | ALSA-2026:64787 |
| AlmaLinux 9 | xz | Fixed | 5.2.5-8.el9_8.1 | ALSA-2026:98486 |
| AlmaLinux 9 | xz-devel | Fixed | 5.2.5-8.el9_9.1 | ALSA-2026:89749 |
| AlmaLinux 9 | xz-libs | Fixed | 5.2.5-8.el9_8.1 | ALSA-2026:98486 |
| AlmaLinux 9 | xz-lzma-compat | Fixed | 5.2.5-8.el9_9.1 | ALSA-2026:89749 |
| Rocky Linux 10 | xz | Fixed | 1:5.6.2-4.el10_2.1 | RLSA-2026:64787 |
| Rocky Linux 9 | xz | Fixed | 0:5.2.5-8.el9_8.1 | RLSA-2026:98486 |
| Alpine Linux 3.24 | xz | Fixed | 5.8.3-r0 | ALPINE-CVE-2026-34743 |
| Alpine Linux 3.23 | xz | Fixed | 5.8.3-r0 | ALPINE-CVE-2026-34743 |
| Alpine Linux 3.22 | xz | Fixed | 5.8.3-r0 | ALPINE-CVE-2026-34743 |
| Alpine Linux 3.21 | xz | Fixed | 5.8.3-r0 | ALPINE-CVE-2026-34743 |
| Alpine Linux 3.20 | xz | Fixed | 5.8.3-r0 | ALPINE-CVE-2026-34743 |
What the vendor says
As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- tukaani-project xz: affected: < 5.8.3
References
- https://github.com/tukaani-project/xz/security/advisories/GHSA-x872-m794-cxhv
- https://github.com/tukaani-project/xz/commit/c8c22869e780ff57c96b46939c3d79ff99395f87
- https://github.com/tukaani-project/xz/releases/tag/v5.8.3
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.