Skip to main content
Mallory
HighExploited in the wildCISA KEVVulnerability

CVE-2024-38178: Remote Code Execution in Windows JScript9 JIT Compiler

Published Aug 13, 2024 · Updated 28 days ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 daysNo mention activity in the last 30 days.
CVSS7.5High · v3.1
EPSS41.4%99th percentile
CISA KEVYesAdded Aug 13, 2024
In the wildActivePer CISA KEV
Vendor
Microsoft Corporation
IdentifiersCVE-2024-38178CWE-843 · Access of Resource Using…

CVE-2024-38178 is a type confusion vulnerability in the just-in-time (JIT) compiler of the legacy Windows JScript9 scripting engine used by Internet Explorer and applications embedding its WebView components. Incorrect optimization in GlobOpt::OptArraySrc allows certain operands initialized through increment, decrement, or bitwise operations to escape necessary type validation. Generated code can consequently treat an ordinary object as an Int32Array and perform unsafe memory accesses, enabling memory corruption and remote code execution. The vulnerability bypasses the fix for CVE-2022-41128. It was exploited as a zero-day in attacks attributed to APT37 against South Korean targets through malicious advertisements that legacy WebView components rendered automatically. Microsoft released a fix on August 13, 2024.

Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Analyst brief

Impact, mitigation & remediation

What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.

Impact

What an attacker gets, and what they’ve been doing with it.

Successful exploitation permits arbitrary code execution within the application hosting the vulnerable scripting engine. Unsandboxed applications can expose execution at Medium Integrity Level, enabling compromise within the affected user's security context. Observed exploitation delivered ROKRAT, supporting remote command execution and sensitive-data theft. The vulnerability does not itself establish SYSTEM-level privileges or a general sandbox escape.

Mitigation

If you can’t patch tonight, do this now.

Disable Microsoft Edge Internet Explorer mode where unnecessary, block remote HTML content in Microsoft Office, and avoid applications that render untrusted content through legacy Internet Explorer WebViews. Where immediate Microsoft patching is unavailable, 0patch offers a JIT-disabling micropatch for specified legacy Windows desktop and server configurations through eligible PRO or Enterprise deployments. This changes NewFunctionCodeGen to return failure, retaining interpreted JavaScript execution while preventing the vulnerable JIT compilation path. These measures do not replace installing the applicable Windows security update.

Remediation

Patch, then assume compromise.

Install the applicable Windows security updates released on August 13, 2024, or subsequent cumulative updates that include the fix. Apply operating-system updates even where Internet Explorer is no longer used directly, because third-party applications can still invoke the legacy scripting engine. Microsoft's fix adds operand-type comparisons and type handling to prevent incorrect JIT assumptions. Software vendors should replace Internet Explorer-based WebView components with supported Edge-based alternatives.

Public exploits

Exploits

No public exploits tracked yet. Mallory keeps watching.

View more in app →
No public exploit code observed for this vulnerability. Mallory keeps watching.
Exposure surface

Affected products & vendors

Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.

VendorProductType
Microsoft CorporationWindows 10 1507operating_system
Microsoft CorporationWindows 10 1607operating_system
Microsoft CorporationWindows 10 1809operating_system
Microsoft CorporationWindows 10 21h2operating_system
Microsoft CorporationWindows 10 22h2operating_system
Microsoft CorporationWindows 11 21h2operating_system
Microsoft CorporationWindows 11 22h2operating_system
Microsoft CorporationWindows 11 23h2operating_system
Microsoft CorporationWindows 11 24h2operating_system
Microsoft CorporationWindows Server 2012operating_system
Microsoft CorporationWindows Server 2012 R2operating_system
Microsoft CorporationWindows Server 2016operating_system
Microsoft CorporationWindows Server 2019operating_system
Microsoft CorporationWindows Server 2022operating_system
Microsoft CorporationWindows Server 2022 23h2operating_system
Microsoft CorporationWindows Server 23h2operating_system
FAQ

Frequently asked questions

Is CVE-2024-38178 exploited in the wild?
Yes. As of Oct 25, 2026, Mallory has reports of exploitation in the wild, and CISA added it to KEV on Aug 13, 2024.
Is there a public exploit for CVE-2024-38178?
As of Oct 25, 2026, Mallory has found no public exploit for CVE-2024-38178.
Is there a patch for CVE-2024-38178?
Install the applicable Windows security updates released on August 13, 2024, or subsequent cumulative updates that include the fix. Apply operating-system updates even where Internet Explorer is no longer used directly, because third-party applications can still invoke the legacy scripting engine.
What products are affected by CVE-2024-38178?
Microsoft Corporation Windows 10 1507, Microsoft Corporation Windows 10 1607, Microsoft Corporation Windows 10 1809, Microsoft Corporation Windows 10 21h2, Microsoft Corporation Windows 10 22h2, and 11 more.
How severe is CVE-2024-38178?
CVE-2024-38178 has a CVSS v3.1 score of 7.5 (High) and an EPSS score of 41.4% (99th percentile) as of Oct 25, 2026.
Activity feed

Recent activity

20 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.

View more in app →
+10 more in the timeline. Sign up to see them
Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Mallory platform

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which adversaries are exploiting it right now, and which detections to deploy tonight.
Exposure mappingQuery your assets running an affected version, and investigate the blast radius.
Threat actor evidence6Every report linking this CVE to a named adversary.
Associated malware3Malware families linked to this CVE, with evidence and IOCs.
Detection signatures2YARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Vendor-by-vendor mappingCross-references every affected SKU, including bundled OEM variants.
Social activity2Community discussion across Reddit, Mastodon, and other social sources.