CVE-2017-8640

HIGH

Microsoft Edge - Remote Code Execution via Scripting Engine Memory Corruption

Title source: llm
STIX 2.1

Exploitation Summary

EIP tracks 1 public exploit for CVE-2017-8640. PoCs published by Google Security Research.

AI-analyzed exploit summary This PoC exploits a vulnerability in ChakraCore's JavaScript engine where incorrect handling of the 'arguments' variable in a function leads to uninitialized memory access. The exploit triggers a use-after-free condition by manipulating the 'grfpn' flag in a function node, potentially leading to remote code execution.

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.

Exploits (1)

exploitdb WORKING POC VERIFIED
by Google Security Research · htmldoswindows
https://www.exploit-db.com/exploits/42476

This PoC exploits a vulnerability in ChakraCore's JavaScript engine where incorrect handling of the 'arguments' variable in a function leads to uninitialized memory access. The exploit triggers a use-after-free condition by manipulating the 'grfpn' flag in a function node, potentially leading to remote code execution.

Classification
Working Poc 90%
Attack Type
Rce
Complexity
Moderate
Reliability
Reliable
Target: ChakraCore (Microsoft Edge)
No auth needed
Prerequisites: Target must be using a vulnerable version of ChakraCore
devstral-2 · analyzed Feb 16, 2026 Full analysis →

References (4)

Core 4
Core References
Third Party Advisory, VDB Entry vdb-entry x_refsource_bid
http://www.securityfocus.com/bid/100051
Exploit, Third Party Advisory exploit x_refsource_exploit-db
https://www.exploit-db.com/exploits/42476/
Third Party Advisory, VDB Entry vdb-entry x_refsource_sectrack
http://www.securitytracker.com/id/1039095

Scores

CVSS v3 7.5
EPSS 0.8188
EPSS Percentile 99.2%
Attack Vector NETWORK
CVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H

Details

CWE
CWE-119
Status published
Products (2)
microsoft/edge
Microsoft Corporation/Microsoft Scripting Engine Windows 10 Gold, 1511, 1607, 1703, and Windows Server 2016.
Published Aug 08, 2017
Tracked Since Feb 18, 2026