CVE-2017-8540

Microsoft Malware Protection Engine Improper Restriction of Operations Vulnerability

Published 26 May 2017 Updated 21 Oct 2025 CNA: microsoft

Known exploited

CISA added this CVE to its list of known exploited vulnerabilities on 3 Mar 2022. US federal agencies had to act by 24 Mar 2022.

Name
Microsoft Malware Protection Engine Improper Restriction of Operations Vulnerability
Required action
Apply updates per vendor instructions.
Ransomware
Use in ransomware campaigns is not known
Notes
https://nvd.nist.gov/vuln/detail/CVE-2017-8540

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.

Severity (CVSS)

7.8 high CVSS 3.1 from CISA (ADP)
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Attack vector
local: the attacker needs local access, or a user has to open a prepared file
Attack complexity
low: an attack works without special conditions
Privileges required
none: the attacker does not need an account
User interaction
required: a user has to do something, such as open a link or a file
Scope
unchanged: the damage stays inside the vulnerable component
Impact
confidentiality high, integrity high, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)

Exploitation

EPSS 71.8%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 99.5% of all scored CVEs. Scores of 26 Nov 2026.

The assessment of CISA (SSVC, 10 Feb 2025):

Exploitation
active: CISA has reliable evidence of exploitation in the wild
Automatable
no: each attack takes manual steps
Technical impact
total: full control of the component or of its data

Weakness

Affected products

As the CNA lists them.

ProductVersions
Malware Protection Engine
affected Microsoft Forefront and Microsoft Defender on Microsoft Windows Server 2008…

Is my server affected?

This CVE is in Malware Protection Engine of Microsoft Corporation, which Linux distributions and language package managers do not ship. The advisory of the vendor is in the references below.

Vulnpocalypse matches the package lists of Linux servers and containers against the Trivy vulnerability database, which does not list this product.

References

Advisories

Exploits and proof of concept

  • 42088 exploit-db.com · exploit

Other references

  • 98703 securityfocus.com · vdb entry
  • 1038571 securitytracker.com · vdb entry

Source: the record CVE-2017-8540 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.