Explore our new Cybersecurity Terms Glossary, explained by our experts.

View the Glossary View the Glossary
PRIVIA

Cybersecurity Terms Glossary

What Is an Exploit?

An exploit is a piece of code, a sequence of commands, or a crafted input that takes advantage of a specific vulnerability to make a system do something its owner never intended.

Illustration for the cybersecurity term Exploit
Home / Blog / Cybersecurity Terms / What Is an Exploit?
17 November 2026

What Is an Exploit?

What Is an Exploit?

An exploit is code, a command sequence, or a specially crafted input that takes advantage of a vulnerability to make software or hardware behave in a way its designers did not intend—running attacker code, bypassing authentication, reading memory, or raising privileges. A vulnerability is the weakness; the exploit is the tool that turns that weakness into access.

The distinction matters for risk. Thousands of new CVEs are published each year, but only a fraction ever have working, reliable exploits, and those are the ones attackers use at scale.

Vulnerability, Exploit, and Payload

Three terms are often blurred together:

Frameworks such as Metasploit separate these deliberately, so one exploit can deliver many payloads and one payload can ride on many exploits.

Types of Exploit

By Where They Run

A remote exploit works over a network against a listening service, with no prior access. A local exploit needs an existing foothold and is typically used for privilege escalation. A client-side exploit targets software the victim opens—a browser, a PDF reader, an Office document—and usually needs a phishing email or a malicious website to deliver it.

By What They Abuse

Memory corruption exploits, including the classic buffer overflow, use-after-free, and type confusion bugs, overwrite memory to hijack execution. Injection exploits feed commands into interpreters, as with SQL injection or OS command injection. Logic exploits abuse flawed design, such as an authentication check that can be skipped by changing one parameter.

By Timing

A zero-day exploit targets a flaw the vendor does not yet know about or has not fixed. An n-day exploit targets a flaw that has been disclosed and patched, relying on organisations being slow to update. In practice, most breaches involve n-days.

Exploits That Shaped Security

ExploitYearWhy it mattered
EternalBlue (CVE-2017-0144)2017An SMBv1 exploit leaked by the Shadow Brokers in April and reused weeks later by WannaCry, which disrupted many NHS trusts in May 2017
Log4Shell (CVE-2021-44228)2021A single crafted string in a log message gave remote code execution in countless Java applications
ProxyShell (CVE-2021-34473 and others)2021A chain of Microsoft Exchange flaws exploited widely to drop web shells
MOVEit Transfer (CVE-2023-34362)2023A SQL injection zero-day used by Cl0p for mass data theft

EternalBlue shows how fast the gap closes: Microsoft had released the patch in March 2017, two months before WannaCry, yet unpatched systems were still hit hard.

How Exploits Map to MITRE ATT&CK

MITRE ATT&CK tracks exploitation across several tactics, which helps defenders plan detections: T1190 (Exploit Public-Facing Application) for initial access, T1203 (Exploitation for Client Execution), T1068 (Exploitation for Privilege Escalation), and T1210 (Exploitation of Remote Services) for lateral movement.

Prioritising and Defending

Since exploitation, not mere vulnerability, drives risk, prioritise accordingly:

Exploits and the Law in the UK

Using an exploit against a system without permission is an offence under the Computer Misuse Act 1990, and section 3A also covers making, supplying, or obtaining articles for use in such offences. Legitimate use depends on written authorisation and a clear scope, which is exactly what a professional engagement provides. Our penetration test services use controlled exploitation to prove which weaknesses in your estate are genuinely reachable and what they would expose.

FAQ – Frequently Asked Questions

Is Every Vulnerability Exploitable?

No. Many vulnerabilities are difficult or impossible to exploit in a real environment because of configuration, compensating controls, or the conditions required to trigger them. That is why prioritisation should consider evidence of exploitation, such as CISA’s Known Exploited Vulnerabilities catalogue and EPSS, rather than severity scores alone. A penetration test confirms which findings are genuinely exploitable in your environment.

What Is an Exploit Kit?

An exploit kit is a toolkit hosted on a malicious or compromised website that fingerprints a visitor’s browser and plug-ins, then automatically serves an exploit for any vulnerable component it finds. Kits such as Angler and RIG were common in the mid-2010s. They have declined as browsers have hardened and plug-ins like Flash have disappeared, but the drive-by technique remains.

How Quickly Do Attackers Exploit New Vulnerabilities?

For high-profile flaws in internet-facing products, mass scanning and exploitation often begin within days of disclosure, and sometimes within hours once a proof of concept is published. Log4Shell was being exploited at scale almost immediately after details emerged in December 2021. Critical internet-facing systems therefore need emergency patching processes measured in days, not monthly cycles.

Is It Legal to Download Exploit Code for Research?

Researching publicly available exploit code is common in security work, but in the UK the Computer Misuse Act 1990 makes it an offence to obtain or supply such tools with the intention that they will be used to commit an offence. Keep research inside isolated lab environments, use code only against systems you own or are authorised to test, and document your purpose.

Related Terms

You May Be Interested In These

What Is PrintNightmare?

Cybersecurity Terms

17 November 2026

What Is PrintNightmare?

Read More
What Is a Biomedical Device Inventory?

Cybersecurity Terms

17 November 2026

What Is a Biomedical Device Inventory?

Read More
What Is the OSCP Certification?

Cybersecurity Terms

17 November 2026

What Is the OSCP Certification?

Read More