Actively exploited vulnerability / CVE-2017-8540
Microsoft antivirus engine in Defender and Forefront can let attackers take over a PC
A flaw in Microsoft's antivirus scanning engine causes memory corruption when it scans a specially crafted file, which can let an attacker run their own code on the computer or server. For a business this can mean losing control of workstations, servers or the email server. It is on the lists of vulnerabilities used in real attacks kept by CISA (the US cybersecurity agency) and by ENISA (the EU cybersecurity agency).
- Identifier
- CVE-2017-8540 · EUVD-2017-17490
- Severity
- High (7.8/10)
- On the CISA list (US)
- yes, since 3 March 2022
- Deadline given to US federal agencies
- 24 March 2022
- On the ENISA list (EU)
- yes
- Probability of exploitation (EPSS)
- 71.9% (FIRST's estimate for the next 30 days)
Does it concern you?
The scanning engine is used by Microsoft Defender and Microsoft Forefront on Windows 7, Windows 8.1, Windows RT 8.1, Windows 10 and Windows Server 2008, 2012 and 2016, and by Exchange Server 2013 and 2016. Almost any company using Windows computers or servers, or an Exchange email server, may have it.
Engine versions from 1.1.13701.0 up to but not including 1.1.13704.0 are affected. The engine version is shown in the Windows Defender settings under the program information, or your IT provider can check it.
Affected products and versions
- Microsoft Malware Protection Engine
- malware protection engine: from 1.1.13701.0 before 1.1.13704.0
What to do
Make sure the protection engine is at version 1.1.13704.0 or later; it normally updates automatically, but check that updates are not blocked. If unsure, ask your IT provider to confirm the version on all computers and servers.
Versions that contain the fix: 1.1.13704.0.
The official description
The text below is the description from the public database.
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-8538 and CVE-2017-8541.
Sources
Data from the public CVE and NVD databases, the CISA KEV and ENISA EU KEV lists and FIRST's EPSS score. The explanations are ours, written from that data. Last updated: 29 November 2026.