CVE-2024-3094Xz: malicious code in distributed source
- 10.0CriticalCVSS base score
- 90.9%Exploitation in 30 daysEPSS · top 0.2% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
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.
Timeline
ID reserved
By redhat
Published
- 3 years later
· 3 years later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| redhatCNA (assigner) | 3.1 | Critical10.0 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H |
| NVDNVD · Modified | 3.1 | Critical10.0 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H |
- EPSS (exploitation in 30 days)
- 90.9% · top 0.2% of all CVEs (15 Nov 2026)
- CISA SSVC
- Exploitation: none · Automatable: yes · Technical impact: total
The list uses the assigner's score when there is one, then CISA's, then NVD's: Critical 10.0.
Affected products
xz
- affected 5.6.0
- affected 5.6.1
Red Hat · Red Hat Enterprise Linux 10
All versions: unaffected
Red Hat · Red Hat Enterprise Linux 6
All versions: unaffected
Red Hat · Red Hat Enterprise Linux 7
All versions: unaffected
Red Hat · Red Hat Enterprise Linux 8
All versions: unaffected
Red Hat · Red Hat Enterprise Linux 9
All versions: unaffected
Red Hat · Red Hat JBoss Enterprise Application Platform 8
All versions: unaffected
References
References55
- https://access.redhat.com/security/cve/CVE-2024-3094 (opens in a new tab)vdb-entryx_refsource_REDHATx_transferred
- RHBZ#2272210 (opens in a new tab)issue-trackingx_refsource_REDHATx_transferred
- https://www.openwall.com/lists/oss-security/2024/03/29/4 (opens in a new tab)x_transferred
- https://www.redhat.com/en/blog/urgent-security-alert-fedora-41-and-rawhide-users (opens in a new tab)x_transferred
- https://www.binarly.io/blog/persistent-risk-xz-utils-backdoor-still-lurking-in-docker-images (opens in a new tab)
- https://ariadne.space/2024/04/02/the-xz-utils-backdoor-is-a-symptom-of-a-larger-problem/ (opens in a new tab)x_transferred
- https://arstechnica.com/security/2024/03/backdoor-found-in-widely-used-linux-utility-breaks-encrypted-ssh-connections/ (opens in a new tab)x_transferred
- https://aws.amazon.com/security/security-bulletins/AWS-2024-002/ (opens in a new tab)x_transferred
- https://blog.netbsd.org/tnf/entry/statement_on_backdoor_in_xz (opens in a new tab)x_transferred
- https://boehs.org/node/everything-i-know-about-the-xz-backdoor (opens in a new tab)x_transferred
- https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1068024 (opens in a new tab)x_transferred
- https://bugs.gentoo.org/928134 (opens in a new tab)x_transferred
- https://bugzilla.suse.com/show_bug.cgi?id=1222124 (opens in a new tab)x_transferred
- https://discourse.nixos.org/t/cve-2024-3094-malicious-code-in-xz-5-6-0-and-5-6-1-tarballs/42405 (opens in a new tab)x_transferred
- https://gist.github.com/thesamesam/223949d5a074ebc3dce9ee78baad9e27 (opens in a new tab)x_transferred
- https://github.com/advisories/GHSA-rxwq-x6h5-x525 (opens in a new tab)x_transferred
- https://github.com/amlweems/xzbot (opens in a new tab)x_transferred
- https://github.com/karcherm/xz-malware (opens in a new tab)x_transferred
- https://gynvael.coldwind.pl/?lang=en&id=782 (opens in a new tab)x_transferred
- https://lists.debian.org/debian-security-announce/2024/msg00057.html (opens in a new tab)x_transferred
- https://lists.freebsd.org/archives/freebsd-security/2024-March/000248.html (opens in a new tab)x_transferred
- https://lwn.net/Articles/967180/ (opens in a new tab)x_transferred
- https://news.ycombinator.com/item?id=39865810 (opens in a new tab)x_transferred
- https://news.ycombinator.com/item?id=39877267 (opens in a new tab)x_transferred
- https://news.ycombinator.com/item?id=39895344 (opens in a new tab)x_transferred
- https://openssf.org/blog/2024/03/30/xz-backdoor-cve-2024-3094/ (opens in a new tab)x_transferred
- https://research.swtch.com/xz-script (opens in a new tab)x_transferred
- https://research.swtch.com/xz-timeline (opens in a new tab)x_transferred
- https://security-tracker.debian.org/tracker/CVE-2024-3094 (opens in a new tab)x_transferred
- https://security.alpinelinux.org/vuln/CVE-2024-3094 (opens in a new tab)x_transferred
- https://security.archlinux.org/CVE-2024-3094 (opens in a new tab)x_transferred
- https://security.netapp.com/advisory/ntap-20240402-0001/ (opens in a new tab)x_transferred
- https://tukaani.org/xz-backdoor/ (opens in a new tab)x_transferred
- https://twitter.com/LetsDefendIO/status/1774804387417751958 (opens in a new tab)x_transferred
- https://twitter.com/debian/status/1774219194638409898 (opens in a new tab)x_transferred
- https://twitter.com/infosecb/status/1774595540233167206 (opens in a new tab)x_transferred
- https://twitter.com/infosecb/status/1774597228864139400 (opens in a new tab)x_transferred
- https://ubuntu.com/security/CVE-2024-3094 (opens in a new tab)x_transferred
- https://www.cisa.gov/news-events/alerts/2024/03/29/reported-supply-chain-compromise-affecting-xz-utils-data-compression-library-cve-2024-3094 (opens in a new tab)x_transferred
- https://www.darkreading.com/vulnerabilities-threats/are-you-affected-by-the-backdoor-in-xz-utils (opens in a new tab)x_transferred
- https://www.kali.org/blog/about-the-xz-backdoor/ (opens in a new tab)x_transferred
- https://www.tenable.com/blog/frequently-asked-questions-cve-2024-3094-supply-chain-backdoor-in-xz-utils (opens in a new tab)x_transferred
- https://www.theregister.com/2024/03/29/malicious_backdoor_xz/ (opens in a new tab)x_transferred
- https://www.vicarius.io/vsociety/vulnerabilities/cve-2024-3094 (opens in a new tab)x_transferred
- https://xeiaso.net/notes/2024/xz-vuln/ (opens in a new tab)x_transferred
- http://www.openwall.com/lists/oss-security/2024/03/30/12 (opens in a new tab)x_transferred
- http://www.openwall.com/lists/oss-security/2024/03/30/27 (opens in a new tab)x_transferred
- http://www.openwall.com/lists/oss-security/2024/03/29/12 (opens in a new tab)x_transferred
- http://www.openwall.com/lists/oss-security/2024/03/29/10 (opens in a new tab)x_transferred
- http://www.openwall.com/lists/oss-security/2024/03/30/36 (opens in a new tab)x_transferred
- http://www.openwall.com/lists/oss-security/2024/04/16/5 (opens in a new tab)x_transferred
- http://www.openwall.com/lists/oss-security/2024/03/29/8 (opens in a new tab)x_transferred
- http://www.openwall.com/lists/oss-security/2024/03/30/5 (opens in a new tab)x_transferred
- http://www.openwall.com/lists/oss-security/2024/03/29/5 (opens in a new tab)x_transferred
- http://www.openwall.com/lists/oss-security/2024/03/29/4 (opens in a new tab)x_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2024-31700 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2024-3094)Record last updated .