CVE-2018-8513
Description
Chakra scripting engine memory corruption in Microsoft Edge and ChakraCore allows remote code execution via crafted website.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Chakra scripting engine memory corruption in Microsoft Edge and ChakraCore allows remote code execution via crafted website.
Vulnerability
A remote code execution vulnerability exists in the way that the Chakra scripting engine handles objects in memory in Microsoft Edge, affecting versions on Windows 10 32-bit and x64-based systems, as well as ChakraCore [1][2]. This memory corruption issue, classified as a failure to handle exceptional conditions, can be triggered when processing specially crafted content [2]. The vulnerability is distinct from CVE-2018-8503, CVE-2018-8505, CVE-2018-8510, and CVE-2018-8511 [1].
Exploitation
An attacker can exploit this vulnerability by hosting a malicious website and persuading a user to visit it [1][4]. No authentication or special privileges are required. The user must only browse to the attacker-controlled site using Microsoft Edge or ChakraCore [2]. The attacker may also embed malicious content in other applications or documents that host the Edge WebView component [4].
Impact
Successful exploitation allows an attacker to execute arbitrary code in the context of the current user [1][4]. This can lead to full compromise of the affected system, including installation of programs, viewing, changing, or deleting data, and creation of new accounts with full user rights [1].
Mitigation
Microsoft released security updates on October 9, 2018, to address this vulnerability [4]. Users should apply the latest Microsoft Edge or Windows updates. For ChakraCore, Microsoft continued to provide security updates until March 9, 2021, after which the engine entered a community-supported phase [3]. No workarounds have been disclosed [2].
- NVD - CVE-2018-8513
- Microsoft Edge Chakra Scripting Engine CVE-2018-8513 Remote Memory Corruption Vulnerability
- GitHub - chakra-core/ChakraCore: ChakraCore is an open source Javascript engine with a C API.
- Microsoft Edge Multiple Bugs Let Remote Users Execute Arbitrary Code and Obtain Conduct Cross-Site Scripting Attacks on the Target System
AI Insight generated on May 22, 2026. Synthesized from this CVE's description and the cited reference URLs; citations are validated against the source bundle.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
Microsoft.ChakraCoreNuGet | < 1.11.2 | 1.11.2 |
Affected products
3- Range: ChakraCore
Patches
18997c7017891[CVE-2018-8513] Type confusion after converting accessor property to data
1 file changed · +3 −0
lib/Runtime/Types/PathTypeHandler.cpp+3 −0 modified@@ -1476,6 +1476,9 @@ namespace Js if (!(attributes[descriptor->GetDataPropertyIndex<false>()] & ObjectSlotAttr_Accessor)) { // Setter without a getter; this is a stale entry, so ignore it + // Just consume the slot so no descriptor refers to it. + Assert(i == newTypeHandler->nextPropertyIndex); + ::Math::PostInc(newTypeHandler->nextPropertyIndex); continue; } Assert(oldTypeHandler->GetSetterSlotIndex(descriptor->GetDataPropertyIndex<false>()) == newTypeHandler->nextPropertyIndex);
Vulnerability mechanics
Generated on May 9, 2026. Inputs: CWE entries + fix-commit diffs from this CVE's patches. Citations validated against bundle.
References
9- github.com/advisories/GHSA-3hqw-mg9x-r2vrghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2018-8513ghsaADVISORY
- www.securityfocus.com/bid/105473mitrevdb-entryx_refsource_BID
- www.securitytracker.com/id/1041825mitrevdb-entryx_refsource_SECTRACK
- github.com/chakra-core/ChakraCore/commit/8997c7017891f45904f9273fbf1d0af4e364d1feghsaWEB
- github.com/chakra-core/ChakraCore/pull/5764ghsaWEB
- portal.msrc.microsoft.com/en-US/security-guidance/advisory/CVE-2018-8513ghsax_refsource_CONFIRMWEB
- web.archive.org/web/20210419172416/http://www.securityfocus.com/bid/105473ghsaWEB
- web.archive.org/web/20210927074321/http://www.securitytracker.com/id/1041825ghsaWEB
News mentions
0No linked articles in our index yet.