{"schemaVersion":3,"id":"CVE-2017-8540","aliases":[],"status":"published","duplicateOf":null,"title":"Microsoft Malware Protection Engine Improper Restriction of Operations Vulnerability","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.","dates":{"published":"2017-05-26T20:00:00.000Z","modified":"2025-10-21T23:55:40.255Z","reserved":null,"kevAdded":["2022-03-03T00:00:00.000Z"],"kevDue":["2022-03-24T00:00:00.000Z"]},"cvss":{"headline":{"score":9.3,"severity":"high","version":"2.0","versionLabel":"v2.0","source":"NVD","vector":"AV:N/AC:M/Au:N/C:C/I:C/A:C","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":7.8,"severity":"high","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":7.8,"severity":"high","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":9.3,"severity":"high","vector":"AV:N/AC:M/Au:N/C:C/I:C/A:C","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.71874,"percentile":0.99424,"severity":"critical","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.71874},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.71961,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.71961,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.71961,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.71874,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.71874,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.71874,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.71874,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.71874,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.71874,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.71874,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.71874,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.71874,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.71874,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.71874,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.71874,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.71874,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.71874,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.71874,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.71874,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.71874,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.71874,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.71874,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.71874,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.71874,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.71874,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.71874,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.71874,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.71874,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.71874,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.71874,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.71874,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.71874,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.71874,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.71874,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.71874,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.71874,"percentile":0.99424}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.71874,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.71874,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.71874,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.71874,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.71874,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.71874,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.71874,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.71874,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.71874,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.71874,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.71874,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.71874,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.71874,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.71874,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.71874,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.71874,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.71874,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.71874,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.71874,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.71874,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.71874,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.71874,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.71874,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.71874,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.71874,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.71874,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.71874,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.71874,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.71874,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.71874,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.71874,"percentile":0.99424}]},"kev":{"state":"listed","entries":[{"source":"cisa","sourceLabel":"CISA","dateAdded":"2022-03-03T00:00:00.000Z","dueDate":"2022-03-24T00:00:00.000Z","requiredAction":"Apply updates per vendor instructions.","name":"Microsoft Malware Protection Engine Improper Restriction of Operations Vulnerability","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\".","notes":[{"type":"url","href":"https://nvd.nist.gov/vuln/detail/CVE-2017-8540","label":"nvd.nist.gov/vuln/detail/CVE-2017-8540"}],"vendor":"Microsoft","product":"Malware Protection Engine","ransomware":false,"ransomwareUse":"Unknown","exploitationType":null}],"listedCount":1,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":true,"entry":{"source":"cisa","sourceLabel":"CISA","dateAdded":"2022-03-03T00:00:00.000Z","dueDate":"2022-03-24T00:00:00.000Z","requiredAction":"Apply updates per vendor instructions.","name":"Microsoft Malware Protection Engine Improper Restriction of Operations Vulnerability","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\".","notes":[{"type":"url","href":"https://nvd.nist.gov/vuln/detail/CVE-2017-8540","label":"nvd.nist.gov/vuln/detail/CVE-2017-8540"}],"vendor":"Microsoft","product":"Malware Protection Engine","ransomware":false,"ransomwareUse":"Unknown","exploitationType":null}},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[{"id":"42088","name":"Microsoft MsMpEng - Remote Use-After-Free Due to Design Issue in GC Engine","source":"exploit-database","url":"https://www.exploit-db.com/exploits/42088","maturity":"poc","reliabilityScore":0.8,"verified":true,"type":"dos","platforms":["windows"],"requiresAuth":null,"exploitdb":{"verified":true,"type":"dos","platform":"windows","file":"exploits/windows/dos/42088.txt","codes":["CVE-2017-8540"]},"metasploit":null}],"exploitCount":1,"weaknesses":[{"id":"CWE-787","name":"Out-of-bounds Write","description":"The product writes data past the end, or before the beginning, of the intended buffer.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/787.html"}],"affected":[{"vendor":"microsoft corporation","product":"malware protection engine","name":"Malware Protection Engine","label":"malware protection engine","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"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.","noFixRecorded":false,"fixedIn":null}],"versionsText":"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.","eol":null,"hubHref":"/vendor/microsoft_corporation/malware_protection_engine"},{"vendor":"microsoft","product":"endpoint_protection","name":"endpoint protection","label":"endpoint_protection","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"na","noFixRecorded":false,"fixedIn":null}],"versionsText":"na","eol":null,"hubHref":"/vendor/microsoft/endpoint_protection"},{"vendor":"microsoft","product":"exchange_server","name":"exchange server","label":"exchange_server","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"2013","noFixRecorded":false,"fixedIn":null},{"text":"2016","noFixRecorded":false,"fixedIn":null}],"versionsText":"2013 | 2016","eol":{"isEol":true,"eolDate":"2023-04-11T00:00:00.000Z","matchMethod":"cpe","cycle":{"name":"2013","label":"2013 CU23 SU21","eolFrom":"2023-04-11T00:00:00.000Z","isLts":false,"isMaintained":false,"latestVersion":"15.0.1497.48"},"product":{"name":"msexchange","label":"Microsoft Exchange","category":"server-app"}},"hubHref":"/vendor/microsoft/exchange_server"},{"vendor":"microsoft","product":"forefront_endpoint_protection","name":"forefront endpoint protection","label":"forefront_endpoint_protection","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"na","noFixRecorded":false,"fixedIn":null},{"text":"2010","noFixRecorded":false,"fixedIn":null}],"versionsText":"na | 2010","eol":null,"hubHref":"/vendor/microsoft/forefront_endpoint_protection"},{"vendor":"microsoft","product":"forefront_security","name":"forefront security","label":"forefront_security","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"na","noFixRecorded":false,"fixedIn":null}],"versionsText":"na","eol":null,"hubHref":"/vendor/microsoft/forefront_security"},{"vendor":"microsoft","product":"intune_endpoint_protection","name":"intune endpoint protection","label":"intune_endpoint_protection","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"na","noFixRecorded":false,"fixedIn":null}],"versionsText":"na","eol":null,"hubHref":"/vendor/microsoft/intune_endpoint_protection"},{"vendor":"microsoft","product":"malware_protection_engine","name":"Malware Protection Engine","label":"malware_protection_engine","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 1.1.13701.0, < 1.1.13704.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 1.1.13701.0, < 1.1.13704.0","eol":null,"hubHref":"/vendor/microsoft/malware_protection_engine"},{"vendor":"microsoft","product":"security_essentials","name":"security essentials","label":"security_essentials","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"na","noFixRecorded":false,"fixedIn":null}],"versionsText":"na","eol":null,"hubHref":"/vendor/microsoft/security_essentials"},{"vendor":"microsoft","product":"system_center_endpoint_protection","name":"system center endpoint protection","label":"system_center_endpoint_protection","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"na","noFixRecorded":false,"fixedIn":null}],"versionsText":"na","eol":null,"hubHref":"/vendor/microsoft/system_center_endpoint_protection"},{"vendor":"microsoft","product":"windows defender","name":"Windows Defender","label":"windows defender","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"na","noFixRecorded":false,"fixedIn":null}],"versionsText":"na","eol":null,"hubHref":"/vendor/microsoft/windows_defender"}],"affectedCount":10,"eol":{"hasEol":true,"count":1},"references":[{"url":"https://portal.msrc.microsoft.com/en-US/security-guidance/advisory/CVE-2017-8540","label":"portal.msrc.microsoft.com/en-US/security-guidance/advisory/CVE-2017-8540","hostname":"portal.msrc.microsoft.com","tags":["X Refsource CONFIRM","Mitigation","Patch","Vendor Advisory"]},{"url":"http://www.securityfocus.com/bid/98703","label":"www.securityfocus.com/bid/98703","hostname":"www.securityfocus.com","tags":["VDB Entry","X Refsource BID","Broken Link","Third Party Advisory"]},{"url":"https://www.exploit-db.com/exploits/42088/","label":"www.exploit-db.com/exploits/42088/","hostname":"www.exploit-db.com","tags":["Exploit","X Refsource EXPLOIT DB","Third Party Advisory","VDB Entry"]},{"url":"http://www.securitytracker.com/id/1038571","label":"www.securitytracker.com/id/1038571","hostname":"www.securitytracker.com","tags":["VDB Entry","X Refsource SECTRACK","Broken Link","Third Party Advisory"]},{"url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2017-8540","label":"www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2017-8540","hostname":"www.cisa.gov","tags":["Government Resource","US Government Resource"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2017-05-26T20:00:00.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"kev-added","date":"2022-03-03T00:00:00.000Z","label":"Added to CISA KEV","detail":"Microsoft Malware Protection Engine Improper Restriction of Operations Vulnerability","source":"cisa"},{"kind":"kev-due","date":"2022-03-24T00:00:00.000Z","label":"CISA remediation due","detail":"Apply updates per vendor instructions.","source":"cisa"},{"kind":"modified","date":"2025-10-21T23:55:40.255Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":85,"level":"critical","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-20T08:04:10.050Z","stale":false,"partial":false}}