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
HIGH
CVSS v3
7.8
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H · source nvd
Exploit chance (EPSS)
71.874%
chance of exploitation in the next 30 days
higher than 99.4% of scored CVEs · 2026-11-17
CISA KEV
Listed
added 2022-03-03
Public exploit code
Yes
Exploit references (NVD and CNA): 1
Metasploit modules: 0
Nuclei templates: 0
Exploit-DB: 1
Weakness
- CWE-787: Out-of-bounds Write
CISA Known Exploited Vulnerabilities entry
| Vulnerability name | Microsoft Malware Protection Engine Improper Restriction of Operations Vulnerability |
|---|---|
| Vendor / product | Microsoft / Malware Protection Engine |
| Date added | 2022-03-03 |
| Federal remediation due date | 2022-03-24 |
| Required action | Apply updates per vendor instructions. |
| Known ransomware campaign use | Unknown |
CISA SSVC decision points
| Exploitation | active |
|---|---|
| Automatable | no |
| Technical impact | total |
| Scored | 2025-02-10 |
Timeline
- 2017-05-26Published by the CNA20:00 UTC
- 2017-05-30First Exploit-DB entry (EDB-ID 42088)4 days after publication
- 2022-03-03Added to the CISA KEV catalog1742 days after publication
- 2025-02-10CISA SSVC decision recorded2817 days after publication
Exploit and advisory records
| Exploit-DB | Type | Platform | Published | EDB-verified |
|---|---|---|---|---|
| EDB-ID 42088 | dos | windows | 2017-05-30 | yes |
Affected products
| Vendor | Product |
|---|---|
| microsoft | endpoint_protection |
| microsoft | exchange_server |
| microsoft | forefront_endpoint_protection |
| microsoft | forefront_security |
| microsoft | intune_endpoint_protection |
| microsoft | malware_protection_engine |
| microsoft | security_essentials |
| microsoft | system_center_endpoint_protection |
| microsoft | windows_defender |
References
- https://portal.msrc.microsoft.com/en-US/security-guidance/advisory/CVE-2017-8540
- https://www.exploit-db.com/exploits/42088/
- http://www.securityfocus.com/bid/98703
- http://www.securitytracker.com/id/1038571
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2017-8540
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2017-8540'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2017-8540'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2017-8540'curl 'https://api.contrastcyber.com/cve_products/CVE-2017-8540'curl 'https://api.contrastcyber.com/kev_lookup/CVE-2017-8540'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).