Microsoft JScript Engine Use-After-Free Remote Code Execution (CVE-2025-30397)
A public exploit exists for a use-after-free vulnerability in the legacy JScript engine (jscript.dll) that allows remote code execution via Internet Explorer 11.
CVE search metadata
CVE search record: CVE-2025-30397. Severity: high. CVSS: 7.5. EPSS: 27.26%. KEV: no. Product: Windows Server 2025 (<= 25398), Windows 10 1507 (< 10.0.10240.21014), Windows 10 1607 (< 10.0.14393.8066), Windows 10 1809 (< 10.0.17763.7314), Windows 10 21h2 (< 10.0.19044.5854), Internet Explorer 11. Brief: Microsoft JScript Engine Use-After-Free Remote Code Execution (CVE-2025-30397). Brief link: https://feed.craftedsignal.io/briefs/2026-10-cve-2025-30397-jscript-rce/
Triage facts
Revision 1- Applicability
- Windows Server 2025 (<= 25398), Windows 10 1507 (< 10.0.10240.21014) +4
- Evidence
- Unknown
- Severity
- High
- Action
- Elevated
- Sources
- 2 public sources
- Freshness
- Revision 1Oct 22, 06:00 UTC
- Detection
- 1 rule
- Vulnerabilities
- 1 CVE
- Source quality
- B2Likely
CVE-2025-30397 is a use-after-free vulnerability in the legacy JScript engine (jscript.dll) that allows for remote code execution. The vulnerability is triggered when a user is enticed to open a specially crafted HTML page using Internet Explorer 11. Publicly available proof-of-concept code demonstrates that attackers can use heap spraying techniques to gain stable memory corruption and execute arbitrary shellcode.
Impact
Successful exploitation allows for remote code execution with the privileges of the logged-in user. The vulnerability is explicitly noted as enabling the execution of arbitrary payloads, such as calc.exe, in proof-of-concept demonstrations.
Recommendation
- Identify systems running Internet Explorer 11 and assess the necessity of its continued use.
- Prioritize patching for the listed Windows versions as the public availability of exploit code increases the likelihood of exploitation.
- Disable or restrict access to jscript.dll if business requirements permit, as it is a frequent target for memory corruption attacks.
- Monitor for processes spawned by 'iexplore.exe' or the legacy JScript engine that deviate from standard browser operations.
Immediate actions
Patch affected systems to remediate CVE-2025-30397
Threat Hunt
Identify Internet Explorer usage in environment
Data: Endpoint application usage logs
Mitigations
Decommission or restrict use of Internet Explorer 11
CVE-2025-30397
Gaps
- Lack of specific network-based IOCs
Detection coverage 1
Detect Internet Explorer Spawning Suspicious Processes
highDetects potentially malicious child processes spawned by Internet Explorer, which is a common post-exploitation pattern for browser-based RCE.
Detection queries are available on the platform. Get full rules →