The Internet Was Weeks Away From Disaster and No One Knew

The Internet Was Weeks Away From Disaster and No One Knew

February 25, 2026 53 min
📺 Watch Now

🤖 AI Summary

Overview

This episode unpacks a chilling story of how a single vulnerability in the Linux ecosystem—a cornerstone of global technology—nearly led to catastrophic consequences. It explores the origins of open-source software, the rise of Linux, and the intricate details of a sophisticated backdoor hack that could have compromised millions of systems worldwide. The narrative also delves into the ethical and structural challenges of open-source development, highlighting the human cost of maintaining critical software.

Notable Quotes

- I have spent my life building walls to divide people, and I would've been ashamed of my life.Richard Stallman, on why he founded the Free Software Foundation.

- Anything from spying, to ransom, to taking down entire countries—you could have done it with this backdoor.Henry, on the potential impact of the XZ hack.

- This backdoor, if anything, underlines the ethos of open source.Henry, defending the transparency of open-source software despite its vulnerabilities.

🖥️ The Birth of Open Source and Linux

- Richard Stallman founded the Free Software Foundation in 1985 to promote software freedoms: the ability to run, study, change, and share software.

- Stallman’s GNU Project laid the groundwork for a free operating system, but it lacked a kernel until Linus Torvalds contributed Linux in 1991.

- Linux’s adaptability and open-source nature allowed it to dominate diverse applications, from supercomputers to smartphones, and even critical infrastructure like nuclear submarines.

🔓 The XZ Compression Tool: A Hidden Weak Link

- XZ, a data compression tool created by Lasse Collin, became a critical dependency in Linux systems, including OpenSSH, the backbone of secure internet logins.

- Collin maintained XZ as an unpaid passion project for nearly two decades, but burnout and mental health challenges left the project vulnerable.

- A hacker, using the alias Jia Tan, exploited this weakness by infiltrating XZ with a backdoor designed to compromise OpenSSH indirectly.

🛠️ How the Backdoor Worked

- Jia Tan embedded malicious code into XZ’s binary test files, bypassing scrutiny by hiding it in seemingly harmless data.

- The backdoor exploited a precise timing vulnerability in Linux’s Global Offset Table (GOT) to hijack RSA authentication in OpenSSH.

- Jia’s meticulous design included encryption and safety checks to avoid detection, allowing him to gain root access to compromised machines.

🚨 Discovery and Fallout

- Andres Freund, a Microsoft developer, noticed a minor slowdown in Debian’s unstable release, leading him to uncover the backdoor.

- The exploit was removed before it could spread widely, but it highlighted the fragility of relying on unpaid volunteers for critical software.

- The incident sparked debates about the security of open-source software versus closed-source systems, with many arguing that transparency ultimately saved the day.

🌍 The Broader Implications

- Experts suspect the attack was state-sponsored, possibly linked to Russia or China, though the true identity of Jia Tan remains unknown.

- The hack underscored the systemic risks in open-source ecosystems, where critical projects often depend on a single overburdened maintainer.

- Despite the vulnerabilities, the open-source model’s transparency and community vigilance were credited with exposing and mitigating the threat.

AI-generated content may not be accurate or complete and should not be relied upon as a sole source of truth.

📋 Video Description

How a single hack infected the world’s most important operating system. Sponsored by NordVPN - Get exclusive NordVPN deal here: https://NordVPN.com/veritasium It’s risk free with Nord’s 30 day money-back guarantee!

If you’re looking for a molecular modelling kit, try Snatoms, a kit I invented where the atoms snap together magnetically - https://ve42.co/SnatomsV

Sign up for the Veritasium newsletter for weekly science updates - https://ve42.co/Newsletter

▀▀▀
0:00 The Free Software Foundation
5:03 Why is Linux so popular?
9:57 The XZ Weakness
12:07 End To End Encryption - SSH
18:40 How To Compress Data
23:47 How The .XZ Hack Worked
34:24 A Bug In Jia’s Code
38:27 Henry Hacks Derek
43:16 The Back Door Is Exposed
47:16 Who is Jia Tan?
50:33 Open Vs Closed Source

▀▀▀
A huge thank you to everyone who made this possible:

Rich Jones for his openness throughout this project.

Denzel Farmer for his incredible breakdown - https://youtu.be/Q6ovtLdSbEA?si=qlbcg6skR-BoS5z1

Karsten Nohl @hackingmatters, Yannis Hofmann, and Matthias Marx at SRLabs for their help throughout this project.

Fabian Fäßler @LiveOverflow Alex Schlögl and the rest of the Cure53 team for their technical insights on the project.

Tom Scott, and Computerphile for their excellent videos on compression.

Josh at @breakfastserial for the filming inspiration.

Planet Money for a podcast that helped inform our research and @fern-tv for inspiration.

Thomas Roccia for his technical feedback on the video. And Ed at @LowLevelTV for helping out early on!

▀▀▀
References: https://ve42.co/XZHackRefs

▀▀▀
Special thanks to our Patreon supporters: Adam Foreman, Albert Wenger, Alex Porter, Alexander Tamas, Anton Ragin, armedtoe, Balkrishna Heroor, Bertrand Serlet, Blake Byers, Bruce, Charles Ian Norman Venn, Daniel Martins, Data Don, Dave Kircher, David Johnston, David Tseng, EJ Alexandra, Evgeny Skvortsov, Garrett Mueller, Gnare, gpoly, Hayden Christensen, Hong Thai Le, Ibby Hadeed, Jeromy Johnson, Jesse Brandsoy, Jon Jamison, Juan Benet, Kelcey Steele, KeyWestr, Kyi, Lee Redden, Marinus Kuivenhoven, Mark Heising, Martin Paull, Meekay, meg noah, Michael Krugman, Moebiusol - Cristian, Orlando Bassotto, Parsee Health, Paul Peijzel, Richard Sundvall, Robson, Sam Lutfi, Shalva Bukia, Sinan Taifour, Tj Steyn, Ubiquity Ventures, Vahe Andonians, wolfee

▀▀▀
Writer, Director & Producer: Henry van Dyck
Presenters: Derek Muller & Henry van Dyck
Editor: Trenton Oliver
Animators: Fabio Albertelli, Domonkos Józsa, Andrew Neet, Alex Drakoulis & Emma Wright
Illustrators: Jakub Misiek & Nataly Zhuk
Researchers: Aakash Singh Bagga & Sophia Rose
Additional Editing: James Stuart & Peter Nelson
Thumbnail Designers: Abdallah Rabah, Ren Hurley, Ben Powell & Henry van Dyck
Production Team: Josh Pitt, Matthew Cavanagh, Anna Milkovic, Katy Southwood & Jess Bishop-Laggett
Executive Producers: Derek Muller & Casper Mebius

Additional video/photos supplied by Getty Images & Storyblocks
Music from Epidemic Sound