CVE-2016-7240 · microsoft
CVE-2016-7240
The Chakra JavaScript scripting engine in Microsoft Edge allows remote attackers to execute arbitrary code or cause a denial of service (memory corruption) via a crafted web site, aka "Scripting Engine Memory Corruption Vulnerability," a different vulnerability than CVE-2016-7200, CVE-2016-7201, CVE-2016-7202, CVE-2016-7203, CVE-2016-7208, CVE-2016-7242, and CVE-2016-7243.
Published 2016-11-10, last changed 2026-06-17. Weakness: CWE-119.
Public exploits
| Source | Kind | Reference |
|---|---|---|
| exploit-db | proof-of-concept | EDB-40773 |
How to fix
Upgrade to a fixed version: Microsoft.ChakraCore 1.2.2 (NuGet). For the version that clears every advisory for your installed version, ask an agent for get_remediation.
Where the flaw is in the code
Fixed in chakra-core/ChakraCore by pull request #1982, c2787ef8fd. The fix changed source code, but no function could be located in it. Regression tests: test/Array/Array_TypeConfusion_bugs.js, test/es6/ES6NewTarget_bugfixes.js. Confidence: inferred (code changed near the fix, but no record names this exact commit as the fix).
Timeline
| 2016-11-10 | Published |
| 2022-05-14 | Package advisory GHSA-hh3v-5chw-wgh7 |
| 2026-06-17 | Record last changed |
| 2026-11-30 | EPSS when our history starts: 66.5% |
| 2026-12-01 | Code-level analysis added |
Affected packages
| Advisory | Package | Fixed in |
|---|---|---|
| GHSA-hh3v-5chw-wgh7 | Microsoft.ChakraCore (NuGet) | 1.2.2 |
Also known as: GHSA-hh3v-5chw-wgh7
Related
| CVE | Published | CVSS | Summary |
|---|---|---|---|
| CVE-2021-42279 | 2021-11-10 | 5.1 | Chakra Scripting Engine Memory Corruption Vulnerability |
| CVE-2020-17131 | 2020-12-10 | 5.1 | Chakra Scripting Engine Memory Corruption Vulnerability |
| CVE-2020-17054 | 2020-11-11 | 7.6 | Chakra Scripting Engine Memory Corruption Vulnerability |
| CVE-2020-17048 | 2020-11-11 | 6.8 | Chakra Scripting Engine Memory Corruption Vulnerability |
| CVE-2020-1180 | 2020-09-11 | 7.6 | Scripting Engine Memory Corruption Vulnerability |
| CVE-2020-1172 | 2020-09-11 | 7.6 | Scripting Engine Memory Corruption Vulnerability |
| CVE-2020-1057 | 2020-09-11 | 9.3 | Scripting Engine Memory Corruption Vulnerability |
| CVE-2020-1073 | 2020-06-09 | 8.1 | same package: Microsoft.ChakraCore (NuGet) |
Add it to your agent
One command for Claude Code; setup for Claude Desktop, Cursor and others. No signup or key.
claude mcp add --transport http keygraph-cve https://cve-mcp.keygraph.io/mcp
Then ask for triage_cve CVE-2016-7240, or call /api/v1/vulnerabilities/CVE-2016-7240. To prove whether it is exploitable in your running app, run Shannon, Keygraph's open-source AI pentester.