CVE-2018-8298: ChakraCore Scripting Engine Type Confusion Vulnerability
Yes. CVE-2018-8298 has been used in real attacks. CISA added it to its Known Exploited Vulnerabilities catalog on 3 March 2022. Public exploit code is available: 1 Exploit-DB entry. EPSS puts the chance of further exploitation attempts in the next 30 days at 74.5%.
- Exploited in real attacks
- Yes. On CISA's exploited list since 3 March 2022
- Used in ransomware
- Not known
- Public exploit code
- 1 Exploit-DB entry
- Chance of exploitation (EPSS)
- 74.5% in the next 30 days, higher than 99.5% of scored vulnerabilities. Scored 5 December 2026
- Severity (CVSS)
- 7.5 High (version 3.1)
- Affects
- ChakraCore scripting engine
- Type of flaw
- Type confusion (CWE-843)
- Published
- 11 July 2018
- US federal patch deadline
- 17 March 2022
What it is
The ChakraCore scripting engine contains a type confusion vulnerability which can allow for remote code execution.
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.
Description from the CVE record.
Is CVE-2018-8298 being exploited?
Yes. CISA lists a vulnerability as known exploited only when it has reliable evidence of exploitation in real attacks, and it added CVE-2018-8298 on 3 March 2022. That was 3 years after the CVE was published, so attackers are still finding unpatched systems long after the fix.
Public exploit code
These are public references that anyone, including an attacker, can find. Their existence lowers the skill needed to use the flaw.
| Source | Entry | Published |
|---|---|---|
| Exploit-DB | Microsoft Edge Chakra JIT - 'InitializeNumberFormat'/'InitializeDateTimeFormat' Type Confusion (PoC) | 17 August 2018 |
Affected products
- Microsoft ChakraCore
From the CVE record. Check the vendor advisory for the full list of fixed versions.
What to do
CISA's required action: Apply updates per vendor instructions.
Because this flaw has already been used in attacks, patching is only half the job. If an affected system was reachable while unpatched, check it for signs of compromise before trusting it again.
How to check whether you are exposed
- Find every copy. List each place ChakraCore scripting engine runs, including test systems and anything set up outside IT.
- Compare versions. Match what you find against the affected versions in the vendor advisory.
- Check reachability. An affected system that faces the internet is urgent; one reachable only from inside still matters once an attacker has a foothold.
HackDrill
Find out whether this is reachable in your systems.
A version number tells you a system is affected. A hacking drill tells you whether an attacker can actually get in through a flaw like this one in ChakraCore scripting engine. HackDrill's AI agents attack your product, infrastructure, network and cloud the way modern attackers do, and show you the real, exploitable gaps so you can fix them first.
Sources
- CVE record for CVE-2018-8298
- NVD entry
- CISA Known Exploited Vulnerabilities catalog, version 2026.12.04
- FIRST EPSS, scores dated 5 December 2026
- portal.msrc.microsoft.com (x_refsource_CONFIRM)
- www.securityfocus.com (vdb-entry, x_refsource_BID)
- www.exploit-db.com (exploit, x_refsource_EXPLOIT-DB)
Machine-readable: /api/cve/CVE-2018-8298.json