CVE-2017-8658 · microsoft
CVE-2017-8658
A remote code execution vulnerability exists in the way that the Chakra JavaScript engine renders when handling objects in memory, aka "Scripting Engine Memory Corruption Vulnerability".
Published 2017-08-11, last changed 2026-06-17. Weakness: CWE-119.
How to fix
Upgrade to a fixed version: Microsoft.ChakraCore 1.6.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 #3509, 2500e1cdc1. Functions changed by the fix: GetArgType, Func, HasBailOnNoProfile, Build, BuildUnsigned1, BuildIntConstOpnd, GetMappedTemp, SetMappedTemp, GetTempUsed, SetTempUsed, IRBuilderAsmJs::CreateLoadConstInstrForType, EnsureConsistentConstCount. Regression tests: test/AsmJs/badFunctionType.baseline, test/AsmJs/badFunctionType.js, test/AsmJs/bug12239366.js, test/AsmJs/rlexe.xml. Confidence: verified (a record names this commit as the fix, and it changed these functions).
Timeline
| 2017-08-11 | Published |
| 2022-05-17 | Package advisory GHSA-8v2h-4jpm-3wfm |
| 2026-06-17 | Record last changed |
| 2026-11-30 | EPSS when our history starts: 20.1% |
| 2026-12-01 | Code-level analysis added |
Affected packages
| Advisory | Package | Fixed in |
|---|---|---|
| GHSA-8v2h-4jpm-3wfm | Microsoft.ChakraCore (NuGet) | 1.6.1 |
Also known as: GHSA-8v2h-4jpm-3wfm
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-2017-8658, or call /api/v1/vulnerabilities/CVE-2017-8658. To prove whether it is exploitable in your running app, run Shannon, Keygraph's open-source AI pentester.