Zero-day

On this page 7

A zero-day is a software or hardware vulnerability that is unknown to the vendor, or known but not yet fixed, at the moment attackers can exploit it. In cybersecurity, the name refers to the defenders’ position: they have had zero days to prepare a patch, so ordinary update processes offer no protection.

The term is used for three related things that are worth separating: the zero-day vulnerability itself, the zero-day exploit that weaponizes it, and the zero-day attack in which the exploit is used against real targets. Within the topic of vulnerabilities, a zero-day is defined by timing and knowledge, not by a particular type of flaw.

The lifecycle of a zero-day vulnerability

Every vulnerability moves through a sequence of events, and the zero-day period is the window between the moment someone can exploit the flaw and the moment a fix is available and applied. The length of that window determines the risk.

StageWhat happensDefender position
IntroductionFlaw enters code or designUnaware
DiscoveryResearcher or attacker finds itUnaware
Exploitation in the wildAttackers use it against targetsZero-day exposure
Vendor awarenessReport or detected attack reaches vendorMitigation may be possible
Public disclosureAdvisory and CVE identifier publishedPatch or workaround expected
Patch releaseFix becomes availableWindow starts to close
Patch deploymentSystems are updatedExposure ends for patched systems
Stages in the life of a vulnerability

Once a patch exists, the flaw is technically no longer a zero-day, but unpatched systems remain exposed. Attackers often reverse-engineer patches within days, so the period immediately after disclosure, sometimes called n-day exploitation, can be as dangerous as the original zero-day phase.

Zero-day describes when a flaw is exploitable relative to its fix, which makes it orthogonal to most other vulnerability terms. The table shows how it relates to its neighbors in the topic.

TermWhat it describesRelation to zero-day
CVEPublic identifier for a known vulnerabilityAssigned at or after disclosure
CVSSSeverity score from 0.0 to 10.0Rates impact, not whether a fix exists
CWECategory of weakness, such as a buffer overflowDescribes the root cause type
RCERemote code execution impactCommon and most valuable zero-day impact
Privilege escalationGaining higher permissionsOften chained after an initial zero-day
N-dayKnown flaw with an available patchWhat a zero-day becomes after the fix
Zero-day and neighboring vulnerability concepts

A zero-day can therefore be a buffer overflow with a critical CVSS score that leads to remote code execution, or a minor information leak. The zero-day label signals urgency, while CVSS and CWE describe severity and cause.

How zero-day exploits are found and used

Zero-day vulnerabilities are discovered through fuzzing, code auditing, reverse engineering and patch analysis of related products. Attackers prioritize targets with broad reach and high privilege, such as browsers, mobile operating systems, VPN appliances, email servers and other internet-facing edge devices.

Modern targets usually require an exploit chain: one flaw to gain code execution, a second to escape a sandbox, and a third for privilege escalation to kernel or system level. Each additional link raises cost, which is why full chains for hardened platforms are rare and valuable.

ActorTypical goalHandling of the flaw
Security researchersFix and recognitionCoordinated disclosure to the vendor
Bug bounty participantsPayment from the vendorReport through the vendor program
State-sponsored groupsEspionage and sabotageKeep secret for targeted use
Criminal groupsFinancial gainMass exploitation or ransomware
Exploit brokersResaleSell to governments or other buyers
Actors involved with zero-days

Defending against zero-day attacks

Because no patch exists, zero-day defense relies on reducing exploitability and limiting impact rather than on signatures. Layered controls ensure that a single unknown flaw does not lead to full compromise.

ControlHow it helpsLimitation
Attack surface reductionFewer exposed services to exploitRequires disciplined inventory
Exploit mitigationsASLR, DEP and control-flow integrity raise costCan be bypassed by skilled attackers
Sandboxing and least privilegeLimits what an exploit gainsSandbox escapes exist
Behavioral detection and EDRSpots abnormal activity after exploitationNeeds tuning and response staff
SegmentationPrevents lateral movementComplex in flat networks
Rapid patching processShortens the n-day windowDepends on testing capacity
Controls that reduce zero-day risk

When a zero-day becomes public before a patch, vendors often publish temporary mitigations, such as disabling a feature or blocking a request pattern. Applying them quickly and hunting for indicators of compromise are the most effective immediate responses.

Common misconceptions about zero-days

Zero-days attract attention far beyond their share of real incidents, which leads to distorted priorities. The following points correct frequent misunderstandings.

  • Most breaches use known vulnerabilities, not zero-days; unpatched n-day flaws remain the larger everyday risk.
  • Zero-day does not mean critical; the label concerns timing, and severity must be assessed separately.
  • Antivirus signatures cannot detect a truly new exploit, although behavioral detection may catch its effects.
  • Disclosure does not end the danger, because exploitation often increases sharply after a patch is published.
  • Closed-source software is not immune; attackers find flaws through binary analysis and fuzzing.

In simple terms

Imagine a lock maker who does not know that a certain trick opens their lock. A burglar who discovers the trick can use it freely. Until the maker learns about it and designs a better lock, every owner of that lock is exposed.

A zero-day is exactly that kind of hidden weakness in software. The name means the maker has had no time at all to fix it. The best protection is to have several layers of defense, so one hidden weakness is not enough to cause serious harm.

A practical example

A regional hospital operates a remote access gateway that staff use to reach clinical systems from home. One morning the gateway vendor announces that attackers are actively exploiting an unknown flaw in the login component and that a patch will follow in several days.

The security team applies the vendor’s temporary mitigation, which disables the affected feature, restricts the gateway to known address ranges, and checks logs against the published indicators of compromise. They find one suspicious session from two days earlier and isolate the server it reached.

Because clinical systems sit in a separate network segment that requires additional authentication, the attackers could not move beyond the first server. The patch is installed the day it is released, and the incident ends without data loss.