What Is a Zero Day and Why You Cannot Patch Your Way Out of It

A zero day is a security flaw that nobody knew about until someone used it. There is no patch, because there was nothing to patch. There is no warning, because nobody knew to warn you. The name comes from the fact that developers have had zero days to fix it. A zero day attack is the most dangerous kind of attack precisely because the usual defense, install the update, does not exist yet. And the honest truth is that you cannot patch your way out of it. You need defenses that work even when the flaw is unknown.

Most vulnerabilities follow a familiar pattern. Someone finds a flaw, the vendor is told, a fix is written, and users install it. The whole system depends on the flaw being known before it is used. A zero day breaks that pattern. The attacker finds the flaw first, keeps it secret, and uses it before anyone else knows it exists. The vendor learns about it only after the damage is done. That is why zero days are so valuable. Governments and criminal groups pay large sums for them, and the best ones stay secret for years.

Famous cases

Stuxnet, discovered in 2010, is the most widely known zero day attack in history. It targeted industrial control systems in Iran and used several zero day flaws in Windows to spread and to hide. It was precise, it was sophisticated, and it stayed hidden for a long time. Most zero days are not that dramatic, but Stuxnet showed the world what was possible when an attacker had unknown flaws and a specific target.

In December 2021, a flaw called Log4Shell was disclosed in a widely used Java logging library called Log4j. It was not a zero day for long, but in the first days after disclosure, before most companies had patched, it was effectively one. Attackers scanned the entire internet for vulnerable systems within hours. The library was buried inside thousands of applications, many of which companies did not even know they were running. The incident became a textbook example of how a single flaw in shared code can put almost everyone at risk at once.

In 2023, the criminal group Clop exploited a zero day flaw in MOVEit, a file transfer tool used by thousands of organizations. They stole data from hundreds of companies and government agencies before the flaw was publicly known. The attack worked because MOVEit was trusted, widely deployed, and sitting in a place where it could reach sensitive files. It was a reminder that the most dangerous zero days are not in obscure software. They are in the tools everyone uses.

Why you cannot patch your way out

Patching is essential, but it is not a complete defense against zero days, because patching only works after the flaw is known. Between the day an attacker starts using a zero day and the day a patch is available, there is a gap, and during that gap the only thing protecting you is the rest of your security. If the attacker gets in through a zero day in your email server, what stops them from reaching your file server? What stops them from stealing your customer data? What even tells you they are there? If the answer to all three questions is nothing, then a zero day is a disaster waiting for a date.

This is why security professionals talk about defense in depth. No single defense is enough, because every defense has a flaw somewhere. The goal is to stack defenses so that breaking one does not mean breaking everything. A zero day gets the attacker through the front door. Segmentation stops them from walking through the whole building. Least privilege stops them from opening the safe. Monitoring tells you someone is inside. Backups let you recover. Each layer buys time, and time is what lets you respond.

What actually helps

First, separate your networks. Your most important systems should not be reachable from the systems that face the internet. If your public website gets compromised, the attacker should hit a wall before they reach your customer database. Segmentation is unglamorous work, but it is the single most effective defense against an attacker who is already inside.

Second, give people and systems the least access they need to do their jobs. An employee who only needs to read invoices should not have the ability to delete the database. A service account that only needs to send email should not have access to the file server. Least privilege limits the damage when any account is compromised, zero day or not.

Third, watch for unusual behavior. A zero day attack still has to do things: move files, connect to strange servers, access data at odd hours. Monitoring that flags unusual behavior can catch an attack even when no known signature exists. You do not need the most expensive monitoring platform. You need logs that someone actually reads, and alerts that go to a person who will act on them.

Fourth, patch fast when the fix lands. The gap between disclosure and patching is when most of the damage happens. Attackers know that many companies take weeks to patch, so they work quickly. If you patch critical flaws within 48 hours, you close that window for most attackers.

How zero days get found and sold

Zero days come from several places. Security researchers find them while testing software, and most report them to the vendor for a bounty. Bug bounty programs pay researchers for responsibly disclosed flaws, and the payments can be substantial. Some researchers sell their findings to brokers instead. Brokers buy zero days, keep them secret, and resell them to governments and other buyers. Publicly advertised bounties from brokers have reached into the millions of dollars for flaws in widely used mobile and desktop software. That price tells you how valuable an unknown flaw is.

Governments are also buyers. Some use zero days for intelligence gathering and law enforcement. Others stockpile them. Criminal groups find their own, often by studying the patches vendors release, because a patch tells an attacker exactly where the flaw was, and unpatched systems stay vulnerable until they update. That is why patching quickly matters so much. The day a patch is released is the day every unpatched system becomes a known target.

Most zero days will never touch your company. The expensive ones are saved for high value targets. But the ones that leak into criminal hands, like the MOVEit flaw, can hit thousands of organizations at once. You cannot control who buys a zero day. You can control how much damage it does when it arrives, and that comes back to the same defenses: segmentation, least privilege, monitoring, and backups.

There is one more source worth knowing about. Sometimes a zero day is not found at all. It is created by accident, when a software update introduces a new flaw, or when a configuration change exposes something that was previously hidden. These flaws are discovered by attackers scanning for them, and they are fixed only when someone notices. The lesson is that even good software has unknown flaws in it right now. That is not a reason to despair. It is a reason to build defenses that do not depend on every flaw being known.

Zero days are real, and they are scary. But they are not an excuse to give up. The defenses that stop a zero day are the same defenses that stop every other attack: segmentation, least privilege, monitoring, backups, and fast patching. Build those, and a zero day becomes a bad day instead of a catastrophe.