Description
Access of resource using incompatible type ('type confusion') in Microsoft Scripting Engine allows an unauthorized attacker to execute code over a network.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Microsoft | Windows 10 Version 1507 | 10.0.10240.0 – < 10.0.10240.21014 | 10.0.10240.21014 |
| Microsoft | Windows 10 Version 1607 | 10.0.14393.0 – < 10.0.14393.8066 | 10.0.14393.8066 |
| Microsoft | Windows 10 Version 1809 | 10.0.17763.0 – < 10.0.17763.7314 | 10.0.17763.7314 |
| Microsoft | Windows 10 Version 21H2 | 10.0.19044.0 – < 10.0.19044.5854 | 10.0.19044.5854 |
| Microsoft | Windows 10 Version 22H2 | 10.0.19045.0 – < 10.0.19045.5854 | 10.0.19045.5854 |
| Microsoft | Windows 11 version 22H2 | 10.0.22621.0 – < 10.0.22621.5335 | 10.0.22621.5335 |
| Microsoft | Windows 11 version 22H3 | 10.0.22631.0 – < 10.0.22631.5335 | 10.0.22631.5335 |
| Microsoft | Windows 11 Version 23H2 | 10.0.22631.0 – < 10.0.22631.5335 | 10.0.22631.5335 |
| Microsoft | Windows 11 Version 24H2 | 10.0.26100.0 – < 10.0.26100.4061 | 10.0.26100.4061 |
| Microsoft | Windows Server 2008 R2 Service Pack 1 | 6.1.7601.0 – < 6.1.7601.27729 | 6.1.7601.27729 |
| Microsoft | Windows Server 2008 R2 Service Pack 1 (Server Core installation) | 6.1.7601.0 – < 6.1.7601.27729 | 6.1.7601.27729 |
| Microsoft | Windows Server 2008 Service Pack 2 | 6.0.6003.0 – < 6.0.6003.23279 | 6.0.6003.23279 |
| Microsoft | Windows Server 2008 Service Pack 2 (Server Core installation) | 6.0.6003.0 – < 6.0.6003.23279 | 6.0.6003.23279 |
| Microsoft | Windows Server 2012 | 6.2.9200.0 – < 6.2.9200.25475 | 6.2.9200.25475 |
| Microsoft | Windows Server 2012 (Server Core installation) | 6.2.9200.0 – < 6.2.9200.25475 | 6.2.9200.25475 |
| Microsoft | Windows Server 2012 R2 | 6.3.9600.0 – < 6.3.9600.22577 | 6.3.9600.22577 |
| Microsoft | Windows Server 2012 R2 (Server Core installation) | 6.3.9600.0 – < 6.3.9600.22577 | 6.3.9600.22577 |
| Microsoft | Windows Server 2016 | 10.0.14393.0 – < 10.0.14393.8066 | 10.0.14393.8066 |
| Microsoft | Windows Server 2016 (Server Core installation) | 10.0.14393.0 – < 10.0.14393.8066 | 10.0.14393.8066 |
| Microsoft | Windows Server 2019 | 10.0.17763.0 – < 10.0.17763.7314 | 10.0.17763.7314 |
| Microsoft | Windows Server 2019 (Server Core installation) | 10.0.17763.0 – < 10.0.17763.7314 | 10.0.17763.7314 |
| Microsoft | Windows Server 2022 | 10.0.20348.0 – < 10.0.20348.3692 | 10.0.20348.3692 |
| Microsoft | Windows Server 2022, 23H2 Edition (Server Core installation) | 10.0.25398.0 – < 10.0.25398.1611 | 10.0.25398.1611 |
| Microsoft | Windows Server 2025 | 10.0.26100.0 – < 10.0.26100.4061 | 10.0.26100.4061 |
| Microsoft | Windows Server 2025 (Server Core installation) | 10.0.26100.0 – < 10.0.26100.4061 | 10.0.26100.4061 |
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.
Exploit-DB 1
- Microsoft Windows Server 2025 JScript Engine - Remote Code Execution (RCE) EDB-52315 · remote · Jun 5, 2025
GitHub 1 repository
-
mbanyamer/CVE-2025-30397---Windows-Server-2025-JScript-RCE-Use-After-Free- ★ 67 · May 31, 2025
Remote Code Execution via Use-After-Free in JScript.dll (CVE-2025-30397)
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Advisories 3
- WID-SEC-2025-1050 Microsoft Windows Server: Mehrere Schwachstellen ermöglichen Privilegieneskalation BSI CERT-Bund (WID) · Mar 15, 2026
- NCSC-2025-0159 Kwetsbaarheden verholpen in Microsoft Windows NCSC-NL (Netherlands) · May 13, 2025
- MSRC-CVE-2025-30397 Scripting Engine Memory Corruption Vulnerability Microsoft Security Response Center · May 13, 2025
References
- Scripting Engine Memory Corruption Vulnerability vendor-advisory patch