Cybersecurity

Zero-Day Vulnerabilities Explained: What They Are and How to Cope

A zero-day vulnerability is a security flaw that the people responsible for fixing it do not yet know about. Here is how the term is used, how these flaws move from discovery to patch, and what defenders can realistically do.

A red padlock on a backlit green keyboard

A zero-day vulnerability is a flaw in software, firmware or hardware that the maker has not yet had the chance to fix, usually because it did not know the flaw existed. This guide explains where the term comes from, how such flaws are found and handled, and which defenses still work when no patch is available.

What is a zero-day vulnerability?

The name describes a deadline that has already run out: the vendor has had “zero days” to prepare a fix. In practice, three related terms get used interchangeably, and keeping them apart avoids a lot of confusion.

Term What it means
Vulnerability A weakness in a product’s design or code that could be abused
Exploit The technique or tool that takes advantage of the weakness
Attack An actual attempt to use an exploit against a target

The US National Institute of Standards and Technology (NIST) defines a zero-day attack in its glossary as “an attack that exploits a previously unknown hardware, firmware, or software vulnerability.” That definition, which NIST attributes to a US national security systems glossary and to one of its own interagency reports, centers on the word “unknown.” A flaw is a zero-day only for as long as the party able to repair it has not been told about it, or has not yet shipped a correction.

Usage varies a little. Some writers apply the label only when attackers are already using the flaw. Others apply it to any serious flaw without a patch. NIST’s wording points to the first reading, an attack, while everyday security reporting often uses the looser one. When reading news, check which meaning is intended.

How does a zero-day come to exist?

Every large program contains mistakes. A memory-handling error, a missing check on user input, or a flawed assumption about how two components talk to each other can all open a door that the designers never intended. Most such mistakes are found by the vendor’s own testers, by outside researchers, or by automated analysis, and fixed quietly.

A zero-day arises when the discovery happens somewhere else. A criminal group, a state-backed team or a lone researcher finds the flaw first. If that party tells the vendor, the flaw is on its way to being fixed. If the party keeps it private and uses it, the flaw is a zero-day in active use, and the first the vendor hears of it may be when a victim notices something wrong.

Because the flaw is not public, there is no signature for security tools to match and no patch to install. That is why these flaws are valued by attackers and why they tend to be used against narrower, higher-value targets than mass-market malware.

From discovery to patch: how disclosure works

When a researcher or supplier finds a flaw and wants it fixed, the usual route is coordinated vulnerability disclosure. The US Cybersecurity and Infrastructure Security Agency (CISA) describes its version as a process for getting vulnerability information to everyone who needs it at the same time, with the stated goal of minimizing the window in which the flaw can be exploited.

According to CISA, the process runs through these stages:

  1. A researcher, supplier or other party submits a report.
  2. CISA triages it, checking that it looks legitimate, is in scope and is not already public.
  3. CISA contacts the supplier, analyzes the technical details and tracks the timeline.
  4. If the flaw meets the rules of the CVE Program, a CVE identifier is reserved and published. A CVE (“Common Vulnerabilities and Exposures”) entry is a standard label so that everyone refers to the same flaw by the same name.
  5. The parties agree the advisory text and the publication date.
  6. The advisory is published and reporters and vendors are notified.
  7. The case is evaluated for CISA’s Known Exploited Vulnerabilities catalog.

Timing is not fixed. CISA says it depends on whether the issue is already public or actively exploited, the potential impact on critical infrastructure or public health, how responsive the vendor is, and how long mitigations take to build. If a vendor is unresponsive, CISA says it “may disclose vulnerabilities as early as 45 days after the initial attempt to contact the vendor is made,” whether or not a patch exists. Other organizations set their own deadlines, so the 45-day figure should not be read as an industry-wide rule.

Is a zero-day still a zero-day after the patch?

No. Once a vulnerability is public and a fix exists, the “zero” has been used up. Security teams sometimes call it an “n-day” flaw at that point, meaning it has been known for some number of days. This matters because a patched flaw can still be dangerous. The NCSC, the UK’s National Cyber Security Centre, notes in its vulnerability management guidance that attackers often move quickly to exploit newly fixed flaws. Releasing a patch also tells attackers precisely what was wrong, and any system that has not yet applied it is exposed to a now-documented weakness.

In other words, the risk does not vanish when the patch ships. It shifts from “nobody can fix this” to “everyone can, but not everyone has.”

What can defenders do when no patch exists?

It is tempting to conclude that nothing helps against an unknown flaw. That overstates the case. Several ordinary measures limit the damage:

  • Reduce exposure. Services reachable from the internet are the easiest targets. Removing what is not needed and restricting access to the rest shrinks the number of places a flaw can be reached.
  • Apply vendor mitigations. When a vendor knows about a flaw before a full patch is ready, it often publishes a workaround, such as disabling a feature. CISA’s catalog of exploited flaws tells organizations to apply mitigations in line with vendor instructions and, where mitigations are unavailable, to stop using the product.
  • Limit what a compromise can reach. Separating networks and giving accounts only the access they need means a single break-in does not become a total one.
  • Keep reliable, separate backups. These are the main protection if an attack ends in data destruction or extortion. The ransomware basics guide covers how attacks unfold and how to limit the damage.
  • Watch for signs of compromise. Logging and monitoring can reveal unusual behavior even when the specific flaw is unknown.

None of these removes the flaw. They make it harder to use and easier to notice.

How fast should patches be applied once they arrive?

The NCSC recommends applying updates “as soon as possible, and ideally automatically.” Its guidance gives best-practice target timescales for completing updates, which it says apply regardless of severity:

Type of system Target completion
Internet-facing services and software 5 days
Operating systems and applications 7 days
Internal or air-gapped services and software 14 days

The NCSC says the aim is to shrink these windows as far as possible. It also says these timescales are too slow when a flaw is being exploited at scale, in which case speeding up the update process is “essential.” The guidance allows exceptions, for example for safety-critical systems and operational technology, where updates need more testing.

For individuals the same principle applies in simpler form: turn on automatic updates for phones, computers, browsers and routers, and restart when asked. Because a stolen password is another common way in, what multi-factor authentication stops and what it misses is a useful companion read.

What should an organization do if a flaw is being exploited?

For actively exploited flaws, the NCSC lists eight priority actions:

  1. Assess your level of compromise.
  2. Isolate affected systems and, if possible, replace them with new, fully updated ones, accepting that this may cause an outage.
  3. Investigate fully for evidence of compromise, ideally with an assured incident response provider, or erase and rebuild the system if that is not possible.
  4. If you believe you have been compromised and are in the UK, report it; you can also report it to the vendor.
  5. Update to the latest version of the affected product.
  6. Apply appropriate security hardening.
  7. Re-enable or reintroduce the affected systems.
  8. Perform continuous threat hunting, meaning actively looking for signs of an intruder rather than waiting for an alert.

The order matters. For internet-facing services under active exploitation, the NCSC advises checking for signs of compromise before updating, because an intruder who got in before the patch can remain afterward. Patching closes the door, but it does not remove someone already inside.

Tracking which flaws are being used in the wild also helps with prioritizing. CISA’s catalog of known exploited vulnerabilities, discussed in the article on how CISA’s KEV catalog drives risk-based patching, lists flaws with evidence of exploitation, along with remediation due dates for US federal agencies.

Common misconceptions about zero-days

“Zero-days only hit governments and big companies.” Targeted attacks do favor valuable victims, but once a flaw becomes public, ordinary criminals can reuse it against anyone who has not patched. Most people’s practical risk comes from known, unpatched flaws, not secret ones.

“If I am careful, a zero-day cannot affect me.” Some flaws can be abused without any action by the user. Careful habits help against deception, such as phishing, but they cannot repair a defect in the software itself.

“Antivirus will catch it.” Tools that rely on known patterns are weakest against unknown techniques. Behavior-based tools may help, but none is a guarantee.

“A patch ends the problem.” As described above, systems that go unpatched stay exposed, and the NCSC’s guidance on actively exploited flaws makes clear that compromise can persist after an update.

What is still uncertain?

Several questions cannot be answered from public advisories. Nobody outside the attackers knows how many zero-days are currently held in private, and counts in the news reflect only the ones that were later discovered. Definitions differ between organizations, so statistics from different sources are often not comparable. And while disclosure timelines such as CISA’s 45 days exist, the right balance between giving a vendor time to fix a flaw and warning the public is a matter of continuing debate among researchers, vendors and governments.

Living with flaws nobody has found yet

A zero-day is best understood as a stage in a flaw’s life, not a special kind of malware. It begins when someone finds a defect and ends when a fix is available, and the risk continues until that fix is installed. Defenders cannot stop every unknown flaw, but they can reduce what is exposed, apply updates quickly, limit how far a break-in can spread, and know what to do when an advisory says a flaw is under attack.

This article is general information, not a substitute for professional security advice.

Sources: NIST; CISA; NCSC