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 that the vendor does not yet know about and has not patched — so defenders have had "zero days" to fix it, while attackers who discover it first can exploit it with no signature, no patch, and no warning. A zero-day has no CVE identifier while it stays secret; a CVE (like CVE-2024-3400) is only assigned once the flaw is disclosed — reported responsibly to the vendor or caught being exploited in the wild — at which point it stops being a true zero-day and becomes a tracked, published vulnerability that everyone can patch and monitor.

That is the summary an AI Overview will give you. What it can't show you is the timeline — the exact moment "zero-day" ends and "CVE" begins, 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 A horizontal timeline showing four phases: the flaw exists and is secretly exploited with no CVE, a researcher discovers it, the vendor patches and a CVE ID is assigned, then N-day exploitation of unpatched systems continues. The moment a zero-day becomes a CVE ZERO-DAY · no CVE exists CVE ASSIGNED · tracked & patched DISCLOSURE = the handoff 1. Hidden secret exploit 2. Discovered reported to vendor 3. CVE + patch CVE-2024-3400 4. N-day unpatched = risk most dangerous: no patch, no signature
A vulnerability has no CVE ID while it is a true zero-day. Disclosure is the handoff that mints the CVE and starts the patch clock.

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 existsThe tracking ID assigned at disclosure
Vendor aware?NoYesYes (that's why it has an ID)
Patch available?NoUsually yesN/A — it's a label, not a state
Has a CVE ID?No (secret)YesIt is the CVE ID
Primary riskUndetectable 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 (Day X to X+90) A security researcher discovers the zero-day and responsibly discloses it to the vendor privately. The vendor then works on developing a patch. This is technically no longer a pure zero-day once researchers know about it, but it's not publicly known.

Phase 3: Public disclosure and patch release (Day X+90 or less) The vulnerability is publicly disclosed, and vendors release patches. It becomes a named CVE. The zero-day window closes, and 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

Zero-days receive CVE identifiers only after they're disclosed (either discovered and responsibly reported, or exploited in the wild and discovered by security researchers). This creates an interesting situation:

Before disclosure: A vulnerability being secretly exploited has no CVE identifier. It might not even be a CVE candidate because no one knows about it.

At disclosure: As soon as the vulnerability is publicly disclosed, it's assigned a CVE identifier (like CVE-2025-12345). This happens simultaneously with patch release (in coordinated disclosure) or sometimes after patch development begins (if discovered in the wild and reported).

Retroactive CVE assignment: For zero-days exploited in the wild before responsible disclosure, the CVE is often assigned very quickly after discovery. Security researchers and vendors understand that rapid CVE assignment helps other organizations assess their risk.

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. After discovery, vendors released patches and the CVE was assigned immediately.

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 a CVE is assigned, zero-days become "N-day" vulnerabilities (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

Zero-day prices vary:

  • Simple vulnerabilities: $10,000-$100,000
  • Complex remote code execution: $100,000-$1,000,000+
  • Zero-days in popular, heavily-used software: Up to several million

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. Once discovered, zero-days are assigned CVE identifiers and become labeled vulnerabilities. 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?

Not while it is a true secret zero-day. A CVE identifier is only assigned once the flaw is disclosed — either responsibly reported to the vendor or caught being exploited in the wild. The moment it becomes known, a CVE Numbering Authority (CNA) assigns an ID like CVE-2024-3400, and the flaw transitions from an unknown zero-day into a tracked, published vulnerability.

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