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

- Severity: Critical 10.0 (CVSS:3.1, scored by redhat) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 30.8%, higher than 99% of CVEs (2026-11-28)
- Published: 2024-03-29T16:51:12.588Z
- Modified: 2026-11-23T14:17:21.190Z
- Weaknesses: CWE-506
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total
- Assigned by: redhat

## 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.

(As written by CVE List.)

## Affected

- xz: 5.6.0; 5.6.1
- tukaani xz: 5.6.0; 5.6.1

## Every score

- redhat: CVSS:3.1 10.0 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H`
- NVD: CVSS:3.1 10.0 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H`

## References

- <https://access.redhat.com/security/cve/CVE-2024-3094> (vdb-entry, vendor-advisory)
- <https://bugzilla.redhat.com/show_bug.cgi?id=2272210> (issue-tracking, vendor-advisory)
- <https://www.openwall.com/lists/oss-security/2024/03/29/4> (mailing-list)
- <https://www.redhat.com/en/blog/urgent-security-alert-fedora-41-and-rawhide-users> (vendor-advisory)
- <https://www.binarly.io/blog/persistent-risk-xz-utils-backdoor-still-lurking-in-docker-images>
- <https://ariadne.space/2024/04/02/the-xz-utils-backdoor-is-a-symptom-of-a-larger-problem/>
- <https://arstechnica.com/security/2024/03/backdoor-found-in-widely-used-linux-utility-breaks-encrypted-ssh-connections/> (third-party-advisory)
- <https://aws.amazon.com/security/security-bulletins/AWS-2024-002/> (third-party-advisory)
- <https://blog.netbsd.org/tnf/entry/statement_on_backdoor_in_xz>
- <https://boehs.org/node/everything-i-know-about-the-xz-backdoor> (third-party-advisory)
- <https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1068024> (mailing-list, vendor-advisory)
- <https://bugs.gentoo.org/928134> (issue-tracking, third-party-advisory)
- <https://bugzilla.suse.com/show_bug.cgi?id=1222124> (issue-tracking, third-party-advisory)
- <https://discourse.nixos.org/t/cve-2024-3094-malicious-code-in-xz-5-6-0-and-5-6-1-tarballs/42405> (third-party-advisory)
- <https://gist.github.com/thesamesam/223949d5a074ebc3dce9ee78baad9e27> (third-party-advisory)
- <https://github.com/advisories/GHSA-rxwq-x6h5-x525> (third-party-advisory)
- <https://github.com/amlweems/xzbot>
- <https://github.com/karcherm/xz-malware> (third-party-advisory)
- <https://gynvael.coldwind.pl/?lang=en&id=782> (technical-description, third-party-advisory)
- <https://lists.debian.org/debian-security-announce/2024/msg00057.html> (mailing-list, third-party-advisory)
- <https://lists.freebsd.org/archives/freebsd-security/2024-March/000248.html> (third-party-advisory)
- <https://lwn.net/Articles/967180/> (issue-tracking, third-party-advisory)
- <https://news.ycombinator.com/item?id=39865810> (issue-tracking, third-party-advisory)
- <https://news.ycombinator.com/item?id=39877267> (issue-tracking)
- <https://news.ycombinator.com/item?id=39895344>
- <https://openssf.org/blog/2024/03/30/xz-backdoor-cve-2024-3094/> (third-party-advisory)
- <https://research.swtch.com/xz-script>
- <https://research.swtch.com/xz-timeline>
- <https://security-tracker.debian.org/tracker/CVE-2024-3094> (third-party-advisory)
- <https://security.alpinelinux.org/vuln/CVE-2024-3094> (third-party-advisory)
- <https://security.archlinux.org/CVE-2024-3094> (third-party-advisory)
- <https://security.netapp.com/advisory/ntap-20240402-0001/>
- <https://tukaani.org/xz-backdoor/> (issue-tracking, vendor-advisory)
- <https://twitter.com/LetsDefendIO/status/1774804387417751958> (third-party-advisory)
- <https://twitter.com/debian/status/1774219194638409898> (press/media-coverage)
- <https://twitter.com/infosecb/status/1774595540233167206> (press/media-coverage)
- <https://twitter.com/infosecb/status/1774597228864139400> (press/media-coverage)
- <https://ubuntu.com/security/CVE-2024-3094> (third-party-advisory)
- <https://www.cisa.gov/news-events/alerts/2024/03/29/reported-supply-chain-compromise-affecting-xz-utils-data-compression-library-cve-2024-3094> (third-party-advisory, us-government-resource)
- <https://www.darkreading.com/vulnerabilities-threats/are-you-affected-by-the-backdoor-in-xz-utils> (third-party-advisory)
- <https://www.kali.org/blog/about-the-xz-backdoor/>
- <https://www.tenable.com/blog/frequently-asked-questions-cve-2024-3094-supply-chain-backdoor-in-xz-utils> (third-party-advisory)
- <https://www.theregister.com/2024/03/29/malicious_backdoor_xz/> (press/media-coverage)
- <https://www.vicarius.io/vsociety/vulnerabilities/cve-2024-3094>
- <https://xeiaso.net/notes/2024/xz-vuln/> (third-party-advisory)
- <http://www.openwall.com/lists/oss-security/2024/03/30/12>
- <http://www.openwall.com/lists/oss-security/2024/03/30/27>
- <http://www.openwall.com/lists/oss-security/2024/03/29/12>
- <http://www.openwall.com/lists/oss-security/2024/03/29/10>
- <http://www.openwall.com/lists/oss-security/2024/03/30/36>
- <http://www.openwall.com/lists/oss-security/2024/04/16/5>
- <http://www.openwall.com/lists/oss-security/2024/03/29/8>
- <http://www.openwall.com/lists/oss-security/2024/03/30/5>
- <http://www.openwall.com/lists/oss-security/2024/03/29/5>
- <http://www.openwall.com/lists/oss-security/2024/03/29/4>

## Sources

- CVE List: [CVE-2024-3094](https://www.cve.org/CVERecord?id=CVE-2024-3094), CVE Terms of Use, modified 2026-11-23
- NVD: [CVE-2024-3094](https://nvd.nist.gov/vuln/detail/CVE-2024-3094), Public domain, modified 2026-11-23

---

Page: https://cve.day/CVE-2024-3094 · Whole record: https://cve.day/CVE-2024-3094.json · Rebuilt by cve.day 2026-11-25T22:58:38.136Z
