CVE Tools

CVE-2017-8538

Published: May 26, 2017Updated: May 13, 2026 Sources: CVE List NVDCWE-119

Description

The Microsoft Malware Protection Engine running on Microsoft Forefront and Microsoft Defender on Microsoft Windows Server 2008 SP2 and R2 SP1, Windows 7 SP1, Windows 8.1, Windows Server 2012 Gold and R2, Windows RT 8.1, Windows 10 Gold, 1511, 1607, and 1703, and Windows Server 2016, Microsoft Exchange Server 2013 and 2016, does not properly scan a specially crafted file leading to memory corruption. aka "Microsoft Malware Protection Engine Remote Code Execution Vulnerability", a different vulnerability than CVE-2017-8540 and CVE-2017-8541.

In plain language

AI Worth attention

CVE-2017-8538 is a Windows antivirus scanning flaw where a specially crafted file can crash the malware protection engine and potentially let an attacker run code—this is only a concern if someone can get a user to open a malicious file that triggers a scan.

Executive summary

CVE-2017-8538 is a memory-handling weakness (CWE-119) in the Microsoft Malware Protection Engine used by Microsoft Forefront and Microsoft Defender; an attacker can potentially achieve code execution by getting a user to open or otherwise trigger a scan of a specially crafted file, which breaks the engine’s internal scanning/memory processing.

If affected, business impact
Malware protection engine crashPotential full system takeoverPossible ransomware pathwayOperational disruption

What to do now

  1. Check which Windows machines you run that match the affected operating systems (Windows Server 2008 SP2/R2 SP1, Windows 7 SP1, Windows 8.1, Windows Server 2012 Gold/R2, Windows RT 8.1, Windows 10 Gold/1511/1607/1703, Windows Server 2016) and verify you use Microsoft Defender or Microsoft Forefront security components.
  2. Confirm whether users could receive and open files from email, the web, or shared drives (since the flaw requires a user to open/trigger scanning of a specially crafted file).
  3. Apply Microsoft’s remediation guidance for CVE-2017-8538 from the official advisory link and update to the fixed version(s) provided there.
  4. If you cannot patch right away, reduce exposure by tightening controls that prevent users from opening unknown attachments (email filtering, browser protections, and attachment handling policies) and treat newly received files as suspicious until the patch is installed.
Patch / advisory Some work to apply

CVSS Vector Breakdown

AV:LAC:LPR:NUI:RS:UC:HI:HA:H
Exploitability
AV:LAttack Vector
Local
AC:LAttack Complexity
Low
PR:NPrivileges Required
None
UI:RUser Interaction
Required
Scope
S:UScope
Unchanged
Impact
C:HConfidentiality
High
I:HIntegrity
High
A:HAvailability
High

Weaknesses

Affected Products

Exploitability

1 exploit source identified

Exploit details including PoC links, Metasploit modules, and scanner templates are available after registration.

View exploit details
Official Patch Available

Attack Graph

Products CVE Techniques Tactics

Click technique nodes for MITRE ATT&CK details · drag to pan · Ctrl/ + scroll to zoom, or go fullscreen.

MITRE ATT&CK

2 techniques
Initial Access
Privilege Escalation
View detailed technique mapping

References

and 1 more references View all →

Unlock Complete Vulnerability Intelligence

Get the full picture for CVE-2017-8538 and every CVE in our database. Create a free account — no credit card required.

Create Free Account
Plain-language analysis
Impact assessment and exploitation scenario in plain English
Attack graph visualization
Interactive attack path and kill chain mapping
Exploit details & PoC links
ExploitDB, Metasploit, GitHub PoCs with direct links
Nuclei scanner templates
Ready-to-use vulnerability scanner templates
Full remediation guide
Patch instructions, workarounds, and compliance impact
Interactive AI chat
Ask questions about this vulnerability in natural language
Related vulnerabilities
Semantically similar CVEs and attack patterns
REST API & MCP access
Integrate vulnerability data into your workflows