CVE-2025-30397 Microsoft Windows Scripting Engine Type Confusion
An attacker can execute arbitrary code remotely by exploiting a type confusion vulnerability in the Microsoft Scripting Engine.
- Exploited in the wild
- Since 13 May 2025
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2025-30397?
CVE-2025-30397 is a high-severity memory corruption vulnerability in Microsoft Windows 10 1507, published on 13 May 2025. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official description
Access of resource using incompatible type ('type confusion') in Microsoft Scripting Engine allows an unauthorized attacker to execute code over a network.
Weakness: CWE-843
Which versions are affected by CVE-2025-30397?
It affects 15 products.
Products include Microsoft Windows 10 1507, Microsoft Windows 10 1607, Microsoft Windows 10 1809, Microsoft Windows 10 21h2, Microsoft Windows 10 22h2, Microsoft Windows 11 22h2 and 9 more.
How do I fix CVE-2025-30397?
No fix has been published for CVE-2025-30397 yet. Limit exposure of the affected software until one is available. US federal agencies must fix it by 3 Jun 2025.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is CVE-2025-30397 being exploited?
Yes. Attackers have exploited CVE-2025-30397 in the wild since at least 13 May 2025.
Public exploit code: 1 Exploit-DB entry and 1 proofs of concept on GitHub.
Other vulnerabilities in Microsoft Windows 10 1507
- CVE-2017-8543 Microsoft Windows Search Remote Code Execution
- CVE-2025-33053 Microsoft Windows External Control of File Name or Path
- CVE-2025-33073 Microsoft Windows SMB Client Improper Access Control
- CVE-2024-49039 Microsoft Windows Task Scheduler Privilege Escalation
- CVE-2024-43461 Microsoft Windows MSHTML Platform Spoofing
Sources
Also known as GHSA-r7hj-5f27-q8xw.