CVE-2017-8540: Microsoft Malware Protection Engine Improper Restriction of Operations Vulnerability

In short

CVE-2017-8540 is a vulnerability in Microsoft Malware Protection Engine that attackers are exploiting. 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… CISA added it to its Known Exploited Vulnerabilities catalog on 3 Mar 2022, and US federal agencies had to fix it by 24 Mar 2022. CISA has not linked it to ransomware campaigns.

What is CVE-2017-8540?

CISA describes it as: 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".

Weakness: CWE-119.

Is CVE-2017-8540 being exploited?

Yes. CISA adds a vulnerability to the catalog only when it has evidence of exploitation in the wild, and it added CVE-2017-8540 on . CISA has not linked it to ransomware campaigns.

FIRST's EPSS model puts the chance of exploitation in the next 30 days at 72%, higher than 99% of scored CVEs (as of 29 Nov 2026).

How severe is CVE-2017-8540?

NVD scores it 7.8 (high) on CVSS 3.1. CVSS measures how bad a flaw is; EPSS and the KEV listing say how likely it is to be used.

How do you fix CVE-2017-8540?

CISA's required action: Apply updates per vendor instructions.

US federal agencies had until . For everyone else that date is a ceiling, not a target.

Which versions are affected?

CISA's catalog does not list version numbers. The vendor advisory and the NVD record list the affected and fixed versions.

Sources

  1. CISA Known Exploited Vulnerabilities catalog: CVE-2017-8540
  2. NIST National Vulnerability Database: CVE-2017-8540
  3. CVE record
  4. FIRST Exploit Prediction Scoring System (EPSS)

Data last updated · Compiled by Rokkhe Research from CISA, FIRST and NVD. This page uses the NVD API and is not endorsed or certified by the NVD.

Put your attack surface on the record.

Agree the scope, see a real finding, leave with a quote.

Scope approved first. Evidence with every finding.