{"id":"CVE-2017-8540","kind":"vulnerability","aliases":["CVE-2017-8540"],"related":[],"title":"Microsoft Malware Protection Engine: 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.","summary":"The Microsoft Malware Protection Engine, used by Defender and Forefront on Windows and Exchange, mishandles a specially crafted file and causes memory corruption. An attacker who gets such a file scanned can run code remotely, and CISA lists it as actively exploited.","severity":"critical","cvss":9.3,"epss":0.71874,"exploited":true,"exploited_at":"2022-03-03T00:00:00+00:00","products":[{"name":"Microsoft Malware Protection Engine","fixed":[],"affected":"","ecosystem":"vendor"}],"ecosystems":["vendor"],"tags":["exchange-server","exploited","forefront","microsoft-defender","vendor","windows"],"not_affected_if":["non-windows-hosts"],"how_to_check":"Check the installed engine version in Microsoft Defender or Windows Security settings and compare it with the fixed engine version in the vendor advisory.","fix":"Update the Microsoft Malware Protection Engine and Defender platform to the version in Microsoft's advisory, as CISA directs.","status":"open","published_at":"2017-05-26T20:29:00+00:00","first_seen_at":"2026-10-23T19:11:52+00:00","triaged_at":"2026-10-23T21:24:24+00:00","updated_at":"2026-10-23T21:57:35+00:00","category":"vendor","confidence":0.7,"triage":{"at":"2026-10-23T21:24:24Z","model":"claude-haiku-5-5","output":{"fix":"Update the Microsoft Malware Protection Engine and Defender platform to the version in Microsoft's advisory, as CISA directs.\nunknown","reach":"network","impact":"high","summary":"The Microsoft Malware Protection Engine, used by Defender and Forefront on Windows and Exchange, mishandles a specially crafted file and causes memory corruption. An attacker who gets such a file scanned can run code remotely, and CISA lists it as actively exploited.","category":"vendor","who_cares":["windows","exchange-server","microsoft-defender","forefront"],"confidence":0.7,"needs_auth":"no","worst_case":"Remote code execution through a crafted file scanned by the engine","analyst_note":"Find the fixed engine version and the update path in Microsoft's CVE-2017-8540 advisory (msrc.microsoft.com), since the sources give no version.","how_to_check":"Check the installed engine version in Microsoft Defender or Windows Security settings and compare it with the fixed engine version in the vendor advisory.\nunknown","needs_analyst":true,"not_affected_if":["non-windows-hosts"],"user_interaction":"no","needs_special_setup":"no","severity_if_unknown":"critical"},"cost_usd":0.000515,"input_tokens":3012,"output_tokens":427,"severity_before":"unknown"},"analyst_status":null,"analyst_note":null,"search":"'-2017':15A,18A,154C,158C '-8538':155C '-8540':16A,19A '-8541':159C '10':112C '1511':114C '1607':115C '1703':117C '2008':92C '2012':104C '2013':125C '2016':121C,127C '7':98C '8.1':101C,110C 'activ':74B 'aka':140C 'attack':58B 'caus':54B 'cisa':70B 'code':67B,146C 'corrupt':56B,139C 'craft':51B,134C 'cve':14A,17A,153C,157C 'defend':31B,41B,87C 'differ':150C 'engin':4A,8A,38B,80C,144C 'engine':23A 'exchang':25B,47B,123C 'exchange-serv':24B 'execut':147C 'exploit':27B,75B 'file':52B,63B,135C 'forefront':28B,43B,84C 'get':60B 'gold':105C,113C 'improp':9A 'lead':136C 'list':71B 'malwar':2A,6A,36B,78C,142C 'malware':21A 'memori':55B,138C 'microsoft':1A,5A,20A,30B,35B,77C,83C,86C,89C,122C,141C 'microsoft-defend':29B 'mishandl':48B 'oper':12A 'proper':130C 'protect':3A,7A,37B,79C,143C 'protection':22A 'r2':95C,107C 'remot':68B,145C 'restrict':10A 'rt':109C 'run':66B,81C 'scan':64B,131C 'server':26B,91C,103C,120C,124C 'sp1':96C,99C 'sp2':93C 'special':50B,133C 'use':39B 'vendor':32B 'vulner':13A,148C,151C 'window':33B,45B,90C,97C,100C,102C,108C,111C,119C","nicknames":[],"mitigations":[],"who_affected":null,"tier":null,"verified":{},"analyst_revisit_at":null,"first_public_at":"2017-05-26T20:29:00+00:00","kev":{"dateAdded":"2022-03-03","dueDate":"2022-03-24","requiredAction":"Apply updates per vendor instructions.","knownRansomwareCampaignUse":"Unknown"},"cvss_vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","cvss_by":"nvd@nist.gov","poc_count":0,"sources":[{"source":"kev","external_id":"CVE-2017-8540","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog?search_api_fulltext=CVE-2017-8540","severity":null,"published_at":"2022-03-03T00:00:00+00:00","modified_at":null,"first_seen_at":"2026-10-23T19:11:52+00:00","fetched_at":"2026-10-25T13:39:32+00:00","note":null},{"source":"epss","external_id":"CVE-2017-8540","url":"https://api.first.org/data/v1/epss?cve=CVE-2017-8540","severity":null,"published_at":null,"modified_at":null,"first_seen_at":"2026-10-23T19:13:44+00:00","fetched_at":"2026-10-23T19:13:44+00:00","note":null},{"source":"nvd","external_id":"CVE-2017-8540","url":"https://nvd.nist.gov/vuln/detail/CVE-2017-8540","severity":null,"published_at":"2017-05-26T20:29:00+00:00","modified_at":"2026-06-17T01:26:32+00:00","first_seen_at":"2026-10-23T21:57:35+00:00","fetched_at":"2026-10-23T21:57:35+00:00","note":null}],"documents":[],"notice":"Free to read at a human pace. An API with keys and an MCP server are in preparation; early access: hello@infrastack.ai"}