{"id":"CVE-2017-8540","published":"2017-05-26T20:29:00Z","modified":"2026-06-17T01:26:32Z","title":"Microsoft Malware Protection Engine Improper Restriction of Operations Vulnerability","vendor":"Microsoft","product":"Malware Protection Engine","tier":"core","eol":null,"description":{"text":"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.","provenance":"source","from":"NVD"},"summary":{"text":"The Microsoft Malware Protection Engine, which runs within Microsoft Defender and Forefront on supported Windows versions and Windows Server and on Microsoft Exchange Server 2013 and 2016, fails to properly scan specially crafted files, resulting in memory corruption. An attacker can exploit this by getting a user to interact with a malicious file, which requires local access and user interaction, with no authentication needed.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-10-23T07:10:47Z"},"cvss":{"score":7.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","provenance":"source","from":"NVD"},"epss":{"score":0.71874,"percentile":0.99427,"date":"2026-10-31","provenance":"source"},"kev":{"dateAdded":"2022-03-03","dueDate":"2022-03-24","ransomware":false,"requiredAction":"Apply updates per vendor instructions.","notes":"https://nvd.nist.gov/vuln/detail/CVE-2017-8540","provenance":"source"},"vulncheckKev":{"dateAdded":"2022-03-03","exploitedFirstSeen":"2022-03-03","ransomware":false,"evidence":[{"url":"https://www.cisa.gov/sites/default/files/feeds/known_exploited_vulnerabilities.json","date":"2022-03-03"}],"evidenceTotal":1,"provenance":"source"},"exploited":true,"otx":null,"cwes":[{"id":"CWE-787","name":"Out-of-bounds Write"},{"id":"CWE-119","name":"Improper Restriction of Operations within the Bounds of a Memory Buffer"}],"references":[{"url":"http://www.securityfocus.com/bid/98703","tags":["Broken Link","Third Party Advisory","VDB Entry"]},{"url":"http://www.securitytracker.com/id/1038571","tags":["Broken Link","Third Party Advisory","VDB Entry"]},{"url":"https://portal.msrc.microsoft.com/en-US/security-guidance/advisory/CVE-2017-8540","tags":["Mitigation","Patch","Vendor Advisory"]},{"url":"https://www.exploit-db.com/exploits/42088/","tags":["Exploit","Third Party Advisory","VDB Entry"]},{"url":"http://www.securityfocus.com/bid/98703","tags":["Broken Link","Third Party Advisory","VDB Entry"]},{"url":"http://www.securitytracker.com/id/1038571","tags":["Broken Link","Third Party Advisory","VDB Entry"]},{"url":"https://portal.msrc.microsoft.com/en-US/security-guidance/advisory/CVE-2017-8540","tags":["Mitigation","Patch","Vendor Advisory"]},{"url":"https://www.exploit-db.com/exploits/42088/","tags":["Exploit","Third Party Advisory","VDB Entry"]},{"url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2017-8540","tags":["US Government Resource"]}],"techniques":[{"id":"T1204.002","name":"Malicious File","tactics":["execution"],"provenance":"ai","basis":"ai-mapping","bases":["ai-mapping"],"basisDetail":"claude-haiku-5-5: User opens crafted file triggering the scanner","mappingType":"exploitation_technique","evidence":[{"from":"description","quote":"does not properly scan a specially crafted file leading to memory corruption","start":325,"end":401}],"model":"claude-haiku-5-5","confidence":"medium","confidenceNote":"AI-mapped from the description (quote-validated, not expert-reviewed)"},{"id":"T1059","name":"Command and Scripting Interpreter","tactics":["execution"],"provenance":"ai","basis":"ai-mapping","bases":["ai-mapping"],"basisDetail":"claude-haiku-5-5: Explicitly described as remote code execution","mappingType":"primary_impact","evidence":[{"from":"description","quote":"aka \"Microsoft Malware Protection Engine Remote Code Execution Vulnerability","start":403,"end":479}],"model":"claude-haiku-5-5","confidence":"medium","confidenceNote":"AI-mapped from the description (quote-validated, not expert-reviewed)"},{"id":"T1203","name":"Exploitation for Client Execution","tactics":["execution"],"provenance":"ai","basis":"ai-mapping","bases":["ai-mapping"],"basisDetail":"claude-haiku-5-5: Memory corruption yields code execution in engine","mappingType":"primary_impact","evidence":[{"from":"description","quote":"does not properly scan a specially crafted file leading to memory corruption","start":325,"end":401}],"model":"claude-haiku-5-5","confidence":"medium","confidenceNote":"AI-mapped from the description (quote-validated, not expert-reviewed)"}],"reports":[],"affected":[],"advisories":[],"euvd":{"id":"EUVD-2017-17490","url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2017-17490","exploited":true,"exploitedSince":"2022-03-03","provenance":"source"},"exploits":[{"id":42088,"url":"https://www.exploit-db.com/exploits/42088","title":"Microsoft MsMpEng - Remote Use-After-Free Due to Design Issue in GC Engine","type":"dos","platform":"windows","date":"2017-05-30","verified":true,"provenance":"source"}],"exploitSources":{"exploitdb":{"count":1,"earliest":"2017-05-30"},"first":{"date":"2017-05-30","source":"Exploit-DB","url":"https://www.exploit-db.com/exploits/42088"},"provenance":"source"},"exploitRefs":["https://www.exploit-db.com/exploits/42088/"],"flow":[{"stage":"exploitation","techniques":["T1204.002"],"provenance":"ai"},{"stage":"primary","techniques":["T1059","T1203"],"provenance":"ai"}],"timeline":[{"date":"2017-05-26","kind":"published","label":"Published (NVD)","url":"https://nvd.nist.gov/vuln/detail/CVE-2017-8540","provenance":"source"},{"date":"2017-05-30","kind":"exploit-public","label":"First public exploit: Exploit-DB (EDB-42088)","url":"https://www.exploit-db.com/exploits/42088","provenance":"source"},{"date":"2022-03-03","kind":"exploited-reported","label":"Exploitation first reported (VulnCheck KEV evidence)","url":"https://www.cisa.gov/sites/default/files/feeds/known_exploited_vulnerabilities.json","provenance":"source"},{"date":"2022-03-03","kind":"kev","label":"Added to CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","provenance":"source"},{"date":"2022-03-03","kind":"euvd-exploited","label":"ENISA EUVD: exploited","url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2017-17490","provenance":"source"}],"speed":{"daysToPublicExploit":4,"firstExploitFrom":"Exploit-DB","daysToKev":1742},"priority":{"score":65.3,"factors":[{"name":"In a KEV catalog","points":35.0,"detail":"listed in CISA KEV and VulnCheck KEV"},{"name":"Recent KEV listing","points":0.0,"detail":"added 1704 days ago"},{"name":"Known ransomware use","points":0.0,"detail":"not known"},{"name":"EPSS percentile","points":19.89,"detail":"percentile 0.9943"},{"name":"Named in threat reports","points":0.0,"detail":"0 reports"},{"name":"Public exploit code","points":5.0,"detail":"1 NVD reference tagged Exploit; 1 Exploit-DB entry"},{"name":"Mentioned in OTX pulses","points":0.0,"detail":"0 pulses"},{"name":"CVSS severity","points":5.46,"detail":"base score 7.8"},{"name":"End-of-life product","points":0.0,"detail":"supported or unknown"}]}}