Vulnerability record · CVE-2017-8640 · published 8 August 2017
CVE-2017-8640: Microsoft Edge scripting engine memory corruption allows code execution
Microsoft · Edge
Microsoft Edge's JavaScript engine mishandles objects in memory, causing a memory corruption condition (CWE-119) when rendering content. A remote attacker can exploit this to run arbitrary code in the context of the current user, which matters because the browser is a common entry point for full user-level compromise.
Description
Microsoft Edge in Windows 10 Gold, 1511, 1607, 1703, and Windows Server 2016 allows an attacker to execute arbitrary code in the context of the current user due to the way that Microsoft browser JavaScript engines render content when handling objects in memory, aka "Scripting Engine Memory Corruption Vulnerability". This CVE ID is unique from CVE-2017-8634, CVE-2017-8635, CVE-2017-8636, CVE-2017-8638, CVE-2017-8639, CVE-2017-8641, CVE-2017-8645, CVE-2017-8646, CVE-2017-8647, CVE-2017-8655, CVE-2017-8656, CVE-2017-8657, CVE-2017-8670, CVE-2017-8671, CVE-2017-8672, and CVE-2017-8674.
CVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
Automated analysis
high priorityRemote code execution in a widely deployed browser with public exploit code and very high EPSS, though exploitation requires user interaction and the affected platforms are legacy.
What it is
Microsoft Edge's JavaScript engine mishandles objects in memory, causing a memory corruption condition (CWE-119) when rendering content. A remote attacker can exploit this to run arbitrary code in the context of the current user, which matters because the browser is a common entry point for full user-level compromise.
Impact
An attacker gains arbitrary code execution with the privileges of the logged-in user, enabling data theft, persistence, or further lateral movement. Because the flaw is in the browser engine, successful exploitation can compromise the host without a separate privilege escalation step.
Attack surface
Reached over the network by a user visiting attacker-controlled or compromised web content in Microsoft Edge; the CVSS vector shows no privileges required but user interaction required (UI:R), so the victim must open the page. No authentication is needed.
Exploitation
Not listed in CISA KEV, but EPSS is very high (0.69277, 99.3rd percentile) and a public Exploit-DB entry (42476) exists, indicating exploit code is available. No ransomware group usage is documented.
What to do
- Apply the Microsoft security update referenced in the vendor advisory (portal.msrc.microsoft.com) for the affected Windows 10 and Windows Server 2016 builds.
- Upgrade to a currently supported Windows release and browser version, since the listed platforms (Gold, 1511, 1607, 1703) are long out of support.
- Enforce browser hardening such as Enhanced Mitigation Experience Toolkit/Exploit Protection and disable unnecessary scripting where feasible.
- Restrict or block access to untrusted web content and use network filtering to reduce exposure to exploit-hosting sites.
Detection
- Monitor for Edge (MicrosoftEdge.exe) crashes or abnormal child process creation, which can indicate memory corruption exploitation.
- Alert on suspicious post-browser process chains, such as a browser process spawning scripting hosts, PowerShell, or cmd.
- Hunt for known exploit artifacts tied to Exploit-DB 42476 and related scripting-engine PoCs in web proxy or endpoint telemetry.
- Correlate endpoint telemetry for browser exploitation indicators with outbound connections to newly seen or low-reputation hosts.
This assessment is produced automatically and is not human-reviewed. Verify against the vendor advisory before acting on it.
Affected products
1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.
References
| Link | Tags |
|---|---|
| http://www.securityfocus.com/bid/100051 | Third Party AdvisoryVDB Entry |
| http://www.securitytracker.com/id/1039095 | Third Party AdvisoryVDB Entry |
| https://portal.msrc.microsoft.com/en-US/security-guidance/advisory/CVE-2017-8640 | PatchVendor Advisory |
| https://www.exploit-db.com/exploits/42476/ | |
| http://www.securityfocus.com/bid/100051 | Third Party AdvisoryVDB Entry |
| http://www.securitytracker.com/id/1039095 | Third Party AdvisoryVDB Entry |
| https://portal.msrc.microsoft.com/en-US/security-guidance/advisory/CVE-2017-8640 | PatchVendor Advisory |
| https://www.exploit-db.com/exploits/42476/ |
Track CVE-2017-8640 inside VULONE
Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.
Related vulnerabilities
Same products first, then exploited flaws of the same weakness class.
Source: NIST National Vulnerability Database (record CVE-2017-8640), CISA KEV, FIRST EPSS (scores of 2026-09-26). This page is refreshed as NVD updates the record.