XZ UTILS
CVE-2024-3094
JIA TAN
SSHD
BreachSupply ChainOpen SourceOctober 12, 2026•9 min read

The XZ Utils Backdoor: The Supply-Chain Attack Caught by 500 Milliseconds

A two-year campaign of patience and trust-building nearly put a stealthy SSH backdoor on millions of Linux systems, and it was caught almost by accident.

Scroll

In March 2024 a deliberately planted backdoor was discovered in XZ Utils (the xz/liblzma compression library ubiquitous on Linux). A long-tenure maintainer persona, “Jia Tan,” who had spent more than two years building trust and gaining release authority, inserted obfuscated malicious code hidden in test-fixture binaries and triggered through the source-tarball build process, code not visible in the Git tree. On affected systems where sshd links liblzma, the backdoor hooked RSA key verification to allow an attacker holding a specific private key to achieve pre-authentication remote code execution.

The Near-Miss

CVE-2024-3094 (CVSS 10.0) covers the malicious backdoor in liblzma 5.6.0 and 5.6.1. Microsoft engineer Andres Freund noticed roughly 500-millisecond sshd slowdowns and odd CPU use while benchmarking, investigated, and disclosed it on 29 March 2024, before the backdoored versions reached most stable distributions. Because there was no known in-the-wild exploitation, it is understood not to be CISA KEV-listed (a near-miss, not an incident). T1195.002 T1554 T1205

Timeline

Attribution

No confirmed named individual or state. “Jia Tan” is a persona; reporting widely assesses the multi-year patience, sophistication and operational discipline as consistent with a well-resourced, possibly state-sponsored actor, but this is an assessment, not confirmed attribution. There was no extortion model: the objective was covert, persistent backdoor access to a vast base of SSH-exposed Linux systems.

Defensive Lessons

Defend Your Software Supply Chain

Mjolnir Security helps organisations build SBOM, dependency and build-pipeline defences.

Supply Chain SecurityManaged Detection & ResponseThreat HuntingSecure DevelopmentIncident Response
  • Supply Chain Security Review Building SBOM, dependency pinning and build-provenance controls.
  • Threat Hunting as a Service Hunting for anomalous behaviour from trusted software.
  • 24/7 Incident Response Containment when a supply-chain compromise is suspected. Call +1 833 403 5875.
Written by: Mjolnir Security Intelligence Analyst  |  Published: October 12, 2026  |  Last reviewed: October 12, 2026