A zero day is a software vulnerability that is unknown to the vendor and has no patch available at the time it is discovered or exploited. The term comes from the fact that developers have had "zero days" to fix the flaw. It is standard technical jargon in cybersecurity, not slang, and it is used both as a noun ("a zero day") and as an adjective ("a zero-day exploit"). In this article, you will learn exactly what a zero day is, how it works, where the term came from, and what it means for your smart home devices.

Origin of the Term

The phrase "zero day" dates back to the late 1980s and early 1990s in the hacking and software cracking community. Back then, it referred to a pirated copy of software that was released on the same day the official version came out — hence "zero day" — meaning it was available before anyone had time to crack it. Over time, the meaning shifted. By the late 1990s and early 2000s, security researchers began using "zero day" to describe a vulnerability that had not been publicly disclosed or patched. The "zero" now refers to the number of days the vendor has had to fix the issue, not the number of days since release.

In modern cybersecurity, the term is standard and formal. It appears in government reports, academic papers, and vendor security advisories. You will also see it in news headlines, but that does not make it slang — it is a precise technical term with a clear definition.

How a Zero Day Works

A zero day is not a single thing; it is a chain of events. Here is the typical lifecycle:

  1. Discovery: A security researcher, a hacker, or an intelligence agency finds a flaw in software. The flaw could be a buffer overflow, a logic error, or an insecure configuration.
  2. Exploit development: Someone writes a piece of code that takes advantage of the flaw to do something the software was not supposed to allow — like executing arbitrary commands or accessing protected data.
  3. Exploitation: The exploit is used against a target. This could be a large company, a government, or an individual. The attack may happen silently, with no visible effect until later.
  4. Disclosure or patch: Eventually, the vendor learns about the flaw — either through a researcher, a customer report, or after seeing the exploit in the wild. The vendor then develops and releases a patch. Until that patch is applied, the vulnerability remains a zero day.

It is important to understand that a zero day is not the same as a "zero-day attack." A zero day is the vulnerability itself. A zero-day attack is the act of exploiting it. The distinction matters because a vulnerability can exist for years without being exploited, and it is only called a zero day during the window between discovery and patch.

Zero Day vs. Known Vulnerability

The opposite of a zero day is a known vulnerability — one that has been publicly disclosed and has a patch available. The difference is not just about time; it is about risk. With a known vulnerability, you can protect yourself by applying the patch. With a zero day, there is no patch, so your only defense is to minimize the attack surface and hope the exploit is not targeting you.

There is also a middle category: a vulnerability that is known to the vendor but not yet patched. This is sometimes called a "one day" or "N-day" vulnerability. It is not a zero day because the vendor is aware of it, but it is still dangerous because the patch may not be ready. In practice, many attacks use N-days because they are easier to find and more widely known.

How Zero Days Are Found and Sold

Zero days are discovered in several ways:

  • Fuzzing: Automated tools throw random or malformed data at software to see if it crashes. A crash that can be controlled often leads to a zero day.
  • Code review: Manually reading source code (if available) or decompiling binaries to look for logic errors.
  • Reverse engineering: Analyzing how a program works to find weak points.
  • Accidental discovery: Sometimes a user or developer stumbles upon a bug that turns out to be exploitable.

Once found, a zero day can be used, sold, or disclosed. There is a legitimate market for zero days. Companies like Zerodium and other brokers pay researchers for exclusive exploits. Governments also buy them for offensive operations. On the other side, many researchers choose to disclose responsibly — they report the flaw to the vendor and wait a set period (often 90 days) before going public. This is called coordinated disclosure.

Zero Days in Smart Home Devices

Smart home devices are a common target for zero-day attacks because they are often less secure than computers and phones. Many smart cameras, routers, and hubs run on embedded Linux with outdated components. They may not have automatic updates, and some vendors stop supporting them after a year or two.

For example, a zero day in a smart camera's web interface could allow an attacker to view the video feed without credentials. A zero day in a router's firmware could let an attacker redirect your internet traffic or install malware on connected devices. The risk is real, but you can reduce it:

  • Keep all devices updated. Enable automatic updates if the vendor offers them.
  • Use a separate network for smart devices (like a guest network) so a compromised device cannot reach your main computers.
  • Disable remote access features you do not use, like UPnP or port forwarding.
  • Buy devices from vendors with a track record of security updates.

If a zero day is discovered in a device you own, the vendor may issue a patch. Until then, you can only reduce exposure. There is no way to fully protect against an unknown flaw, but good network hygiene limits the damage.

Common Misconceptions

There is a widespread myth that a zero day is always a catastrophic, world-ending exploit. In reality, many zero days are mundane. A zero day could be a way to crash a program (a denial of service) or a way to read a file you should not be able to read. It is not always remote code execution. The severity depends on the vulnerability, not on the label.

Another misconception is that zero days are rare. They are not. Researchers and vendors find them regularly. In 2021, for example, Google's Project Zero reported 58 zero-day vulnerabilities that were actively exploited in the wild. That is more than one per week. Many more are found but never exploited.

Some people also think that if a device is "smart" or "secure" by design, it cannot have zero days. That is false. Any software can have bugs. Even the most secure operating systems have had zero days. The difference is how quickly the vendor responds and how much damage the exploit can do.

How to Protect Yourself

You cannot prevent a zero day from existing, but you can make it harder for an attacker to use one against you. Here are practical steps:

  1. Update everything promptly. When a patch is released, apply it within a few days. Many attacks happen in the days after a patch because attackers know that most people delay.
  2. Use two-factor authentication (2FA) on accounts that support it. Even if an attacker steals your password via a zero day, they still need the second factor.
  3. Minimize the attack surface. Turn off features you do not need. For example, if your smart camera has a web interface that you never use, disable it.
  4. Segment your network. Put smart devices on a separate Wi-Fi network or VLAN. This contains a breach.
  5. Use a firewall. A good router firewall can block outbound connections from compromised devices.

If you are a more advanced user, you can also monitor vendor security advisories and subscribe to mailing lists. But for most people, the steps above are enough. Remember: a zero day is not a personal failure. It is a software bug. Your job is to be ready to patch when the fix arrives.

Frequently Asked Questions

Is a zero day the same as a zero-day exploit?

No. A zero day is the vulnerability itself. A zero-day exploit is the code that takes advantage of it. The media often conflate the two, but technically they are different. A zero-day exploit is the weapon; the zero day is the weakness it targets.

Can a zero day be fixed?

Yes, once the vendor learns about it and develops a patch. The term "zero day" only applies before the patch is available. After the patch, it becomes a known vulnerability. However, many devices never receive patches because the vendor stopped supporting them.

How do I know if my device has a zero day?

You cannot know. By definition, a zero day is unknown to the vendor and the public. If a vulnerability is publicly known, it is not a zero day anymore. You can only stay informed by checking vendor security advisories and news from reputable sources.

Are zero days illegal?

Discovering a zero day is not illegal. Selling it might be, depending on the buyer and the laws in your country. Using a zero day to break into a system without authorization is illegal in most places. Researchers often disclose vulnerabilities responsibly to avoid legal trouble.

Do antivirus programs protect against zero days?

Traditional antivirus that relies on known signatures does not catch zero days because there is no signature yet. Some advanced endpoint protection uses behavior monitoring and can block suspicious actions, but no solution is perfect. The best defense is patching and network segmentation.

What is a zero-day policy in a bug bounty program?

Many bug bounty programs define a zero day as a vulnerability that is not yet known to the vendor. They may offer higher rewards for zero days because they are more valuable. However, each program has its own rules about what counts and how quickly the vendor must respond.