Advisories · Linux & SSH
CVE-2024-3094
Critical
CVSS 10.0
XZ Utils liblzma supply-chain backdoor
Disclosed 2024 · Last reviewed 2 Dec 2026
Malicious build scripts in xz 5.6.0 and 5.6.1 could alter liblzma so that a patched OpenSSH linked against systemd notified the backdoor during public-key authentication.
What happened
A long-running supply-chain change added obfuscated files to the release tarball. Those files were not the same as the git tree used by most reviewers.
Affected and patched versions
- Affected
- xz 5.6.0 and 5.6.1, as shipped briefly in Debian testing/sid, Fedora rawhide, and related rolling releases in March 2024.
- Patched
- Roll back to the distribution 5.4.x package. 5.6.0 and 5.6.1 are the backdoored releases.
How to check your server
Check
xz --version
How to fix and harden
- If the version is 5.6.0 or 5.6.1, treat the host as untrusted until xz is replaced.
- Install the distribution package from the security repository. The safe line for the affected rolling releases was 5.4.x, not a newer 5.6 package.
- Restart sshd after the library on disk is the clean build.
- Prefer images and AMIs built after the distribution rollback.
Fix
xz --version apt-cache policy xz-utils
Sources
Version ranges and fixes follow the vendor advisory. When a distribution backports a fix, trust its security tracker over the upstream version number. New advisories: RSS · JSON