← Vulnerability feed

Vulnerability record · CVE-2024-3094 · published 29 March 2024

CVE-2024-3094: XZ Utils liblzma backdoor via malicious build-time code injection

Tukaani · Xz

Malicious code was inserted into upstream xz tarballs starting with version 5.6.0. The liblzma build process extracts a prebuilt object file from a disguised test file and uses it to modify specific functions in liblzma, producing a backdoored library. Any software linked against this library can have its data interactions intercepted and modified, making this a supply-chain compromise of a widely used compression library.

10.0 CVSS 3.1 Critical EPSS 86% · top 0.3% CWE-506 · CWE-506
10.0CVSS 3.1 base score
86%EPSS exploitation probability, 30 days
NoNot in CISA KEV
1Affected product versions listed by NVD
59References
17 Jun 2026Last modified by NVD

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.

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H

Automated analysis

Generated by VULONE's analysis model from the NVD record, CISA KEV and EPSS data on 18 September 2026. Confidence: high.

critical priorityCVSS 10.0 with scope change and high impact across confidentiality, integrity, and availability, combined with a very high EPSS score, makes this a top-priority supply-chain issue despite no KEV listing.

What it is

Malicious code was inserted into upstream xz tarballs starting with version 5.6.0. The liblzma build process extracts a prebuilt object file from a disguised test file and uses it to modify specific functions in liblzma, producing a backdoored library. Any software linked against this library can have its data interactions intercepted and modified, making this a supply-chain compromise of a widely used compression library.

Impact

An attacker gains the ability to intercept and modify data handled by any software linked against the modified liblzma, with the potential to compromise authentication and confidentiality. The CVSS vector indicates high confidentiality, integrity, and availability impact with scope change.

Attack surface

The flaw is reached through the build and distribution chain: malicious code is present in upstream tarballs and is activated when liblzma is built and linked into dependent software. The CVSS vector is network-reachable with no privileges or user interaction required, but exploitation depends on a vulnerable build being deployed and a linked service being reachable.

Exploitation

CISA KEV does not list this CVE, but EPSS is very high at 0.85974 (99.7th percentile), and references include vendor advisories and third-party analyses describing the backdoor. The record does not state that exploitation has been observed in the wild.

What to do

  • Identify and remove or downgrade any xz/liblzma build at version 5.6.0 or 5.6.1, and rebuild affected software from trusted sources.
  • Apply vendor advisories from Red Hat, Debian, SUSE, Gentoo, NixOS, AWS and others for patched or reverted packages.
  • Verify package and tarball integrity against upstream signatures and known-good hashes before building or deploying.
  • Audit build pipelines and CI systems for unauthorized modifications to source tarballs or build scripts.
  • Monitor linked services that depend on liblzma, especially remote access components, for unexpected behavior after remediation.

Detection

  • Search hosts and build artifacts for xz/liblzma versions 5.6.0 and 5.6.1.
  • Inspect build logs and source trees for the disguised test files and extracted object files described in the advisory.
  • Monitor for unexpected outbound connections or data modification in services linked against liblzma.
  • Compare installed library hashes against vendor-published known-good values.

This assessment is produced automatically and is not human-reviewed. Verify against the vendor advisory before acting on it.

Affected products

1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

LinkTags
https://access.redhat.com/security/cve/CVE-2024-3094 Vendor Advisory
https://bugzilla.redhat.com/show_bug.cgi?id=2272210 Issue TrackingVendor 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
http://www.openwall.com/lists/oss-security/2024/03/29/10
http://www.openwall.com/lists/oss-security/2024/03/29/12
http://www.openwall.com/lists/oss-security/2024/03/29/4
http://www.openwall.com/lists/oss-security/2024/03/29/5
http://www.openwall.com/lists/oss-security/2024/03/29/8
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/30/36
http://www.openwall.com/lists/oss-security/2024/03/30/5
http://www.openwall.com/lists/oss-security/2024/04/16/5
https://access.redhat.com/security/cve/CVE-2024-3094 Vendor Advisory
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 ListVendor Advisory
https://bugs.gentoo.org/928134 Issue TrackingThird Party Advisory
https://bugzilla.redhat.com/show_bug.cgi?id=2272210 Issue TrackingVendor Advisory
https://bugzilla.suse.com/show_bug.cgi?id=1222124 Issue TrackingThird 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 DescriptionThird Party Advisory
https://lists.debian.org/debian-security-announce/2024/msg00057.html Mailing ListThird Party Advisory
https://lists.freebsd.org/archives/freebsd-security/2024-March/000248.html Third Party Advisory
https://lwn.net/Articles/967180/ Issue TrackingThird Party Advisory
https://news.ycombinator.com/item?id=39865810 Issue TrackingThird 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

Track CVE-2024-3094 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

8.8CVE-2022-1271Gnu gzip improper input validation vulnerabilityAn arbitrary file write vulnerability was found in GNU gzip's zgrep utility. When zgrep is applied on the attacker's chosen file name (for example, a…EPSS 5.1%7.8CVE-2015-4035Tukaani xz improper input validation vulnerabilityscripts/xzgrep.in in xzgrep 5.2.x before 5.2.0, before 5.0.0 does not properly process file names containing semicolons, which allows remote attacker…EPSS 0.99%5.5CVE-2020-22916Tukaani xz vulnerabilityAn issue discovered in XZ 5.2.5 allows attackers to cause a denial of service via decompression of a crafted file. NOTE: the vendor disputes the clai…EPSS 0.25%1.7CVE-2026-34743Tukaani xz heap-based buffer overflow vulnerabilityXZ Utils provide a general-purpose data-compression library plus command-line tools. Prior to version 5.8.3, if lzma_index_decoder() was used to deco…EPSS 0.57%9.3CVE-2026-8398DAEMON Tools Lite installers trojanized via supply chain compromiseAttackers breached AVB Disc Soft's build or distribution infrastructure and trojanized three signed binaries (DTHelper.exe, DiscSoftBusServiceLite.ex…KEVEPSS 0.96%analysed9.3CVE-2026-48027Nx Console VS Code extension shipped with embedded malicious codeA malicious version of the Nx Console extension, 18.95.0, was published to the Visual Studio Marketplace and OpenVSX and remained downloadable for ro…KEVEPSS 1.3%analysed9.6CVE-2026-45321TanStack npm packages published with credential-stealing malware via CI/CD chainEighty-four malicious versions across 42 @tanstack/* npm packages were published on 2026-05-11 using the legitimate GitHub Actions OIDC trusted-publi…KEVEPSS 1.1%analysed9.4CVE-2026-33634Trivy and trivy-action supply chain compromise via malicious release and tagsA threat actor used compromised credentials to publish a malicious Trivy v0.69.4 release, force-push 76 of 77 version tags in aquasecurity/trivy-acti…KEVEPSS 1.7%analysed

Source: NIST National Vulnerability Database (record CVE-2024-3094), CISA KEV, FIRST EPSS (scores of 2026-09-26). This page is refreshed as NVD updates the record.