Zero-Day: What It Is, How It Works, and How to Defend Yourself (2026)

What is a zero-day attack? Learn what zero-day vulnerabilities and exploits mean, the differences between n-day and CVE, real-world examples, and how to defend yourself in 2026.
- Posted on 2026-10-09
- Reading time: 7 min
Zero-Day: What is a Zero-Day Vulnerability? #
A zero day (or zero-day , also written 0day ) isn't just a simple attack; it's a specific security vulnerability exploited by attackers before the software vendor has released a patch. The name comes from the fact that those defending against it have had zero days to prepare: the problem is already in someone's hands and there's no official fix yet.
Zero-days are rare compared to known vulnerabilities, but they are among the most valuable tools for espionage, ransomware, and spyware. In 2025, the Google Threat Intelligence Group tracked 90 actively exploited ones, nearly half of them against enterprise technologies.
Zero day meaning: why is it called that? #
“Zero day” refers to the time defenders have between the time a vulnerability is exploited or made public and the time a patch exists: zero days.
Simple example: Imagine a lock with a flaw that only a burglar knows about. The manufacturer doesn't know it exists, so there's no update. The burglar breaks into every home with that lock until someone discovers the problem. That's the zero-day window.
Definitions vary slightly. For Google, a zero-day is a vulnerability exploited maliciously before a public patch exists. In other contexts, the term is also used for vulnerabilities not yet known to the vendor. In practice, the concept is the same: no fix available.
Zero-Day, Exploit, and Zero-Day Attack: Differences #
These three terms are constantly confused:
| Appointments | What is |
|---|---|
| Zero-day vulnerability | The defect in the software or hardware, not yet corrected |
| Zero-day exploit | The code or technique that exploits that flaw |
| Zero-day attack | The actual use of the exploit against a real target |
A vulnerability can exist for years without anyone exploiting it. It becomes a real problem when someone develops an exploit and uses it.
How a zero-day attack works #
The typical life cycle is this:
| Phase | What happen |
|---|---|
| 1. The defect arises | A bug gets into the code, often years before it's found |
| 2. Someone finds out | A researcher, attacker, or broker finds the vulnerability |
| 3. The exploit is born | Code is written to exploit it reliably |
| 4. Exploitation | The exploit is used against real targets, often in a targeted and silent manner. |
| 5. Discovery of the attack | A defender, vendor, or researcher notices the anomalous activity |
| 6. Patch | The manufacturer releases the fix |
| 7. Become n-day | The vulnerability is known and fixed, but those who do not update remain exposed |
The crucial point is phase 4: the attack occurs before traditional defense systems, which rely on signatures of already known threats, have anything to recognize.
In a Cyber Kill Chain , zero-days are typically used in the exploitation and installation phases: they are a way to gain entry, execute code, or escalate privileges without being noticed.
Zero-Day vs. N-Day: What's the Difference? #
An n-day is a vulnerability that's already known and for which a patch exists, but hasn't yet been applied. The practical difference is enormous:
- against one zero-day you can't update, because there is no patch;
- against a n-day the defense exists, and it is called updating.
Many real-world attacks exploit known, unpatched vulnerabilities. This is why good patch management is often more effective than any zero-day tool.
Who discovers and uses zero-days #
There is a real market around zero-days, both legal and illegal:
- Security researchers: they find them and report them to the manufacturer (responsible disclosure), often through bug bounty programs.
- Producers: Internal vendor teams find and fix bugs.
- Brokers and trade surveillance companies: They buy or develop exploits and sell them to governments or clients.
- State spy groups: they use them for targeted operations.
- Criminal groups: they use them for extortion and ransomware, although more rarely.
Data from the Google 2025 report shows how the picture has changed:
| Data 2025 | Value |
|---|---|
| Zero-days exploited in the wild | 90 (78 in 2024, 100 in 2023) |
| Against enterprise technologies | 43, 48%: an all-time high |
| Against operating systems | 39, 44% |
| Against browser | less than 10% |
| Zero-day on mobile devices | 15 (9 in 2024) |
| Zero-days used by groups with economic purposes | 9 |
Of the 42 zero-days attributed to a specific actor, 15 were from commercial surveillance companies and 12 from state groups: for the first time, the former outnumbered the latter. Translation: tools that were once intelligence stuff are now being bought.
The most important trend for defenders is another: attackers are moving towards edge devices and enterprise products (firewalls, VPNs, routers, security appliances), which often don't have EDR installed and where an intrusion can remain undetected for a long time. The full report is on the Google Threat Intelligence blog.
Famous Zero-Days: Real-World Examples #
| Case | Year | What happened |
|---|---|---|
| Stuxnet | 2010 | Malware targeting Iranian nuclear facilities, which exploited multiple Windows zero-days (usually four are cited) |
| FORCEDENTRY (CVE-2021-30860) | 2021 | Feat zero click on iMessage used by NSO Group's Pegasus spyware, discovered by Citizen Lab |
| Log4Shell (CVE-2021-44228) | 2021 | Apache Log4j RCE vulnerability widely exploited within days of disclosure |
| MOVEitTransfer (CVE-2023-34362) | 2023 | SQL injection exploited by the Cl0p group to steal data from hundreds of organizations, before the patch |
| Oracle E-Business Suite (CVE-2025-61882) | 2025 | Zero-day exploited against Oracle customers in Cl0p-related extortion campaigns |
Note that recent examples are almost all enterprise software exposed on the Internet , not the typical home PC.
Zero-Day in 2026: Recent Cases #
Updated October 3, 2026. Two cases from September show how they work today:
- Chrome: On September 3, 2026, Google released an emergency patch for CVE-2026-85046, a type confusion in the V8 engine actively exploited. It is Chrome's sixth zero-day of 2026, and the day after CISA added it to the KEV catalog.
- Windows: Patch Tuesday on September 8, 2026 fixed two zero-days exploited in the wild, CVE-2026-85880 (Windows ALPC) and CVE-2026-81963 (Windows Update Stack), both of privilege escalation local to SYSTEM. These are the type of bugs that an attacker uses after to have entered, to take total control of the machine (see privilege escalation on Windows ).
The common thread: widely available components, out-of-cycle emergency patches, and rapid inclusion in the KEV catalog. Details change weekly: always check the vendors' official sources.
Zero-Day and CVE: What's the Difference? #
A CVE ( Common Vulnerabilities and Exposures ) is a unique public identifier assigned to a vulnerability, in the format CVE-YEAR-NUMBER. A vulnerability can be exploited as a zero-day and receive a CVE later , when it is analyzed and fixed. But having a CVE doesn't mean it was a zero-day: the vast majority of CVEs involve vulnerabilities found and fixed without ever being exploited before the patch.
To find out if a CVE has been actively exploited, check the CISA KEV catalog, which you can see below.
How to Defend Against a Zero-Day Attack: Patching, Mitigation, and Detection #
You can't block a vulnerability no one knows about, but you can reduce the likelihood of its exploitation and limit the damage if it does happen. The sequence is: mitigation now (if the vendor specifies it), patching as soon as it's released, compensating controls in the meantime (segmentation, WAF, least privilege), and continuous detection to detect an intrusion.
| Size | Why it helps |
|---|---|
| Reduce the attack surface | Fewer exposed services, fewer targets. If it's not useful on the Internet, it doesn't go on the Internet. |
| Quick Patches | When zero-day becomes n-day, the risk window closes only if you upgrade immediately |
| Prioritize the KEV catalog | Exploited vulnerabilities must be fixed before others. |
| Network segmentation | An intrusion must not be able to reach everything |
| Minimum privileges | The fewer privileges a compromised account has, the less damage it does. |
| EDR and monitoring | They detect anomalous behavior even without a known signature |
| Protection of on-board devices | Logs, updates and monitoring also for firewalls, VPNs and appliances |
| WAF and virtual patching | They mitigate a network-level exploit while you wait for the patch |
| Tested and isolated backups | If ransomware hits, you can start over |
| Incident response plan | Knowing who does what, and when, reduces reaction times |
A traditional signature-only antivirus won't stop a previously unseen zero-day. Solutions that observe process and file behavior have more capabilities, but they're not foolproof.
Two practical checks #
The CISA KEV catalog lists vulnerabilities confirmed to be actively exploited. You can download it and view the latest additions from a terminal:
curl -s https://www.cisa.gov/sites/default/files/feeds/known_exploited_vulnerabilities.json \
| jq -r '.vulnerabilities | sort_by(.dateAdded) | reverse | .[:10][] | "\(.dateAdded) \(.cveID) \(.vendorProject) \(.product)"'Then check if your systems are up to date. On Windows (PowerShell), latest patches installed:
Get-HotFix | Sort-Object InstalledOn -Descending | Select-Object -First 5On Debian/Ubuntu, pending updates:
apt list --upgradableTo see what you've exposed on the Internet, just like an attacker would, you can start with Shodan . If a service with a known vulnerability is accessible from the outside, someone will find it.
Zero-day and offensive security #
Red team and penetration testers typically work with known vulnerabilities: a pentest is designed to uncover misconfigurations, missing patches, and attack paths, not to discover zero-days. Tools like Metasploit collect exploits for vulnerabilities that are already public.
Finding zero-days is a different activity, called vulnerability research : code analysis, reverse engineering, fuzzing. When someone legitimately finds one, the standard practice is responsible disclosure : reporting it to the vendor and allowing a reasonable time to fix it before publishing the details (many teams use a deadline of around 90 days).
From a regulatory perspective, good vulnerability management and patching times are a concrete requirement of the NIS 2 Directive and fall within the security measures of Article 32 of the GDPR.
Zero-day FAQs #
What is a zero-day? #
A vulnerability exploited by attackers before the vendor released a patch. The name suggests that defenders had zero days to prepare.
Why is it called zero day? #
Because the time between the discovery of the attack or flaw and the availability of a fix is zero: there is no patch yet.
What is a zero-day attack? #
It's the use of an exploit against a vulnerability that hasn't yet been patched. It's often targeted and silent, and can go undetected for a long time.
What is the difference between zero-day and n-day? #
Zero-day is not yet patched. N-day is a known and already patched vulnerability, but not yet applied to vulnerable systems.
Can a zero-day be prevented? #
You can't prevent a vulnerability no one knows about, but you can reduce risk with less exposed surface area, segmentation, least privilege, monitoring, and rapid patching as soon as the fix is released.
Does an antivirus stop zero-days? #
Not those based solely on signatures, because there's nothing to recognize. Behavior analysis tools (EDR) have more capabilities, but they don't guarantee complete protection.
Who uses zero-days? #
State espionage groups, commercial surveillance companies, and, more rarely, criminal groups. In 2025, surveillance companies surpassed state groups among attributed zero-days for the first time.
How many zero-days are exploited each year? #
According to Google, 90 were tracked in 2025, 78 in 2024, and 100 in 2023.
What is a CVE? #
A unique public identifier for a known vulnerability, in the format CVE-YEAR-NUMBER. Not all CVEs are zero-days; only those exploited before the patch was available are.
What is the CISA KEV catalog? #
The list of vulnerabilities confirmed to be actively exploited is available on the CISA website and is a good guideline for deciding which vulnerabilities to fix first.








