--- title: "CVE-2024-3094: Xz: malicious code in distributed source | CubePath" 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…" language: en source: https://cubepath.com/security/cve/CVE-2024-3094 --- # CVE-2024-3094: Xz: malicious code in distributed source | CubePath ## 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. Official description from the CVE record, published by redhat. Copyright © 1999-2026 The MITRE Corporation. See [/security/cve/legal](https://cubepath.com/security/cve/legal) for the CVE license. [View the record on cve.org](https://www.cve.org/CVERecord?id=CVE-2024-3094) ## Key data ### CVSS 3.1 Critical 10.0 Score published by redhat in the CVE record. CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H | Metric | Value | What it means | | ---------------------- | ------- | ----------------------------------------------------------------------------------- | | Attack vector | Network | The vulnerable component can be reached over a network, possibly from the Internet. | | Attack complexity | Low | No special conditions are needed. The attack can be repeated at will. | | Privileges required | None | No account or privileges are needed. | | User interaction | None | No action from any user is needed. | | Scope | Changed | The impact can reach other components beyond the vulnerable one. | | Confidentiality impact | High | Serious or total effect on the secrecy of data. | | Integrity impact | High | Serious or total effect on the trustworthiness of data. | | Availability impact | High | Serious or total effect on availability. | CVSS is owned and managed by FIRST.Org, Inc. (FIRST) and is used by permission. Each CVSS score on this site is shown together with its vector string, as published in the CVE record by the source named next to it. Learn more at [first.org/cvss](https://www.first.org/cvss/) . ### EPSS Exploit Prediction Scoring System by FIRST: an estimate of the probability that exploitation activity will be observed in the next 30 days. Score 0.90900 (90.9% probability) Percentile 99.8% Scores of Nov 10, 2026 Model v2026.06.15 ### CISA assessment as of Apr 2, 2024 Stakeholder-Specific Vulnerability Categorization (SSVC) decision points added by CISA. Automatable yes Technical impact total ### Weakness (CWE) CWE catalog version 5.0. CWE names: Copyright © 2006-2026, The MITRE Corporation. See [/security/cve/legal](https://cubepath.com/security/cve/legal) for the CWE license. - [CWE-506](https://cwe.mitre.org/data/definitions/506.html) Embedded Malicious Code ## Affected products Products listed in the CVE record, as the CNA published them. - xz - affected: 5.6.0 - affected: 5.6.1 ### Listed as not affected - Red Hat Enterprise Linux 10 - Red Hat Enterprise Linux 6 - Red Hat Enterprise Linux 7 - Red Hat Enterprise Linux 8 - Red Hat Enterprise Linux 9 - Red Hat JBoss Enterprise Application Platform 8 ## References Links listed in the CVE record. They lead to other sites, which CubePath does not control. - [access.redhat.com/security/cve/CVE-2024-3094](https://access.redhat.com/security/cve/CVE-2024-3094) vdb-entry - [RHBZ#2272210](https://bugzilla.redhat.com/show%5Fbug.cgi?id=2272210) (bugzilla.redhat.com) issue-tracking - [openwall.com/lists/oss-security/2024/03/29/4](https://www.openwall.com/lists/oss-security/2024/03/29/4) - [redhat.com/en/blog/urgent-security-alert-fedora-41-and-rawh…](https://www.redhat.com/en/blog/urgent-security-alert-fedora-41-and-rawhide-users) - [binarly.io/blog/persistent-risk-xz-utils-backdoor-still-lur…](https://www.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…](https://ariadne.space/2024/04/02/the-xz-utils-backdoor-is-a-symptom-of-a-larger-problem/) - [arstechnica.com/security/2024/03/backdoor-found-in-widely-u…](https://arstechnica.com/security/2024/03/backdoor-found-in-widely-used-linux-utility-breaks-encrypted-ssh-connections/) - [aws.amazon.com/security/security-bulletins/AWS-2024-002](https://aws.amazon.com/security/security-bulletins/AWS-2024-002/) - [blog.netbsd.org/tnf/entry/statement\_on\_backdoor\_in\_xz](https://blog.netbsd.org/tnf/entry/statement%5Fon%5Fbackdoor%5Fin%5Fxz) - [boehs.org/node/everything-i-know-about-the-xz-backdoor](https://boehs.org/node/everything-i-know-about-the-xz-backdoor) - [bugs.debian.org/cgi-bin/bugreport.cgi?bug=1068024](https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1068024) - [bugs.gentoo.org/928134](https://bugs.gentoo.org/928134) - [bugzilla.suse.com/show\_bug.cgi?id=1222124](https://bugzilla.suse.com/show%5Fbug.cgi?id=1222124) - [discourse.nixos.org/t/cve-2024-3094-malicious-code-in-xz-5-…](https://discourse.nixos.org/t/cve-2024-3094-malicious-code-in-xz-5-6-0-and-5-6-1-tarballs/42405) - [gist.github.com/thesamesam/223949d5a074ebc3dce9ee78baad9e27](https://gist.github.com/thesamesam/223949d5a074ebc3dce9ee78baad9e27) - [github.com/advisories/GHSA-rxwq-x6h5-x525](https://github.com/advisories/GHSA-rxwq-x6h5-x525) - [github.com/amlweems/xzbot](https://github.com/amlweems/xzbot) - [github.com/karcherm/xz-malware](https://github.com/karcherm/xz-malware) - [gynvael.coldwind.pl/?lang=en&id=782](https://gynvael.coldwind.pl/?lang=en&id=782) - [lists.debian.org/debian-security-announce/2024/msg00057.html](https://lists.debian.org/debian-security-announce/2024/msg00057.html) - [lists.freebsd.org/archives/freebsd-security/2024-March/0002…](https://lists.freebsd.org/archives/freebsd-security/2024-March/000248.html) - [lwn.net/Articles/967180](https://lwn.net/Articles/967180/) - [news.ycombinator.com/item?id=39865810](https://news.ycombinator.com/item?id=39865810) - [news.ycombinator.com/item?id=39877267](https://news.ycombinator.com/item?id=39877267) - [news.ycombinator.com/item?id=39895344](https://news.ycombinator.com/item?id=39895344) - [openssf.org/blog/2024/03/30/xz-backdoor-cve-2024-3094](https://openssf.org/blog/2024/03/30/xz-backdoor-cve-2024-3094/) - [research.swtch.com/xz-script](https://research.swtch.com/xz-script) - [research.swtch.com/xz-timeline](https://research.swtch.com/xz-timeline) - [security-tracker.debian.org/tracker/CVE-2024-3094](https://security-tracker.debian.org/tracker/CVE-2024-3094) - [security.alpinelinux.org/vuln/CVE-2024-3094](https://security.alpinelinux.org/vuln/CVE-2024-3094) - [security.archlinux.org/CVE-2024-3094](https://security.archlinux.org/CVE-2024-3094) - [security.netapp.com/advisory/ntap-20240402-0001](https://security.netapp.com/advisory/ntap-20240402-0001/) - [tukaani.org/xz-backdoor](https://tukaani.org/xz-backdoor/) - [twitter.com/LetsDefendIO/status/1774804387417751958](https://twitter.com/LetsDefendIO/status/1774804387417751958) - [twitter.com/debian/status/1774219194638409898](https://twitter.com/debian/status/1774219194638409898) - [twitter.com/infosecb/status/1774595540233167206](https://twitter.com/infosecb/status/1774595540233167206) - [twitter.com/infosecb/status/1774597228864139400](https://twitter.com/infosecb/status/1774597228864139400) - [ubuntu.com/security/CVE-2024-3094](https://ubuntu.com/security/CVE-2024-3094) - [cisa.gov/news-events/alerts/2024/03/29/reported-supply-chai…](https://www.cisa.gov/news-events/alerts/2024/03/29/reported-supply-chain-compromise-affecting-xz-utils-data-compression-library-cve-2024-3094) - [darkreading.com/vulnerabilities-threats/are-you-affected-by…](https://www.darkreading.com/vulnerabilities-threats/are-you-affected-by-the-backdoor-in-xz-utils) - [kali.org/blog/about-the-xz-backdoor](https://www.kali.org/blog/about-the-xz-backdoor/) - [tenable.com/blog/frequently-asked-questions-cve-2024-3094-s…](https://www.tenable.com/blog/frequently-asked-questions-cve-2024-3094-supply-chain-backdoor-in-xz-utils) - [theregister.com/2024/03/29/malicious\_backdoor\_xz](https://www.theregister.com/2024/03/29/malicious%5Fbackdoor%5Fxz/) - [vicarius.io/vsociety/vulnerabilities/cve-2024-3094](https://www.vicarius.io/vsociety/vulnerabilities/cve-2024-3094) - [xeiaso.net/notes/2024/xz-vuln](https://xeiaso.net/notes/2024/xz-vuln/) - [openwall.com/lists/oss-security/2024/03/30/12](http://www.openwall.com/lists/oss-security/2024/03/30/12) - [openwall.com/lists/oss-security/2024/03/30/27](http://www.openwall.com/lists/oss-security/2024/03/30/27) - [openwall.com/lists/oss-security/2024/03/29/12](http://www.openwall.com/lists/oss-security/2024/03/29/12) - [openwall.com/lists/oss-security/2024/03/29/10](http://www.openwall.com/lists/oss-security/2024/03/29/10) - [openwall.com/lists/oss-security/2024/03/30/36](http://www.openwall.com/lists/oss-security/2024/03/30/36) - [openwall.com/lists/oss-security/2024/04/16/5](http://www.openwall.com/lists/oss-security/2024/04/16/5) - [openwall.com/lists/oss-security/2024/03/29/8](http://www.openwall.com/lists/oss-security/2024/03/29/8) - [openwall.com/lists/oss-security/2024/03/30/5](http://www.openwall.com/lists/oss-security/2024/03/30/5) - [openwall.com/lists/oss-security/2024/03/29/5](http://www.openwall.com/lists/oss-security/2024/03/29/5) - [openwall.com/lists/oss-security/2024/03/29/4](http://www.openwall.com/lists/oss-security/2024/03/29/4) ## Timeline 1. ID reserved Mar 29, 2024 2. Record published Mar 29, 2024 3. Record last updated Nov 4, 2026 ## Look up another CVE ## About CubePath CubePath is a cloud provider with data centers in Europe and the United States. It offers VPS, bare metal servers and DDoS protection. [Cloud VPS](https://cubepath.com/vps) [DDoS protection](https://cubepath.com/ddos-protection) Data from the CVE Program (MITRE), CISA KEV and FIRST EPSS. CVSS is owned by FIRST and used by permission. Not affiliated with or endorsed by MITRE, CISA or FIRST. Data as of Nov 10, 2026, 20:03 UTC. [Sources and licenses](https://cubepath.com/security/cve/legal)