Cybersecurity

What is a 0-day vulnerability and how do CVE IDs work for them?

Understand zero-day vulnerabilities, their characteristics, and how they fit into the CVE identification and disclosure system.

By Inventive HQ Team

Understanding Zero-Day Vulnerabilities

A zero-day vulnerability is a security flaw exploited before defenders have a fix available. A CVE identifier may be reserved privately before disclosure; public disclosure and patch release can happen at different times. Defenders can still use compensating controls and behavior-based detection while a fix is unavailable.

That is the summary an AI Overview will give you. What it can't show you is the timeline — how disclosure, CVE reservation, and patching can happen on different schedules, and why that handoff is the single most important thing to understand about the whole system. The animated diagram below traces one flaw from secret to patched, and the comparison table pins down zero-day vs. N-day vs. CVE so you stop conflating them.

Lifecycle of a zero-day vulnerability from hidden flaw to assigned CVE Illustrative timeline from a hidden flaw to discovery, public CVE record, and continued exploitation. CVE reservation and patch release can occur at different times. A zero-day, CVE ID, and patch can overlap ZERO-DAY · CVE may be reserved PUBLIC CVE · patch may follow PUBLIC DISCLOSURE 1. Hidden secret exploit 2. Discovered reported to vendor 3. Public CVE CVE-2024-3400 4. N-day unpatched = risk most dangerous: no patch, no signature
A CVE ID can be reserved before disclosure; publication and patch release may occur separately.

Zero-Day vs. N-Day vs. CVE: What's the Difference?

These three terms describe the same flaw at different points on the timeline — they are not competing categories. Confusing them is the most common mistake in vulnerability conversations.

Zero-dayN-dayCVE (the identifier)
What it isUnknown flaw, no patchPublic flaw, patch usually existsAn identifier that may be reserved before disclosure
Vendor aware?NoYesNot necessarily
Patch available?NoUsually yesN/A — it's a label, not a state
Has a CVE ID?Possibly reservedYesIt is the CVE ID
Primary riskHard-to-detect exploitationSlow patching leaves systems exposedNot a risk — a reference number
Your defenseCompensating controls, detectionPatch fast, prioritize by exploitationUse it to look up severity & KEV status
When to worry mostTargeted, high-value orgsEveryone, right after disclosureWhen it appears in CISA's KEV catalog

Zero-day vulnerabilities are particularly dangerous because:

  • No patches exist to address them
  • Antivirus and intrusion detection systems don't have signatures to identify exploitation attempts
  • Organizations cannot protect themselves through standard vulnerability management practices
  • Attackers have exclusive knowledge of the vulnerability and can exploit it with impunity

The ideal scenario from an attacker's perspective is discovering a zero-day before anyone else, remaining undetected, and exploiting it for months or years before disclosure forces vendors to fix it.

How Vulnerabilities Become Zero-Days

Zero-day vulnerabilities originate in several ways:

Independent discovery: Attackers or security researchers independently discover vulnerabilities in code before anyone else has identified them. A complex piece of software contains numerous potential vulnerabilities; attackers may find ones that vendors haven't identified.

Targeted research: Attackers or well-funded research teams deliberately search for vulnerabilities in widely used software, especially targeting specific products valuable to them (banking systems, government infrastructure, etc.).

Supply chain and exotic attacks: Some zero-days are discovered through novel attack vectors or interaction between multiple components that create unforeseen vulnerabilities.

Purchased from vulnerability brokers: Security researchers or companies discover vulnerabilities and sell them to other researchers, governments, or defensive security companies without public disclosure. These remain zero-days as long as they're kept secret.

The Life Cycle of a Zero-Day

Phase 1: Hidden existence (Days 0 to unknown) The vulnerability exists in deployed software, but only attackers know about it. They exploit it stealthily, typically targeting specific organizations or industries. The organization being attacked might not realize their systems are compromised.

Phase 2: Discovery and responsible disclosure attempt A security researcher discovers the zero-day and responsibly discloses it to the vendor privately. The vendor then works on developing a patch. The flaw may remain unpatched and undisclosed while the vendor prepares a response.

Phase 3: Public disclosure and patching The vulnerability may be publicly disclosed before or after a patch is ready. Its CVE ID may already have been reserved. When a fix becomes available, vulnerability management processes take over.

Phase 4: Active exploitation window (Days after disclosure) Even after patches are available, many systems remain unpatched. Attackers often accelerate exploitation attempts during this window when the vulnerability is known but many systems remain vulnerable.

Advertisement

CVE Assignment for Zero-Days

A CVE Numbering Authority may reserve an ID before public disclosure, including during coordinated work with a vendor. The public CVE record may appear before, with, or after a patch. A secretly exploited flaw may have no CVE yet, or it may have a reserved ID that is not public.

Famous Zero-Day Examples

Stuxnet (2009-2010): Not a specific CVE but used multiple zero-day vulnerabilities to target Iranian nuclear facilities. Included Windows kernel vulnerabilities and remote code execution flaws. Remained highly secret for months before being discovered.

Citrix ShareFile vulnerability (CVE-2021-22941): Zero-day in Citrix ShareFile that was actively exploited before disclosure. The vulnerability was tracked publicly after discovery.

SolarWinds Supply Chain Attack (2020): Used multiple vulnerabilities, some of which were zero-days at the time of exploitation. The attack went undetected for months.

ProxyLogon (CVE-2021-27065 and related): Microsoft Exchange zero-day vulnerabilities discovered during active exploitation in early 2021. Microsoft released patches within weeks of discovery.

Kaseya VSA vulnerability (CVE-2021-30116): Zero-day in Kaseya VSA remote management software exploited by REvil ransomware gang. Active exploitation was discovered before patches existed.

Detection of Zero-Day Exploitation

Since zero-days have no patches or signatures, detection is challenging but possible:

Behavioral analysis: Monitoring for unusual system behavior (unexpected network connections, privilege escalation, file modifications) can detect exploitation even if the underlying vulnerability is unknown.

Threat intelligence: Security researchers and incident response teams analyze attacks and reverse-engineer exploits to identify zero-day usage patterns.

Honeypots and trap systems: Organizations maintain systems that appear valuable but are isolated and monitored. Attack attempts against honeypots indicate zero-day discovery.

Anomaly detection: Machine learning-based systems identify behavior patterns that deviate from normal system operation, sometimes catching zero-day exploitation.

Incident response: When organizations suffer breaches, forensic analysis can reveal whether zero-days were used.

Protection Against Zero-Days

Since zero-days can't be patched, organizations must implement other defensive measures:

Compensating controls:

  • Network segmentation to limit lateral movement
  • Application whitelisting to prevent unauthorized code execution
  • Memory protection (DEP, ASLR) to make exploitation harder
  • Least privilege access to minimize damage if compromise occurs

Threat intelligence and threat hunting: Actively search for indicators of compromise from known zero-day exploitation campaigns.

Assumption of breach: Design systems assuming they might be compromised, with detection and containment strategies.

Rapid incident response: If zero-day exploitation is discovered, implement rapid containment and eradication.

Vulnerability reduction: Minimize attack surface by:

  • Disabling unnecessary services
  • Keeping fewer systems connected to networks
  • Using up-to-date software even if zero-days exist
  • Running modern operating systems with built-in protections

The Zero-Day Black Market

Unfortunately, zero-day vulnerabilities are valuable commodities:

Government acquisition: Governments purchase zero-days for surveillance and cyber warfare purposes. These might remain secret indefinitely.

Criminal underground: Cybercriminals purchase zero-days for financial crimes (theft, fraud, ransomware).

Defensive security companies: Some legitimate security companies purchase zero-days to improve their detection capabilities.

Bug bounty alternatives: Researchers who discover zero-days might sell them to specialized brokers (Zerodium, etc.) rather than disclosing them responsibly.

This black market creates tension: vendors want zero-days disclosed responsibly so they can patch, while researchers might be financially incentivized to sell them secretly.

N-Day Vulnerabilities

After public disclosure, a flaw is often described as an "N-day" vulnerability (where N is the number of days since disclosure). N-day exploitation continues as long as organizations remain unpatched.

A vulnerability might be:

  • 1-day: Exploited the day after patch release (before many organizations can deploy)
  • 30-day: Exploited 30 days after patch release (still many unpatched systems)
  • 100-day: Exploited months after patch release (still significant unpatched population)
  • 1000-day: Exploited years later (especially in legacy systems, never patched)

Zero-Days in Specific Contexts

Web browsers: Zero-day browser vulnerabilities are particularly valuable because browsers are nearly universal and often process untrusted content. Browser vendors have rapid patch processes and provide automatic updates to mitigate zero-day windows.

Operating systems: OS zero-days affect all systems running that OS, making them extremely valuable to attackers. Major OS vendors (Microsoft, Apple) have sophisticated security teams and rapid patch processes.

Firmware: Firmware zero-days (in routers, switches, etc.) are particularly persistent because firmware updates are often difficult and many systems never receive updates.

Embedded systems and IoT: IoT devices and industrial systems often never receive security patches, making any vulnerability in these devices permanently exploitable.

The Economics of Zero-Days

The value of a zero-day depends on:

  • Affected systems: Browser zero-days affecting billions of systems are more valuable than zero-days in obscure software
  • Exploitability: Easy-to-exploit remote code execution is more valuable than complex vulnerabilities
  • Attack vector: Network-based vulnerabilities are more valuable than requiring physical access
  • Patch timeline: Zero-days in heavily patched software (browsers, OS) lose value quickly; zero-days in rarely-patched software remain valuable longer

Prices vary widely with exploitability, target, and buyer; use no fixed price range as a planning benchmark.

This creates perverse incentives for researchers to keep vulnerabilities secret rather than disclosing responsibly.

Future of Zero-Days

As software becomes more complex and connected, zero-days will likely remain a persistent problem:

  • Improved security engineering: Secure coding practices, formal verification, and security-first architecture reduce vulnerabilities
  • Responsible disclosure expansion: Growing norms around responsible disclosure incentivize notification over exploitation
  • Bug bounties: Companies offering substantial rewards encourage disclosure rather than sales to black market
  • AI-assisted discovery: Automated tools might discover vulnerabilities faster, but attackers use the same tools
  • Regulation: Government regulations might require vulnerability disclosure or impose liability for security failures

Conclusion

Zero-day vulnerabilities are previously unknown security flaws that attackers exploit before vendors can patch them. They're named for the zero days developers have to create fixes. A CVE ID may be reserved before disclosure and published separately from a fix. The window of vulnerability is longest for zero-days because no patches exist—organizations must rely on compensating controls, threat intelligence, and incident response to protect against them. As software becomes more complex and interconnected, zero-day vulnerabilities will remain a persistent security challenge requiring layered defenses and rapid incident response capabilities.

Frequently Asked Questions

What is a zero-day vulnerability in simple terms?

A zero-day is a software or hardware flaw that the vendor does not yet know about and has not patched. The name means the developer has had "zero days" to build a fix. If attackers find it first, there is no patch, no antivirus signature, and no standard defense — only compensating controls like segmentation, least privilege, and behavioral detection.

Does a zero-day have a CVE ID?

A CVE ID can be reserved before public disclosure, including while a vendor is preparing a fix. The identifier records the vulnerability; reservation, publication, disclosure, and patch release can happen at different times.

What is the difference between a zero-day and an N-day vulnerability?

A zero-day is unknown to the vendor with no patch available. An N-day is a vulnerability that has been public for N days and usually has a patch — the risk is that many systems stay unpatched. A "1-day" is exploited the day after a fix ships; a "1000-day" is still being exploited years later on legacy systems that were never updated.

How is a CVE ID formatted and what do the parts mean?

A CVE ID looks like CVE-2024-3400. "CVE" is the fixed prefix, the middle number is the year the ID was reserved (not necessarily when the flaw was found), and the last number is an arbitrary sequence identifier with no built-in meaning. Since 2014 the sequence part can be four or more digits, so IDs like CVE-2024-1234567 are valid.

Who assigns CVE IDs?

CVE IDs are issued by CVE Numbering Authorities (CNAs) under the MITRE Corporation's CVE Program, which is sponsored by the U.S. Cybersecurity and Infrastructure Security Agency (CISA). Large vendors like Microsoft, Google, and Red Hat are their own CNAs and assign IDs for their products; MITRE acts as the CNA of last resort for everyone else.

Can you defend against a zero-day if there is no patch?

Yes — you defend the blast radius rather than the specific flaw. Network segmentation limits lateral movement, least-privilege access limits damage, application allowlisting blocks unauthorized code, and behavioral or anomaly detection catches exploitation by its effects. This "assume breach" posture is the only workable defense while a fix does not exist.

How long does a zero-day stay secret before it is discovered?

It varies enormously. Some zero-days are used quietly for months or years in targeted attacks before anyone notices; others are burned within days once exploitation triggers detection. Stuxnet used multiple zero-days that stayed hidden for well over a year, while browser zero-days are often patched within days of first exploitation.

Where can I look up a CVE once it has been assigned?

Use the NIST National Vulnerability Database (NVD) or the MITRE CVE List for authoritative details, plus CISA's Known Exploited Vulnerabilities (KEV) catalog to see whether a CVE is being actively exploited. Our CVE lookup tool pulls this data together so you can check severity, affected products, and exploitation status in one place.

0-dayzero-daycvevulnerability-disclosurethreat-detection