CVEfocus › CVE database › CVE-2024-3094

CVE-2024-3094Xz: malicious code in distributed source

CVSS 10.0 CriticalEPSS 30.8% (higher than 99% of CVEs)Published 2024-03-29Updated 2026-11-23Assigner: redhat

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.

CWE-506

What to do

Likely to be exploited: EPSS gives a 31% chance of exploitation in the next 30 days. Treat it as urgent if you run an affected version.

Fixed builds are available from Alpine, Debian: see the table below for the fixed version per release.

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

11Fixed
23Not affected

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.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 24.04xz-utilsNot affected
vulnerable_code_not_present
Ubuntu 22.04xz-utilsNot affected
vulnerable_code_not_present
Debian 14xz-utilsFixed5.6.1+really5.4.5-1DEBIAN-CVE-2024-3094
Debian 13xz-utilsFixed5.6.1+really5.4.5-1DEBIAN-CVE-2024-3094
Red Hat Enterprise Linux 10xzNot affected
Red Hat Enterprise Linux 10xz-develNot affected
Red Hat Enterprise Linux 10xz-libsNot affected
Red Hat Enterprise Linux 10xz-lzma-compatNot affected
Red Hat Enterprise Linux 9xzNot affected
Red Hat Enterprise Linux 9xz-develNot affected
Red Hat Enterprise Linux 9xz-libsNot affected
Red Hat Enterprise Linux 9xz-lzma-compatNot affected
Red Hat Enterprise Linux 8xzNot affected
Red Hat Enterprise Linux 8xz-develNot affected
Red Hat Enterprise Linux 8xz-libsNot affected
Red Hat Enterprise Linux 8xz-lzma-compatNot affected
Red Hat Enterprise Linux 7xzNot affected
Red Hat Enterprise Linux 7xz-compat-libsNot affected
Red Hat Enterprise Linux 7xz-develNot affected
Red Hat Enterprise Linux 7xz-libsNot affected
Red Hat Enterprise Linux 7xz-lzma-compatNot affected
Red Hat Enterprise Linux 6xzNot affected
Red Hat Enterprise Linux 6xz-develNot affected
Red Hat Enterprise Linux 6xz-libsNot affected
Red Hat Enterprise Linux 6xz-lzma-compatNot affected
Alpine Linux 3.24xzFixed5.6.1-r2ALPINE-CVE-2024-3094
Alpine Linux 3.23xzFixed5.6.1-r2ALPINE-CVE-2024-3094
Alpine Linux 3.22xzFixed5.6.1-r2ALPINE-CVE-2024-3094
Alpine Linux 3.21xzFixed5.6.1-r2ALPINE-CVE-2024-3094
Alpine Linux 3.20xzFixed5.6.1-r2ALPINE-CVE-2024-3094
Alpine Linux 3.18lighttpdFixed1.4.76-r0ALPINE-CVE-2024-3094
Alpine Linux 3.17lighttpdFixed1.4.76-r0ALPINE-CVE-2024-3094
Alpine Linux 3.16lighttpdFixed1.4.76-r0ALPINE-CVE-2024-3094
Alpine Linux 3.15lighttpdFixed1.4.76-r0ALPINE-CVE-2024-3094

What the vendor says

As published in the CVE record by redhat, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

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.