← Vulnerability feed

Vulnerability record · CVE-2017-8541 · published 26 May 2017

CVE-2017-8541: Microsoft Malware Protection Engine memory corruption via crafted file scan

Microsoft · Forefront Security

The Microsoft Malware Protection Engine, used by Forefront and Windows Defender across many Windows versions plus Exchange Server 2013 and 2016, fails to properly scan a specially crafted file, causing memory corruption. Because the engine runs with high privileges on endpoints and mail servers, a successful exploit can lead to code execution in a security-critical component.

7.8 CVSS 3.0 High EPSS 48% · top 1.2% CWE-119 · Memory buffer overflow
7.8CVSS 3.0 base score, v2 9.3
48%EPSS exploitation probability, 30 days
NoNot in CISA KEV
3Affected product versions listed by NVD
8References
17 Jun 2026Last modified by NVD

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-8538 and CVE-2017-8540.

CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Automated analysis

Generated by VULONE's analysis model from the NVD record, CISA KEV and EPSS data on 20 September 2026. Confidence: medium.

high priorityHigh CVSS (7.8) with memory corruption in a privileged security component, public exploit code, and very high EPSS, though not in KEV and requiring file delivery or user interaction.

What it is

The Microsoft Malware Protection Engine, used by Forefront and Windows Defender across many Windows versions plus Exchange Server 2013 and 2016, fails to properly scan a specially crafted file, causing memory corruption. Because the engine runs with high privileges on endpoints and mail servers, a successful exploit can lead to code execution in a security-critical component.

Impact

An attacker who gets a crafted file scanned by the engine can corrupt memory and potentially execute arbitrary code in the context of the Malware Protection Engine process. This can compromise the host or mail server and may allow disabling or subverting the very protection meant to stop malware.

Attack surface

Reached when the engine scans a malicious file, which on a workstation typically requires a user to open or receive the file (UI:R), while on Exchange or other server-side scanning paths the file may be processed without direct user action. The CVSS vector is local with no privileges required, reflecting that the trigger is file processing rather than a network service.

Exploitation

Not listed in CISA KEV, but EPSS is high at roughly 0.48 (98.8th percentile) and a public Exploit-DB entry (42092) exists, indicating exploit code is available though no confirmed widespread exploitation is documented in this record.

What to do

  • Apply the Microsoft security update for the Malware Protection Engine referenced in the vendor advisory as soon as possible.
  • Verify engine version on all affected Windows, Forefront, Defender, and Exchange 2013/2016 systems and force an engine update if the fixed build is not present.
  • Restrict or disable automatic scanning of untrusted file sources where operationally feasible, and block risky attachment types at the mail gateway.
  • Limit user ability to open files from untrusted origins and enforce attachment filtering on Exchange.
  • Monitor vendor advisories for follow-up engine updates, since the engine updates independently of the OS.

Detection

  • Alert on unexpected crashes or restarts of MsMpEng.exe or related antimalware service processes.
  • Monitor for suspicious child processes or unusual network connections originating from the Malware Protection Engine process.
  • Track engine version inventory to identify hosts still running vulnerable builds.
  • Review Exchange and endpoint logs for repeated scan failures or anomalous file handling around crafted attachments.

This assessment is produced automatically and is not human-reviewed. Verify against the vendor advisory before acting on it.

Affected products

3 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

Track CVE-2017-8541 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

7.8CVE-2026-41091Microsoft Defender link following allows local privilege elevationMicrosoft Defender's malware protection engine resolves links improperly before accessing files, a link-following flaw (CWE-59). A local attacker wit…KEVEPSS 0.44%analysed7.8CVE-2021-1647Microsoft Defender Remote Code Execution VulnerabilityCVE-2021-1647 is a remote code execution flaw in Microsoft Defender, the built-in antivirus and endpoint protection component of Windows, as well as …KEVEPSS 39%analysed7.8CVE-2017-8540Microsoft Malware Protection Engine out-of-bounds write via crafted fileThe Microsoft Malware Protection Engine, used by Windows Defender, Forefront, Security Essentials, System Center Endpoint Protection, Intune Endpoint…KEVEPSS 72%analysed9.3CVE-2013-1346Microsoft malware protection engine memory buffer overflow vulnerabilitympengine.dll in Microsoft Malware Protection Engine before 1.1.9506.0 on x64 platforms allows remote attackers to execute arbitrary code or cause a d…EPSS 12%9.3CVE-2006-5270Microsoft antigen vulnerabilityInteger overflow in the Microsoft Malware Protection Engine (mpengine.dll), as used by Windows Live OneCare, Antigen, Defender, and Forefront Securit…EPSS 30%8.8CVE-2018-0986Microsoft Malware Protection Engine out-of-bounds write enables remote code executionThe Microsoft Malware Protection Engine mishandles a specially crafted file during scanning, causing an out-of-bounds write and memory corruption. Be…EPSS 63%analysed8.1CVE-2026-45584Microsoft malware protection engine heap-based buffer overflow vulnerabilityHeap-based buffer overflow in Microsoft Defender allows an unauthorized attacker to execute code over a network.EPSS 0.71%7.8CVE-2026-69414Microsoft malware protection engine improper access control vulnerabilityMicrosoft is aware of an elevation of privilege in the Microsoft Malware Protection Engine in Microsoft Defender publicly referred to as "Shield…EPSS 0.33%

Source: NIST National Vulnerability Database (record CVE-2017-8541), CISA KEV, FIRST EPSS (scores of 2026-09-26). This page is refreshed as NVD updates the record.