CVE-2016-7189 · microsoft
CVE-2016-7189
The Chakra JavaScript engine in Microsoft Edge allows remote attackers to execute arbitrary code via a crafted web site, aka "Scripting Engine Remote Code Execution Vulnerability."
Published 2016-10-14, last changed 2026-06-17. Weakness: CWE-119.
Public exploits
| Source | Kind | Reference |
|---|---|---|
| exploit-db | proof-of-concept | EDB-40604 |
How to fix
Upgrade to a fixed version: Microsoft.ChakraCore 1.2.1 (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 #1737, f05c42e64c. Functions changed by the fix: CalculateCRC32, Encode, Encoder::TryCopyAndAddRelocRecordsForSwitchJumpTableEntries, Encoder::ValidateCRCOnFinalBuffer, Encoder::EnsureRelocEntryIntegrity, Encoder::CalculateCRC, Encoder::ValidateCRC, ShortenBranchesAndLabelAlign, Encoder::CopyPartialBuffer, Encoder::CopyPartialBufferAndCalculateCRC, TryTailDup, LowererMD::GenerateFastInlineBuiltInCall. Regression tests: test/Array/Array_TypeConfusion_bugs.js, test/es6/spread.js. Confidence: verified (a record names this commit as the fix, and it changed these functions).
Timeline
| 2016-10-14 | Published |
| 2022-05-14 | Package advisory GHSA-vr4j-gj8q-m89v |
| 2026-06-17 | Record last changed |
| 2026-11-30 | EPSS when our history starts: 48.1% |
| 2026-12-01 | Code-level analysis added |
Affected packages
| Advisory | Package | Fixed in |
|---|---|---|
| GHSA-vr4j-gj8q-m89v | Microsoft.ChakraCore (NuGet) | 1.2.1 |
Also known as: GHSA-vr4j-gj8q-m89v
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-7189, or call /api/v1/vulnerabilities/CVE-2016-7189. To prove whether it is exploitable in your running app, run Shannon, Keygraph's open-source AI pentester.