Skip to main content
Mallory
← Back to News
vendor-distribution-compromisebuild-pipeline-compromiseopen-source-dependency-vulnerabilitypersistence-method

Backdoored XZ Utils Releases Threatened SSH Access on Linux Systems

Supply Chain Risk · 26 sources · Updated 5mo ago · First seen Jun 12, 2024

Backdoored XZ Utils Releases Threatened SSH Access on Linux Systems

A malicious supply-chain backdoor was discovered in XZ Utils versions 5.6.0 and 5.6.1, tracked as CVE-2024-3094, after PostgreSQL developer and Microsoft engineer Andres Freund investigated unusual CPU behavior and traced it to liblzma. The tampering was hidden in release tarballs rather than plainly visible in the main Git repository, using an obfuscated M4 macro during the build process to generate second-stage artifacts that altered library behavior. Researchers and vendors said the poisoned build could interfere with OpenSSH authentication through systemd, creating a path for unauthorized remote access to affected Linux systems.

Red Hat said Red Hat Enterprise Linux was not affected, but compromised packages reached Fedora Rawhide and Fedora Linux 40 beta, prompting urgent downgrade and rollback guidance to safe 5.4.x releases; Fedora 40 reportedly did not show successful execution of the injected code. Reports also said the malicious build succeeded in Debian unstable (Sid), appeared in a Debian beta branch, affected several openSUSE distributions, and was noted by Kali Linux, while stable Debian releases were not known to be impacted. The incident was widely described as a near-catastrophic attack on Linux infrastructure, with scrutiny falling on maintainer account Jia Tan / JiaT75 and an apparent long-running social-engineering effort to gain influence over the project.

Why it matters

Impact assessment

CVE-2024-3094 is a critical supply-chain compromise in XZ Utils/liblzma that created a potential pre-authentication path to unauthorized SSH access on affected Linux systems. Exposure was concentrated in rolling, unstable, testing, and pre-release distributions rather than mainstream stable enterprise releases, but the affected component is foundational and broadly deployed across Linux ecosystems.

Affected populations and products

  • Affected software: XZ Utils/liblzma versions 5.6.0 and 5.6.1.
  • Potentially affected access path: OpenSSH authentication on systems where sshd interacted with libsystemd and liblzma in vulnerable distro-specific builds.
  • Confirmed exposed distributions from the references:
    • Fedora Rawhide
    • Fedora Linux 40 beta
    • Debian unstable (Sid)
    • Debian testing/experimental or beta branches
    • openSUSE Tumbleweed and several openSUSE distributions
    • Kali Linux during a limited update window
    • Arch Linux issued an advisory/reversion
  • Not affected per vendor statements:
    • Red Hat Enterprise Linux
    • SUSE Linux Enterprise
    • openSUSE Leap
    • SLE BCI
    • SUSE Rancher
    • SUSE Edge
    • SUSE Liberty Linux

Severity and business risk

  • Severity is critical; one reference cites CVSS 10.0.
  • Successful exploitation could enable authentication bypass, unauthorized remote access, and possibly remote code execution in a pre-authentication SSH context.
  • Business impact includes server compromise, lateral movement risk, service disruption from emergency rollback, and reputational damage tied to software supply-chain trust.

Scope and exploitation status

  • Scope appears limited compared with worst-case potential because the malicious releases were caught before broad adoption into stable distributions.
  • Exposure was widespread across multiple Linux ecosystems but concentrated in fast-moving branches rather than stable production channels.
  • The references describe the backdoor as capable of exploitation, but do not provide confirmed public incidents of successful in-the-wild compromise of victim environments.
Does this reach your builds?Trace attribution and downstream blast radius.
Trace the chain
Event timeline

How this story unfolded

Events from the most recent confirmed update back to the earliest known activity.

12 events · Feb 7, 2022 – Jun 12, 2024
  1. Jun 12, 20242y ago

    Research repository publishes technical analysis of xz malware

    A GitHub repository titled 'xz-malware' was published collecting material discovered during analysis of the malware hidden in xz Utils 5.6.0 and 5.6.1. The release added publicly accessible technical details to support deeper investigation of the backdoor.

    GitHub - karcherm/xz-malware: Stuff discovered while analyzing the malware hidden in xz-utils 5.6.0 and 5.6.1 · GitHub
  2. Apr 26, 20243y ago

    GitHub scanner released to detect distro exposure to xz backdoor

    A GitHub repository named 'distro-backdoor-scanner' was published to help identify Linux distribution systems exposed to the xz backdoor issue. The release added a practical detection tool for administrators and researchers responding to CVE-2024-3094.

    GitHub - hlein/distro-backdoor-scanner · GitHub
  3. Apr 2, 20243y ago

    Reporting links malicious changes to Jia Tan and a long-term trust campaign

    Subsequent analysis attributed the malicious changes to the maintainer account JiaT75, also known as Jia Tan, and described a prolonged social-engineering effort to gain influence over the project. Additional likely fake identities were reported to have pressured original developer Lasse Collin to hand over more control.

  4. Mar 30, 20243y ago

    Red Hat reiterates impact details and urges system audits

    Red Hat later reiterated that the malicious code was hidden in distribution tarballs rather than plainly in the main Git repository, and that Fedora 40 beta had received compromised packages without evidence of successful payload execution. The company urged administrators to audit systems for xz 5.6.0 and 5.6.1 and downgrade immediately.

  5. Mar 29, 20243y ago

    Arch Linux issues advisory on backdoored xz package

    Arch Linux published an official notice warning that the xz package had been backdoored following disclosure of CVE-2024-3094. The advisory added Arch Linux to the set of distributions publicly responding to the incident and provided distribution-specific guidance for users.

    Arch Linux - News: The xz package has been backdoored
  6. Mar 29, 20243y ago

    CISA issues advisory as concern grows over attacker sophistication

    Following public disclosure, CISA issued an advisory on the xz backdoor as researchers and vendors assessed the scope of the compromise. Reporting noted concern that the operation may have involved a highly sophisticated or nation-state-linked actor.

  7. Mar 29, 20243y ago

    Red Hat warns users and begins reverting Fedora packages

    Red Hat issued a critical warning that Fedora Rawhide and Fedora Linux 40 beta contained compromised xz packages, advised immediate downgrades to safe 5.4.x versions, and said Rawhide would be reverted. Red Hat also stated that Red Hat Enterprise Linux was not affected.

  8. Mar 29, 20243y ago

    CVE-2024-3094 is assigned to the xz supply-chain compromise

    The malicious xz backdoor was assigned CVE-2024-3094 and reported with a critical severity, reflecting the risk of SSH authentication bypass and remote compromise on affected systems. Public reporting described the issue as a severe supply-chain attack on Linux infrastructure.

  9. Mar 29, 20243y ago

    Andres Freund discovers and publicly discloses the xz backdoor

    On 2024-03-29, Andres Freund identified abnormal CPU usage and traced the issue to liblzma, then disclosed the malicious backdoor publicly on the OpenWall security mailing list. His investigation exposed the compromise in xz 5.6.0 and 5.6.1.

  10. Mar 29, 20243y ago

    Compromised xz packages reach testing and rolling Linux distributions

    Affected xz packages were introduced into Fedora Rawhide, Fedora Linux 40 beta, Debian unstable (Sid), Kali Linux, and some openSUSE distributions. Stable Debian releases and Red Hat Enterprise Linux were reported as not known to be affected.

  11. Mar 29, 20243y ago

    Backdoored xz 5.6.0 and 5.6.1 releases are distributed

    Malicious code was inserted into xz Utils versions 5.6.0 and 5.6.1 via obfuscated build-time content in release tarballs, creating a supply-chain backdoor that altered liblzma behavior. The backdoored builds could interfere with OpenSSH authentication through systemd and potentially enable unauthorized remote access.

  12. Feb 7, 20225y ago

    Jia Tan begins long-term effort to gain trust in xz project

    Before the malicious 2024 releases, the actor using the Jia Tan identity cultivated trust and increased influence within the xz project through sustained participation and social pressure around project maintenance. This preparatory access-building phase set the stage for the later insertion of the backdoored release artifacts.

    research!rsc: Timeline of the xz open source attack
Linked entities

Related entities

Vulnerabilities, threat actors, malware, products, organizations, and breaches Mallory has linked to this story.

Open in app →

Vulnerabilities

1 linked

Affected products

5 linked
OpensuseOpensuseArch LinuxOpensuse TumbleweedDebian

Organizations

2 linked
Offensive SecurityDebian Project
Do you run this?See attribution and downstream blast radius, and whether this package or vendor reaches your builds.
Trace the Supply Chain
Mallory platform

See the full picture, correlated to your attack surface.

This page covers what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which threat actors are using it right now, and what to deploy next.

Exposure mappingMap indicators from this story to your assets and identify affected systems in minutes.
Threat actor evidenceEvery observed campaign, victim, and pivot linked to actors named in this story.
Associated malwareMalware, exploits, and IOCs connected to the activity described here.
Detection signaturesYARA, Sigma, and Snort rules deployed to your SIEM as soon as they’re published.
Scheduled alertsGet matching new stories delivered to your team as they break, not the next morning.
AI threadsAsk questions about this story and take action on the answers.