CVE-2024-3094 in the critical feed json
Xz: malicious code in distributed source
published 2024-03-29 2 y ago modified 2026-11-04 4 d ago also EUVD-2024-31700 , JLSEC-2026-62
- cvss
- 10.0
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 90.9%
- EPSS 90.9% chance of exploitation in 30 days, percentile 99.8%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- julia XZ_jll 5.6.3+0
- tukaani xz 5.6.2
- xz-utils Debian 14, Debian 13 5.6.1+really5.4.5-1
debian advisories DEBIAN-CVE-2024-3094
- xz openSUSE Tumbleweed 5.6.2-1.1
opensuse advisories openSUSE-SU-2024:14017-1
- xz Alpine 3.24, Alpine 3.23, Alpine 3.22 +2 more 5.6.1-r2
- lighttpd Alpine 3.18, Alpine 3.17, Alpine 3.16 +1 more 1.4.76-r0
alpine advisories ALPINE-CVE-2024-3094
Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- xz Arch Linux 5.6.1-2
arch linux advisories AVG-2851
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2024-3094 updated cvss 10.0
xz: malicious code in distributed source
-
Red Hat Enterprise Linux 6 xz, xz-libs, xz-lzma-compat Red Hat Enterprise Linux 7 xz, xz-libs, xz-compat-libs, xz-lzma-compat Red Hat Enterprise Linux 8 xz, xz-libs, xz-lzma-compat Red Hat Enterprise Linux 9 xz, xz-libs, xz-lzma-compat Red Hat Enterprise Linux 10 xz Red Hat JBoss Enterprise Application Platform 8 xznot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- yes
- Technical impact
- total
- Assessed
- 2 y ago
Exploit prediction
90.90% chance of exploitation in the next 30 days, higher than 99.8% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 10.0 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H |
| NVD | 3.1 | 10.0 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H |
| OSV | 3.1 | 10.0 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| julia | XZ_jll | >=5.6.0+0, <5.6.3+0 |
5.6.3+0 |
Affected products
- 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
Classification
- Weakness
-
- CWE-506 Embedded Malicious Code
References
-
access.redhat.com
/security/cve/CVE-2024-3094
vdb-entry, vendor-advisory, web
-
bugzilla.redhat.com
/show_bug.cgi?id=2272210
issue-tracking, vendor-advisory, web
-
redhat.com
/en/blog/urgent-security-alert-fedora-41-and-rawhide-users
vendor-advisory
-
bugs.debian.org
/cgi-bin/bugreport.cgi?bug=1068024
mailing-list, vendor-advisory, web
-
tukaani.org
/xz-backdoor/
issue-tracking, vendor-advisory, web
-
openwall.com
/lists/oss-security/2024/03/29/4
mailing-list
- binarly.io /blog/persistent-risk-xz-utils-backdoor-still-lurking-in-docker-images
-
ariadne.space
/2024/04/02/the-xz-utils-backdoor-is-a-symptom-of-a-larger-problem/
web
-
arstechnica.com
/security/2024/03/backdoor-found-in-widely-used-linux-utility-breaks-encrypted-ssh-connections/
third-party-advisory, web
-
aws.amazon.com
/security/security-bulletins/AWS-2024-002/
third-party-advisory, web
-
blog.netbsd.org
/tnf/entry/statement_on_backdoor_in_xz
web
-
boehs.org
/node/everything-i-know-about-the-xz-backdoor
third-party-advisory, web
-
bugs.gentoo.org
/928134
issue-tracking, third-party-advisory, web
-
bugzilla.suse.com
/show_bug.cgi?id=1222124
issue-tracking, third-party-advisory, web
-
discourse.nixos.org
/t/cve-2024-3094-malicious-code-in-xz-5-6-0-and-5-6-1-tarballs/42405
third-party-advisory, web
-
gist.github.com
/thesamesam/223949d5a074ebc3dce9ee78baad9e27
third-party-advisory, web
-
github.com
/advisories/GHSA-rxwq-x6h5-x525
third-party-advisory, web
-
github.com
/amlweems/xzbot
web
-
github.com
/karcherm/xz-malware
third-party-advisory, web
-
gynvael.coldwind.pl
/?lang=en&id=782
technical-description, third-party-advisory, web
-
lists.debian.org
/debian-security-announce/2024/msg00057.html
mailing-list, third-party-advisory, web
-
lists.freebsd.org
/archives/freebsd-security/2024-March/000248.html
third-party-advisory, web
-
lwn.net
/Articles/967180/
issue-tracking, third-party-advisory, web
-
news.ycombinator.com
/item?id=39865810
issue-tracking, third-party-advisory, web
-
news.ycombinator.com
/item?id=39877267
issue-tracking, web
-
news.ycombinator.com
/item?id=39895344
web
-
openssf.org
/blog/2024/03/30/xz-backdoor-cve-2024-3094/
third-party-advisory, web
-
research.swtch.com
/xz-script
web
-
research.swtch.com
/xz-timeline
web
-
security-tracker.debian.org
/tracker/CVE-2024-3094
third-party-advisory, web
-
security.alpinelinux.org
/vuln/CVE-2024-3094
third-party-advisory, web
-
security.archlinux.org
/CVE-2024-3094
web
-
security.netapp.com
/advisory/ntap-20240402-0001/
web
- twitter.com /LetsDefendIO/status/1774804387417751958
- twitter.com /debian/status/1774219194638409898
- twitter.com /infosecb/status/1774595540233167206
- twitter.com /infosecb/status/1774597228864139400
- ubuntu.com /security/CVE-2024-3094
- cisa.gov /news-events/alerts/2024/03/29/reported-supply-chain-compromise-affecting-xz-utils-data-compression-library-cv
- darkreading.com /vulnerabilities-threats/are-you-affected-by-the-backdoor-in-xz-utils
-
openwall.com
/lists/oss-security/2024/03/29/10
web
-
openwall.com
/lists/oss-security/2024/03/29/12
web
-
openwall.com
/lists/oss-security/2024/03/29/4
web
-
openwall.com
/lists/oss-security/2024/03/29/5
web
-
openwall.com
/lists/oss-security/2024/03/29/8
web
-
openwall.com
/lists/oss-security/2024/03/30/12
web
-
openwall.com
/lists/oss-security/2024/03/30/27
web
-
openwall.com
/lists/oss-security/2024/03/30/36
web
-
openwall.com
/lists/oss-security/2024/03/30/5
web
-
openwall.com
/lists/oss-security/2024/04/16/5
web
Sources
- CVE List CVE-2024-3094
- NVD CVE-2024-3094
- OSV JLSEC-2026-62
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.