CVE-2024-3094: XZ Utils Backdoor
- Vendor
- Tukaani
CVE-2024-3094 is a software supply-chain backdoor in XZ Utils release tarballs for versions 5.6.0 and 5.6.1. Obfuscated build logic reconstructs a precompiled malicious object from disguised test data and incorporates it into liblzma under selected build conditions. The implant manipulates symbol resolution to intercept cryptographic functions, primarily RSA_public_decrypt, during OpenSSH public-key authentication. On susceptible Linux systems where sshd loads the compromised library indirectly through libsystemd, specially crafted authentication input can trigger attacker-controlled command execution before authentication. The malicious build trigger was present in release artifacts but absent from the Git source distribution.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Successful exploitation enables unauthenticated remote command execution in the affected sshd process context, potentially with root privileges, compromising system confidentiality, integrity, and availability. The backdoor can subvert normal SSH authentication and selectively suppress or alter authentication logs, hindering investigation. Installing an affected XZ version does not alone establish that SSH exploitation is possible: the malicious build conditions and runtime dependency chain must also be present. The compromised releases primarily reached selected development, testing, and rolling Linux distributions rather than mainstream stable enterprise releases.
Mitigation
If you can’t patch tonight, do this now.
Until uncompromised packages can be installed, stop affected SSH services or isolate affected systems from untrusted networks. Inventory both XZ Utils and liblzma packages, including copies embedded in container images. Review authentication logs, process activity, and available file or memory detections for backdoor execution; logging can be manipulated, so absence of suspicious SSH records does not establish that a system is clean. Landlock sandboxing is not an established mitigation for the documented backdoor deployment path.
Remediation
Patch, then assume compromise.
Replace XZ Utils 5.6.0 and 5.6.1 and associated compromised liblzma packages with trusted, distributor-provided uncompromised builds. Identified rollback options include XZ Utils 5.4.x, such as 5.4.6; Debian provided the reverted package 5.6.1+really5.4.5-1. Follow distribution-specific recovery guidance rather than relying solely on the apparent upstream version number. Restart affected services or reboot after replacement so processes no longer retain the compromised library. Investigate systems on which affected packages were installed; if compromise is established or integrity cannot be verified, rebuild from trusted media and rotate exposed credentials and keys.
Exploits
5 exploits validated by Mallory's analysis. Hidden: 55 rejected by Mallory's analysis as not a working exploit; 3 not yet analyzed, such as Exploit-DB entries.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
References
Frequently asked questions
- Is CVE-2024-3094 exploited in the wild?
- Yes. As of Nov 28, 2026, Mallory has reports of exploitation in the wild.
- Is there a public exploit for CVE-2024-3094?
- Yes. Mallory tracks 5 public exploits or proofs of concept for CVE-2024-3094, the earliest disclosed Apr 1, 2024.
- Is there a patch for CVE-2024-3094?
- Replace XZ Utils 5.6.0 and 5.6.1 and associated compromised liblzma packages with trusted, distributor-provided uncompromised builds. Identified rollback options include XZ Utils 5.4.x, such as 5.4.6; Debian provided the reverted package 5.6.1+really5.4.5-1.
- What products are affected by CVE-2024-3094?
- Tukaani Xz.
- How severe is CVE-2024-3094?
- CVE-2024-3094 has a CVSS v3.1 score of 10.0 (Critical) and an EPSS score of 30.8% (99th percentile) as of Nov 28, 2026.
Recent activity
116 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.