Digital Defenders

Famous vulnerabilities · 15

xz Utils backdoor (CVE-2024-3094)

A two-year con to backdoor Linux, caught because SSH logins got a little slower.

  • CVE CVE-2024-3094
  • CVSS 10.0
  • Disclosed 29 Mar 2024
  • Affected xz 5.6.0 and 5.6.1
  • Exploited none known
2021 to 2023"Jia Tan" builds trustand gains maintainerrightsFeb 2024xz 5.6.0 / 5.6.1tarballs hide abuild-time injectorliblzma backdooredreaches sshd through adistro systemd patchAttacker's keyonlyremote root on x86-64LinuxCaught 29 March 2024Andres Freund noticed slow, CPU-hungry SSH logins and Valgrind errorsMostly in development builds (Debian dev, Fedora Rawhide). No known exploitation.
2021 to 2023"Jia Tan" builds trust and gains maintainerrightsFeb 2024xz 5.6.0 / 5.6.1 tarballs hide a build-timeinjectorliblzma backdooredreaches sshd through a distro systemd patchAttacker's key onlyremote root on x86-64 LinuxCaught 29 March 2024Andres Freund noticed slow, CPU-hungry SSHlogins and Valgrind errorsMostly in development builds (Debian dev,Fedora Rawhide). No known exploitation.
Diagram: xz backdoor

xz Utils is a compression tool and library (liblzma) found on almost every Linux system. From 2021, someone using the name “Jia Tan” made helpful contributions while sock-puppet accounts pressured the original maintainer to hand over more control. Jia Tan became a maintainer, and in February 2024 released versions 5.6.0 and 5.6.1 with a hidden backdoor.

The trick was in the build, not the code people review. Malicious test files sat in the repository, and a modified build script that existed only in the release tarballs injected them into liblzma. Several distributions patch OpenSSH to work with systemd, which loads liblzma, so the backdoor ended up inside the SSH server. Anyone holding the attacker's private key could then take control of x86-64 Linux systems remotely.

It was caught before reaching stable releases. Andres Freund, a Microsoft engineer, noticed SSH logins on a Debian development system using unusual CPU and causing Valgrind errors, dug in, and disclosed it on 29 March 2024. Distributions rolled back, and there is no known exploitation. The lesson: what you build is not always what you reviewed, and overworked open-source maintainers are part of your attack surface.

Discovery and response

A threat actor spent two years to implement a Linux backdoorTechRepublic on the Jia Tan timeline and how the backdoor worked.techrepublic.com ↗ Backdoor found in XZ utilities used by many Linux distrosHelp Net Security's report on the day of disclosure.helpnetsecurity.com ↗
Sources

Updated on 12 Nov 2026