CVE-2025-30397 Microsoft Windows Scripting Engine Type Confusion

Exploited in the wild High 7.5 Published Updated

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.

All Microsoft Windows 10 1507 vulnerabilities

Sources

Also known as GHSA-r7hj-5f27-q8xw.

Is CVE-2025-30397 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free