CVE-2017-8540: Microsoft Malware Protection Engine Improper Restriction of Operations Vulnerability
Vulnerability summary
CVE-2017-8540 is a high (CVSS 9.3) Out-of-bounds Write vulnerability in Microsoft Malware Protection Engine. It is known to be exploited: CISA lists it, first on 03-03-2022. EPSS estimates a 71.87% chance of exploitation in the next 30 days, higher than 99.4% of scored vulnerabilities. 1 public exploit is recorded.
Timeline
- 26-05-2017PublishedVulnerability first disclosed.
- 03-03-2022Added to CISA KEVMicrosoft Malware Protection Engine Improper Restriction of Operations Vulnerability
- 24-03-2022CISA remediation dueApply updates per vendor instructions.
- 21-10-2025Last modifiedVulnerability information updated.
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-8541.
CVSS metrics
3 scores · 2 sources · 2 versions- NVDNIST7.8HighCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
EPSS trend
Probability
71.87%
Chance of exploitation in the next 30 days
Percentile
99%
Versus all other CVEs
30-day change
0.00 pp
From 71.87% on 19-09-2026
Known exploited
Compare KEV catalogs- Added
- 03-03-2022
- Federal due date
- 24-03-2022
CISA required action
Apply updates per vendor instructions. nvd.nist.gov/vuln/detail/CVE-2017-8540
Public exploits
1 foundMicrosoft MsMpEng - Remote Use-After-Free Due to Design Issue in GC Engine
Maturity: poc
Weaknesses
CWE · root causeAffected systems
Microsoft9 products
- endpoint_protectionna
- exchange_serverEOL2013 | 2016
- forefront_endpoint_protectionna | 2010
- forefront_securityna
- intune_endpoint_protectionna
Microsoft corporation1 product
- malware protection engineMicrosoft 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.
2 vendors · 10 products
References
5 links- portal.msrc.microsoft.com/en-US/security-guidance/advisory/CVE-2017-8540X Refsource CONFIRMMitigationPatchVendor Advisory
- www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2017-8540Government ResourceUS Government Resource