CVE-2017-8540 · Known exploited vulnerability

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

Actively exploited (CISA KEV)Ransomware use: UnknownPatch available

Summary

CVE-2017-8540 is an improper restriction of operations vulnerability in Microsoft Malware Protection Engine, rated high severity with a CVSS base score of 7.8.

CISA added it to the Known Exploited Vulnerabilities catalogue on 3 March 2022, which means there is reliable evidence that attackers have exploited it.

It can be exploited by someone who can already run code or log in on the device without needing an account, although a user would need to take an action such as opening a file or link.

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".
CISA catalogue description

Key facts

Affected product
Microsoft · Malware Protection Engine
CVSS severity
High7.8CVSS v3.1CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
EPSS (exploitation likelihood, next 30 days)
71.87%Higher than 99.4% of all scored CVEs
Weakness (CWE)
CWE-119
Added to CISA KEV
CISA due date (US federal agencies)
First published (NVD)
NVD status
Analyzed

CISA required action

Apply updates per vendor instructions.

What UK organisations should do

01 Patch or mitigate

  • The vendor has published a fix. Apply the update to every affected instance, starting with internet-facing systems.
  • CISA's required action: Apply updates per vendor instructions. CISA set a remediation due date of 24 March 2022 for US federal agencies; treat it as an indication of urgency rather than a deadline you can wait for.
  • If you cannot patch straight away, record the risk decision, limit access to the affected service and set a review date.

02 Check your exposure

  • Confirm whether you run Microsoft Malware Protection Engine anywhere, including systems managed by suppliers or cloud providers.
  • Identify every installed version, including embedded or bundled copies, and prioritise internet-facing and user-facing systems.
  • Because this vulnerability is known to be exploited, check affected systems for signs of compromise before and after patching, not just for the missing update.

03 Monitor and respond

  • Watch for crashes or restarts of the affected service, which can indicate exploitation attempts, alongside unusual process activity.
  • If you find signs of compromise, follow your incident response plan. UK organisations can report significant incidents to the National Cyber Security Centre (NCSC), and personal data breaches may need to be reported to the ICO within 72 hours.

More from Microsoft

  • CVE-2026-124194

    Office

    Outlook Missing User Interaction for Potentially Unsafe Action

    Medium6.5
  • CVE-2026-96951

    Windows

    Command Injection

    High8.8
  • CVE-2026-65660

    SharePoint

    Code Injection

    High8.8
  • CVE-2026-85880

    Windows

    Heap-Based Buffer Overflow

    High7.8
  • CVE-2026-81963

    Windows

    Link Following

    High7.8
  • CVE-2019-1068

    SQL Server

    Remote Code Execution

    High8.8
All 391 Microsoft vulnerabilities

Same weakness (CWE-119) in other products

  • CVE-2026-88779

    Citrix · NetScaler

    Memory corruption

    High7.5
  • CVE-2026-88772

    Citrix · NetScaler

    Memory corruption

    High8.1
  • CVE-2026-88771

    Citrix · NetScaler

    Improper Input Validation

    Critical9.8
  • CVE-2026-8452

    Citrix · NetScaler ADC and NetScaler Gateway

    Memory corruption

    Critical9.8
  • CVE-2009-3459

    Adobe · Acrobat and Reader

    Heap-Based Buffer Overflow

    High8.8
  • CVE-2025-31277

    Apple · Multiple Products

    Buffer Overflow

    High8.8

Sources and references

Last updated . Summary and guidance are generated from CISA, NVD and FIRST data; always confirm details in the vendor advisory.