LiveActive security incident?Get immediate response
CVE Record

CVE-2017-8540: The Microsoft Malware Protection Engine running on Microsoft Forefront and Microsoft Defender on Microsoft...

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.

HighCVSS 7.8Known exploitedUpdated
Glexia's TakeAutomated analysishigh

Security readout for executives and security teams

Plain-English summary

CVE-2017-8540 is a memory corruption flaw in Microsoft Malware Protection Engine. A specially crafted file can cause the engine to run attacker-controlled code when scanned. Because the product is security software deployed broadly across Windows and Exchange environments, exposed legacy systems should be treated as urgent remediation targets.

Executive priority

Treat this as a high-priority legacy Microsoft security-platform issue. Known exploitation and broad placement inside defensive scanning components raise business risk, especially where older Windows or Exchange systems remain in service.

Technical view

The issue is an out-of-bounds write in Microsoft Malware Protection Engine scanning logic. The CVSS vector in the bundle is local, low complexity, no privileges, user interaction required, with high confidentiality, integrity, and availability impact. Affected deployments include Microsoft Forefront, Microsoft Defender on listed Windows versions, and Exchange Server 2013 and 2016.

Likely exposure

Exposure is most likely on systems running the affected Microsoft Malware Protection Engine with Forefront, Defender, or Exchange 2013/2016. The bundle does not provide fixed engine versions or configuration-specific exposure details, so validation must be tied to Microsoft guidance.

Exploitation context

CISA lists CVE-2017-8540 in the Known Exploited Vulnerabilities catalog, which supports known exploitation. The source bundle also includes an Exploit-DB reference. No source text in the bundle provides safe detail on attack prerequisites beyond crafted-file scanning and user interaction in the CVSS vector.

Researcher notes

The bundle identifies CWE-787 and affected product families but does not include fixed versions, exploit details, or Microsoft mitigation text. Avoid assuming exposure based only on OS name; confirm Malware Protection Engine presence and remediation status from vendor data.

Mitigation direction

  • Review the Microsoft MSRC advisory for official remediation and engine update guidance.
  • Prioritize affected Defender, Forefront, and Exchange 2013/2016 systems for remediation.
  • Reduce handling of untrusted files on unremediated systems where operationally feasible.
  • Apply vendor-recommended compensating controls if immediate remediation is not possible.

Validation and detection

  • Inventory systems running Microsoft Malware Protection Engine across Windows and Exchange assets.
  • Compare installed engine status against the Microsoft advisory guidance.
  • Check vulnerability management results for CVE-2017-8540 coverage.
  • Review endpoint and mail security telemetry for vendor-provided indicators or alerts.
Prepared
Confidence
medium
Sources
5

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cwe · low confidence lookup

CWE-787: Exact CWE lookup

Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.

Open ATT&CK lookup
description · low confidence lookup

Execution behavior lookup

The CVE wording references code or command execution, so execution technique review may help defensive triage. This is a Glexia inferred lookup path, not an official MITRE, ATT&CK, or CVE Program mapping.

Open ATT&CK lookup
cve · low confidence lookup

CVE-2017-8540 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
High
CVSS
7.8 (3.1)
Known Exploited
Yes
Published

Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

1CVSS vectors
0Timeline events
0ADP providers
4Source links

CISA KEV status

Status
Known exploited
Source
CISA / ADP
Date added
Not provided

CVSS vector scores

1 official score

We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.

ScoreVersionSeverityVectorExploitImpactSource
7.8CVSS 3.1HighCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H1.85.9Primary CVE score

Vulnerability scoring details

Base CVSS 3.1 score

7.8High
CVSS 3.1 vector shape for CVE-2017-8540Attack VectorAttack ComplexityPrivileges RequiredUser InteractionScopeConfidentiality ImpactIntegrity ImpactAvailability Impact

Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Attack Vector
NetworkAdjacentLocalPhysical
Attack Complexity
LowHigh
Privileges Required
NoneLowHigh
User Interaction
NoneRequired
Scope
ChangedUnchanged
Confidentiality Impact
HighLowNone
Integrity Impact
HighLowNone
Availability Impact
HighLowNone

Source materials

Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
Microsoft CorporationMalware Protection EngineMicrosoft 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.Listed
Weakness

CWE details

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.

CWE-787 · source CWE mapping

Out-of-bounds Write

Out-of-bounds Write represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.