Xz: malicious code in distributed source
Summary
| CVE | CVE-2024-3094 |
|---|---|
| State | PUBLISHED |
| Assigner | redhat |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2024-03-29 17:15:21 UTC |
| Updated | 2026-11-23 14:17:21 UTC |
| 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. |
Risk And Classification
Primary CVSS: v3.1 10 CRITICAL from [email protected]
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
EPSS: 0.909000000 probability, percentile 0.998070000 (date 2026-11-04)
Problem Types: CWE-506 | CWE-506 Embedded Malicious Code
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 3.1 | [email protected] | Primary | 10 | CRITICAL | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H |
| 3.1 | [email protected] | Secondary | 10 | CRITICAL | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H |
| 3.1 | CNA | CVSS | 10 | CRITICAL | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H |
CVSS v3.1 Breakdown
Attack Vector
NetworkAttack Complexity
LowPrivileges Required
NoneUser Interaction
NoneScope
ChangedConfidentiality
HighIntegrity
HighAvailability
HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
NVD Known Affected Configurations (CPE 2.3)
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Red Hat | Red Hat Enterprise Linux 10 | Not specified | Not specified |
| CNA | Red Hat | Red Hat Enterprise Linux 6 | Not specified | Not specified |
| CNA | Red Hat | Red Hat Enterprise Linux 7 | Not specified | Not specified |
| CNA | Red Hat | Red Hat Enterprise Linux 8 | Not specified | Not specified |
| CNA | Red Hat | Red Hat Enterprise Linux 9 | Not specified | Not specified |
| CNA | Red Hat | Red Hat JBoss Enterprise Application Platform 8 | Not specified | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| security.netapp.com/advisory/ntap-20240402-0001 | af854a3a-2127-422b-91ae-364da2661108 | security.netapp.com | |
| bugzilla.redhat.com/show_bug.cgi | af854a3a-2127-422b-91ae-364da2661108 | bugzilla.redhat.com | Issue Tracking, Vendor Advisory |
| www.openwall.com/lists/oss-security/2024/03/29/8 | af854a3a-2127-422b-91ae-364da2661108 | www.openwall.com | |
| github.com/amlweems/xzbot | af854a3a-2127-422b-91ae-364da2661108 | github.com | |
| ariadne.space/2024/04/02/the-xz-utils-backdoor-is-a-symptom-of-a-larger-pro... | af854a3a-2127-422b-91ae-364da2661108 | ariadne.space | |
| twitter.com/infosecb/status/1774597228864139400 | af854a3a-2127-422b-91ae-364da2661108 | twitter.com | Press/Media Coverage |
| ubuntu.com/security/CVE-2024-3094 | af854a3a-2127-422b-91ae-364da2661108 | ubuntu.com | Third Party Advisory |
| gist.github.com/thesamesam/223949d5a074ebc3dce9ee78baad9e27 | af854a3a-2127-422b-91ae-364da2661108 | gist.github.com | Third Party Advisory |
| github.com/advisories/GHSA-rxwq-x6h5-x525 | af854a3a-2127-422b-91ae-364da2661108 | github.com | Third Party Advisory |
| www.openwall.com/lists/oss-security/2024/03/29/4 | af854a3a-2127-422b-91ae-364da2661108 | www.openwall.com | Mailing List |
| www.theregister.com/2024/03/29/malicious_backdoor_xz | af854a3a-2127-422b-91ae-364da2661108 | www.theregister.com | Press/Media Coverage |
| security-tracker.debian.org/tracker/CVE-2024-3094 | af854a3a-2127-422b-91ae-364da2661108 | security-tracker.debian.org | Third Party Advisory |
| blog.netbsd.org/tnf/entry/statement_on_backdoor_in_xz | af854a3a-2127-422b-91ae-364da2661108 | blog.netbsd.org | |
| www.cisa.gov/news-events/alerts/2024/03/29/reported-supply-chain-compromis... | af854a3a-2127-422b-91ae-364da2661108 | www.cisa.gov | Third Party Advisory, US Government Resource |
| www.openwall.com/lists/oss-security/2024/03/29/10 | af854a3a-2127-422b-91ae-364da2661108 | www.openwall.com | |
| www.openwall.com/lists/oss-security/2024/03/30/36 | af854a3a-2127-422b-91ae-364da2661108 | www.openwall.com | |
| security.archlinux.org/CVE-2024-3094 | af854a3a-2127-422b-91ae-364da2661108 | security.archlinux.org | Third Party Advisory |
| bugs.gentoo.org/928134 | af854a3a-2127-422b-91ae-364da2661108 | bugs.gentoo.org | Issue Tracking, Third Party Advisory |
| www.openwall.com/lists/oss-security/2024/03/30/12 | af854a3a-2127-422b-91ae-364da2661108 | www.openwall.com | |
| gynvael.coldwind.pl | af854a3a-2127-422b-91ae-364da2661108 | gynvael.coldwind.pl | Technical Description, Third Party Advisory |
| arstechnica.com/security/2024/03/backdoor-found-in-widely-used-linux-utility-... | af854a3a-2127-422b-91ae-364da2661108 | arstechnica.com | Third Party Advisory |
| security.alpinelinux.org/vuln/CVE-2024-3094 | af854a3a-2127-422b-91ae-364da2661108 | security.alpinelinux.org | Third Party Advisory |
| www.openwall.com/lists/oss-security/2024/03/29/12 | af854a3a-2127-422b-91ae-364da2661108 | www.openwall.com | |
| news.ycombinator.com/item | af854a3a-2127-422b-91ae-364da2661108 | news.ycombinator.com | Issue Tracking |
| research.swtch.com/xz-timeline | af854a3a-2127-422b-91ae-364da2661108 | research.swtch.com | |
| twitter.com/infosecb/status/1774595540233167206 | af854a3a-2127-422b-91ae-364da2661108 | twitter.com | Press/Media Coverage |
| www.binarly.io/blog/persistent-risk-xz-utils-backdoor-still-lurking-in-docke... | af854a3a-2127-422b-91ae-364da2661108 | www.binarly.io | |
| www.vicarius.io/vsociety/vulnerabilities/cve-2024-3094 | af854a3a-2127-422b-91ae-364da2661108 | www.vicarius.io | |
| bugs.debian.org/cgi-bin/bugreport.cgi | af854a3a-2127-422b-91ae-364da2661108 | bugs.debian.org | Mailing List, Vendor Advisory |
| news.ycombinator.com/item | af854a3a-2127-422b-91ae-364da2661108 | news.ycombinator.com | Issue Tracking, Third Party Advisory |
| www.darkreading.com/vulnerabilities-threats/are-you-affected-by-the-backdoor-in-x... | af854a3a-2127-422b-91ae-364da2661108 | www.darkreading.com | Third Party Advisory |
| research.swtch.com/xz-script | af854a3a-2127-422b-91ae-364da2661108 | research.swtch.com | |
| tukaani.org/xz-backdoor | af854a3a-2127-422b-91ae-364da2661108 | tukaani.org | Issue Tracking, Vendor Advisory |
| www.openwall.com/lists/oss-security/2024/03/30/5 | af854a3a-2127-422b-91ae-364da2661108 | www.openwall.com | |
| lwn.net/Articles/967180 | af854a3a-2127-422b-91ae-364da2661108 | lwn.net | Issue Tracking, Third Party Advisory |
| xeiaso.net/notes/2024/xz-vuln | af854a3a-2127-422b-91ae-364da2661108 | xeiaso.net | Third Party Advisory |
| www.tenable.com/blog/frequently-asked-questions-cve-2024-3094-supply-chain-ba... | af854a3a-2127-422b-91ae-364da2661108 | www.tenable.com | Third Party Advisory |
| twitter.com/LetsDefendIO/status/1774804387417751958 | af854a3a-2127-422b-91ae-364da2661108 | twitter.com | Third Party Advisory |
| www.openwall.com/lists/oss-security/2024/03/30/27 | af854a3a-2127-422b-91ae-364da2661108 | www.openwall.com | |
| openssf.org/blog/2024/03/30/xz-backdoor-cve-2024-3094 | af854a3a-2127-422b-91ae-364da2661108 | openssf.org | Third Party Advisory |
| access.redhat.com/security/cve/CVE-2024-3094 | af854a3a-2127-422b-91ae-364da2661108 | access.redhat.com | Vendor Advisory |
| github.com/karcherm/xz-malware | af854a3a-2127-422b-91ae-364da2661108 | github.com | Third Party Advisory |
| discourse.nixos.org/t/cve-2024-3094-malicious-code-in-xz-5-6-0-and-5-6-1-tarballs... | af854a3a-2127-422b-91ae-364da2661108 | discourse.nixos.org | Third Party Advisory |
| twitter.com/debian/status/1774219194638409898 | af854a3a-2127-422b-91ae-364da2661108 | twitter.com | Press/Media Coverage |
| news.ycombinator.com/item | af854a3a-2127-422b-91ae-364da2661108 | news.ycombinator.com | |
| www.openwall.com/lists/oss-security/2024/03/29/4 | af854a3a-2127-422b-91ae-364da2661108 | www.openwall.com | |
| lists.debian.org/debian-security-announce/2024/msg00057.html | af854a3a-2127-422b-91ae-364da2661108 | lists.debian.org | Mailing List, Third Party Advisory |
| www.openwall.com/lists/oss-security/2024/04/16/5 | af854a3a-2127-422b-91ae-364da2661108 | www.openwall.com | |
| www.openwall.com/lists/oss-security/2024/03/29/5 | af854a3a-2127-422b-91ae-364da2661108 | www.openwall.com | |
| boehs.org/node/everything-i-know-about-the-xz-backdoor | af854a3a-2127-422b-91ae-364da2661108 | boehs.org | Third Party Advisory |
| bugzilla.suse.com/show_bug.cgi | af854a3a-2127-422b-91ae-364da2661108 | bugzilla.suse.com | Issue Tracking, Third Party Advisory |
| www.kali.org/blog/about-the-xz-backdoor | af854a3a-2127-422b-91ae-364da2661108 | www.kali.org | |
| www.redhat.com/en/blog/urgent-security-alert-fedora-41-and-rawhide-users | af854a3a-2127-422b-91ae-364da2661108 | www.redhat.com | Vendor Advisory |
| lists.freebsd.org/archives/freebsd-security/2024-March/000248.html | af854a3a-2127-422b-91ae-364da2661108 | lists.freebsd.org | Third Party Advisory |
| aws.amazon.com/security/security-bulletins/AWS-2024-002 | af854a3a-2127-422b-91ae-364da2661108 | aws.amazon.com | Third Party Advisory |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
Vendor Comments And Credit
Discovery Credit
CNA: Red Hat would like to thank Andres Freund for reporting this issue. (en)
Additional Advisory Data
| Source | Time | Event |
|---|---|---|
| CNA | 2024-03-27T00:00:00.000Z | Reported to Red Hat. |
| CNA | 2024-03-29T00:00:00.000Z | Made public. |