Skip to content
OpenAdvisories

Description

Malicious code was discovered in the upstream tarballs of xz, starting with version 5.6.0.
Through a series of complex obfuscations, the liblzma build process extracts a prebuilt object file from a disguised test file existing in the source code, which is then used to modify specific functions in the liblzma code. This results in a modified liblzma library that can be used by any software linked against this library, intercepting and modifying the data interaction with this library.

Affected products

VendorProductAffectedFixed
— xz 5.6.0, 5.6.1 —
Red Hat Red Hat Enterprise Linux 10 — —
Red Hat Red Hat Enterprise Linux 6 — —
Red Hat Red Hat Enterprise Linux 7 — —
Red Hat Red Hat Enterprise Linux 8 — —
Red Hat Red Hat Enterprise Linux 9 — —
Red Hat Red Hat JBoss Enterprise Application Platform 8 — —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 xz-utils 5.6.1+really5.4.5-1 —
Debian 13 xz-utils 5.6.1+really5.4.5-1 —
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed xz 5.6.2-1.1 openSUSE-SU-2024:14017-1
ReleasePackageFixed inAdvisory
Alpine v3.24 xz 5.6.1-r2 —
Alpine v3.23 xz 5.6.1-r2 —
Alpine v3.22 xz 5.6.1-r2 —
Alpine v3.21 xz 5.6.1-r2 —
Alpine v3.20 xz 5.6.1-r2 —
Show 4 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Alpine v3.18 lighttpd 1.4.76-r0 —
Alpine v3.17 lighttpd 1.4.76-r0 —
Alpine v3.16 lighttpd 1.4.76-r0 —
Alpine v3.15 lighttpd 1.4.76-r0 —

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

GitHub 89 repositories · most starred shown

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Advisories 2

References