Home / Microsoft Corporation / Malware Protection Engine / CVE-2017-8540
CVE-2017-8540: is it exploited, and which versions of Microsoft Corporation Malware Protection Engine are affected and fixed?
CVE-2017-8540 is an out-of-bounds write (memory corruption) vulnerability in Microsoft Corporation Malware Protection Engine, and it is exploited in the wild: CISA added it to its Known Exploited Vulnerabilities catalog on March 3, 2022, with a federal due date of March 24, 2022. Affected: Malware Protection Engine Microsoft Forefront and Microsoft Defender on Microsoft Windows Server 2008 SP2 (CVE record by microsoft). Fixed in 1.1.13704.0 (NVD). Severity: High (7.8, CVSS 3.1, from CISA-ADP).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 08:08 UTC, CVE record November 19, 2026, 07:18 UTC and NVD November 19, 2026, 08:41 UTC.
What is CVE-2017-8540?
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.
From the CVE record by microsoft, last updated October 21, 2025, 23:55 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| Microsoft Corporation | Malware Protection Engine | Microsoft Forefront and Microsoft Defender on Microsoft Windows Server 2008 SP2 |
As the CVE record by microsoft states it, last updated October 21, 2025. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| microsoft | malware protection engine | from 1.1.13701.0 before 1.1.13704.0 | application |
| microsoft | endpoint protection | all versions | application |
| microsoft | exchange server | 2013 | application |
| microsoft | exchange server | 2016 | application |
| microsoft | forefront endpoint protection | all versions | application |
| microsoft | forefront endpoint protection | 2010 | application |
| microsoft | forefront security | all versions | application |
| microsoft | intune endpoint protection | all versions | application |
| microsoft | security essentials | all versions | application |
| microsoft | system center endpoint protection | all versions | application |
| microsoft | windows defender | all versions | application |
NVD analysis (status Analyzed), last modified June 17, 2026, 01:26 UTC.
How severe is CVE-2017-8540?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 7.8 | CVSS 3.1 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H | CISA-ADP |
| High 7.8 | CVSS 3.1 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H | NVD |
| High 9.3 | CVSS 2.0 | AV:N/AC:M/Au:N/C:C/I:C/A:C | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2017-8540 exploited in the wild?
- CISA KEV
- Listed as Microsoft Malware Protection Engine Improper Restriction of Operations Vulnerability, added March 3, 2022; federal agencies must act by March 24, 2022
- Required action
- Apply updates per vendor instructions.
- Ransomware use
- Unknown
- CISA's summary
- 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".
- CISA SSVC
- Exploitation: active; automatable: no; technical impact: total (CISA ADP, February 10, 2025)
- EPSS
- 71.9% probability of exploitation activity in the next 30 days, percentile 99.4 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-787 Out-of-bounds Write
Where are the vendor advisories and references?
- https://portal.msrc.microsoft.com/en-US/security-guidance/advisory/CVE-2017-8540 x_refsource_CONFIRM
- 98703 vdb-entry, x_refsource_BID
- 42088 exploit, x_refsource_EXPLOIT-DB
- 1038571 vdb-entry, x_refsource_SECTRACK
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2017-8540 government-resource
When was it published, and where is the official record?
- Reserved
- May 3, 2017
- Published
- May 26, 2017, 20:00 UTC
- CVE record updated
- October 21, 2025, 23:55 UTC by microsoft
- NVD
- Analyzed, last modified June 17, 2026, 01:26 UTC
- Last checked
- CVE list November 19, 2026, 07:18 UTC; NVD November 19, 2026, 08:41 UTC; KEV December 3, 2026, 08:08 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD · CISA KEV
What other CVEs affect Malware Protection Engine?
- May 26, 2017CVE-2017-8541 Microsoft Corporation Malware Protection Engine: memory corruption (buffer overflow)
- May 26, 2017CVE-2017-8539 Microsoft Corporation Malware Protection Engine: memory corruption (buffer overflow)
- May 26, 2017CVE-2017-8538 Microsoft Corporation Malware Protection Engine: memory corruption (buffer overflow)
- May 26, 2017CVE-2017-8537 Microsoft Corporation Malware Protection Engine: memory corruption (buffer overflow)
- May 26, 2017CVE-2017-8536 Microsoft Corporation Malware Protection Engine: memory corruption (buffer overflow)
- May 26, 2017CVE-2017-8535 Microsoft Corporation Malware Protection Engine: memory corruption (buffer overflow)
- Jun 18, 2014CVE-2014-2779 Microsoft Malware Protection Engine: improper input validation
- May 15, 2013CVE-2013-1346 Microsoft Malware Protection Engine: memory corruption (buffer overflow)
Every CVE in Malware Protection Engine
Questions about CVE-2017-8540
Is CVE-2017-8540 exploited in the wild?
Yes. CISA added CVE-2017-8540 to its Known Exploited Vulnerabilities catalog on March 3, 2022 and set federal agencies a due date of March 24, 2022. FIRST's EPSS gives it a 71.9% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Microsoft Corporation Malware Protection Engine are affected by CVE-2017-8540?
Malware Protection Engine Microsoft Forefront and Microsoft Defender on Microsoft Windows Server 2008 SP2, per the CVE record by microsoft. The tables above give every range the sources list.
Which version fixes CVE-2017-8540?
1.1.13704.0, per the NVD. Check the vendor's advisory before you rely on it.
How severe is CVE-2017-8540?
High (7.8, CVSS 3.1, from CISA-ADP). The severity table above shows each score with its source.
Where is the official record of CVE-2017-8540?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov; CISA's entry is in its Known Exploited Vulnerabilities catalog. For a fix, the vendor's own advisory is the one to follow.