← Vulnerability feed

Vulnerability record · CVE-2018-8298 · published 11 July 2018

CVE-2018-8298: ChakraCore scripting engine type confusion allows remote code execution

Microsoft · Chakracore

ChakraCore mishandles objects in memory in a way that leads to type confusion (CWE-843), which the vendor classifies as a remote code execution vulnerability. Because the engine is used to parse and execute script content, a crafted page or script can corrupt memory and potentially run attacker-controlled code in the context of the affected process.

7.5 CVSS 3.1 High CISA KEV since 3 Mar 2022 EPSS 75% · top 0.5% CWE-843 · Type confusion
7.5CVSS 3.1 base score, v2 7.6
75%EPSS exploitation probability, 30 days
YesIn CISA KEV, fix deadline passed
1Affected product versions listed by NVD
7References, 2 tagged exploit
17 Jun 2026Last modified by NVD

Description

A remote code execution vulnerability exists in the way that the ChakraCore scripting engine handles objects in memory, aka "Scripting Engine Memory Corruption Vulnerability." This affects ChakraCore. This CVE ID is unique from CVE-2018-8242, CVE-2018-8283, CVE-2018-8287, CVE-2018-8288, CVE-2018-8291, CVE-2018-8296.

CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H

Automated analysis

Generated by VULONE's analysis model from the NVD record, CISA KEV and EPSS data on 17 September 2026. Confidence: high.

high priorityNetwork-reachable remote code execution with a public exploit and KEV listing, though exploitation requires user interaction and high attack complexity.

What it is

ChakraCore mishandles objects in memory in a way that leads to type confusion (CWE-843), which the vendor classifies as a remote code execution vulnerability. Because the engine is used to parse and execute script content, a crafted page or script can corrupt memory and potentially run attacker-controlled code in the context of the affected process.

Impact

An attacker who successfully triggers the type confusion can execute arbitrary code with the privileges of the process running ChakraCore, typically the user or application hosting the engine.

Attack surface

The CVSS vector is network-reachable (AV:N) with no privileges required (PR:N) but user interaction required (UI:R), meaning a victim must open or load attacker-supplied script content. Attack complexity is rated High (AC:H), so reliable triggering is not trivial.

Exploitation

CVE-2018-8298 is listed in CISA KEV (added 2022-03-03) and has a public Exploit-DB entry (45217), indicating known exploitation in the wild; EPSS is 0.745 (99.5th percentile). No ransomware campaign use is documented.

What to do

  • Apply the Microsoft security update referenced in the vendor advisory (portal.msrc.microsoft.com advisory CVE-2018-8298) to all ChakraCore deployments.
  • If ChakraCore is embedded in an application, update to the fixed engine build and rebuild/redeploy the host application.
  • Restrict execution of untrusted script content and block known exploit delivery paths at the network and email layers.
  • Where ChakraCore is not required, remove or disable the component to reduce exposure.
  • Track KEV remediation deadlines (due 2022-03-17) and verify patched status across all instances.

Detection

  • Monitor for crashes or abnormal process termination in applications hosting ChakraCore, which can indicate type confusion triggering.
  • Hunt for known Exploit-DB 45217 payload patterns or related script content in web and email traffic.
  • Alert on unexpected child processes or code execution spawned from ChakraCore-hosting processes.
  • Audit installed ChakraCore versions against the vendor-fixed build and flag unpatched hosts.

This assessment is produced automatically and is not human-reviewed. Verify against the vendor advisory before acting on it.

Exploitation in the wild

CISA added CVE-2018-8298 to the Known Exploited Vulnerabilities catalog on 3 March 2022 as "ChakraCore Scripting Engine Type Confusion Vulnerability". Required action: Apply updates per vendor instructions. Federal deadline 17 March 2022.

Affected products

1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

Track CVE-2018-8298 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

4.2CVE-2020-0878Microsoft browsers memory corruption remote code executionMicrosoft Internet Explorer, Edge and ChakraCore mishandle objects in memory, allowing memory corruption via an out-of-bounds write (CWE-787). A craf…KEVEPSS 2.7%analysed9.8CVE-2018-8500Microsoft chakracore out-of-bounds write vulnerabilityA remote code execution vulnerability exists in the way that the ChakraCore scripting engine handles objects in memory, aka "Scripting Engine Memory …EPSS 18%9.8CVE-2017-11767Microsoft chakracore memory buffer overflow vulnerabilityChakraCore allows an attacker to gain the same user rights as the current user, due to the way that the ChakraCore scripting engine handles objects i…EPSS 9.5%9.8CVE-2017-8658Microsoft chakracore memory buffer overflow vulnerabilityA remote code execution vulnerability exists in the way that the Chakra JavaScript engine renders when handling objects in memory, aka "Scripting Eng…EPSS 20%8.8CVE-2020-1555Microsoft edge out-of-bounds write vulnerabilityA remote code execution vulnerability exists in the way that the scripting engine handles objects in memory in Microsoft Edge (HTML-based). The vulne…EPSS 4.5%8.1CVE-2020-1073Microsoft edge out-of-bounds write vulnerabilityA remote code execution vulnerability exists in the way that the ChakraCore scripting engine handles objects in memory, aka 'Scripting Engine Memory …EPSS 8.6%8.1CVE-2019-0649Microsoft edge vulnerabilityA vulnerability exists in Microsoft Chakra JIT server, aka 'Scripting Engine Elevation of Privileged Vulnerability'.EPSS 4.3%7.5CVE-2020-23315Microsoft chakracore vulnerabilityThere is an ASSERTION (pFuncBody->GetYieldRegister() == oldYieldRegister) failed in Js::DebugContext::RundownSourcesAndReparse in ChakraCore version …EPSS 2.4%

Source: NIST National Vulnerability Database (record CVE-2018-8298), CISA KEV, FIRST EPSS (scores of 2026-09-26). This page is refreshed as NVD updates the record.