CVE-2024-3094
Xz: malicious code in distributed source
CRITICAL 10.0EPSS 90.9%
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.
- Affected
- xz
- CVSS v3.1 NVD
- 10.0 CRITICAL
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H - EPSS
- 90.90% chance of exploitation in the next 30 days, 100th percentile
- Nuclei
- critical · CWE-506
- Published
- 2024-03-29
- Updated
- 2026-08-04
Proof-of-concept exploits (45)
- 0xlane/xz-cve-2024-309417★ · 2024-04-02
- 24Owais/threat-intel-cve-2024-30941★ · 2025-06-19
- Fractal-Tess/CVE-2024-30940★ · 2024-03-30
- Horizon-Software-Development/CVE-2024-30942★ · 2024-03-30
- MagpieRYL/CVE-2024-3094-backdoor-env-container0★ · 2024-04-03
- MrBUGLF/XZ-Utils_CVE-2024-30940★ · 2024-04-01
- Mustafa1986/CVE-2024-30940★ · 2024-04-01
- OpensourceICTSolutions/xz_utils-CVE-2024-30940★ · 2024-03-29
- ScrimForever/CVE-2024-30942★ · 2024-04-02
- Simplifi-ED/CVE-2024-3094-patcher0★ · 2024-03-31
- Yuma-Tsushima07/CVE-2024-30944★ · 2024-03-31
- ackemed/detectar_cve-2024-30940★ · 2024-04-01
- ashwani95/CVE-2024-30940★ · 2024-03-30
- been22426/CVE-2024-30940★ · 2025-04-16
- byinarie/CVE-2024-3094-info54★ · 2024-04-01
- dah4k/CVE-2024-30940★ · 2024-04-01
- felipecosta09/cve-2024-30944★ · 2024-04-05
- fevar54/Detectar-Backdoor-en-liblzma-de-XZ-utils-CVE-2024-3094-0★ · 2024-04-13
- gayatriracha/CVE-2024-3094-Nmap-NSE-script0★ · 2024-03-31
- gustavorobertux/CVE-2024-30943★ · 2024-04-02
- hiitaro/CVE-Searcher6★ · 2025-06-11
- jfrog/cve-2024-3094-tools44★ · 2024-04-07
- mightysai1997/CVE-2024-30940★ · 2024-04-01
- mightysai1997/CVE-2024-3094-info0★ · 2024-04-01
- mightysai1997/xzbot0★ · 2024-04-05
- mrk336/CVE-2024-30941★ · 2025-09-12
- neuralinhibitor/xzwhy5★ · 2024-04-18
- pentestfunctions/CVE-2024-30943★ · 2024-04-02
- r0binak/xzk8s14★ · 2024-04-06
- shefirot/CVE-2024-30940★ · 2024-06-11
- teyhouse/CVE-2024-309411★ · 2024-03-31
- valeriot30/cve-2024-30941★ · 2025-06-06
- 0xBlackash/CVE-2024-30940★ · 2026-04-23
- FabioBaroni/CVE-2024-3094-checker72★ · 2024-03-31
- Security-Phoenix-demo/CVE-2024-3094-fix-exploits2★ · 2025-11-01
- ThomRgn/xzutils_backdoor_obfuscation0★ · 2025-10-22
- extracoding-dozen/CVE-2024-30940★ · 2026-03-13
- h3raklez/CVE-2024-30940★ · 2026-04-09
- hackura/xz-cve-2024-30940★ · 2026-01-25
- vesjolyjd/Kaspersky_CVE-2024-30940★ · 2026-04-30
- vnchk1/sec_review_cve-2024-30940★ · 2026-04-09
- 0xbitx/rust_doc_hidden_poc1★ · 2026-07-18
- Ol4dipo/Vulnerability-Mapper1★ · 2026-03-14
- lime-green/xz-backdoor-repro0★ · 2026-02-28
- KerberoSec/KerberoSec-CLI4★ · 2026-10-07
Nuclei templates (1)
Security advisories
- https://access.redhat.com/security/cve/CVE-2024-3094
- https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1068024
- https://bugzilla.redhat.com/show_bug.cgi?id=2272210
- https://tukaani.org/xz-backdoor
- https://www.redhat.com/en/blog/urgent-security-alert-fedora-41-and-rawhide-users
- https://arstechnica.com/security/2024/03/backdoor-found-in-widely-used-linux-utility-brea…
- https://aws.amazon.com/security/security-bulletins/AWS-2024-002
- https://boehs.org/node/everything-i-know-about-the-xz-backdoor
- https://bugs.gentoo.org/928134
- https://bugzilla.suse.com/show_bug.cgi?id=1222124
- https://discourse.nixos.org/t/cve-2024-3094-malicious-code-in-xz-5-6-0-and-5-6-1-tarballs…
- https://gist.github.com/thesamesam/223949d5a074ebc3dce9ee78baad9e27
- advisories/GHSA-rxwq-x6h5-x525
- karcherm/xz-malware
- https://gynvael.coldwind.pl/?lang=en&id=782
- https://lists.debian.org/debian-security-announce/2024/msg00057.html
- https://lists.freebsd.org/archives/freebsd-security/2024-March/000248.html
- https://lwn.net/Articles/967180
- https://news.ycombinator.com/item?id=39865810
- https://openssf.org/blog/2024/03/30/xz-backdoor-cve-2024-3094
- https://security-tracker.debian.org/tracker/CVE-2024-3094
- https://security.alpinelinux.org/vuln/CVE-2024-3094
- https://security.archlinux.org/CVE-2024-3094
- https://twitter.com/LetsDefendIO/status/1774804387417751958
- https://ubuntu.com/security/CVE-2024-3094
- https://www.cisa.gov/news-events/alerts/2024/03/29/reported-supply-chain-compromise-affec…
- https://www.darkreading.com/vulnerabilities-threats/are-you-affected-by-the-backdoor-in-x…
- https://www.tenable.com/blog/frequently-asked-questions-cve-2024-3094-supply-chain-backdo…
- https://xeiaso.net/notes/2024/xz-vuln
- https://news.ycombinator.com/item?id=39877267