Skip to content
Memory corruption Advisory Advanced CVE-2021-26435

Windows Scripting Engine Memory Corruption Vulnerability (CVE-2021-26435)

A memory corruption flaw existed in the Windows Scripting Engine, and an attacker could exploit it by getting a user to open a specially crafted file, which could lead to code execution in the user's context. The text does not describe the technical details of the flaw or confirm exploitation in the wild.

Yuki Chen Follow

Originally disclosed on Microsoft

Critical 8.1 View original

FAQ

According to the CVSS metric, user interaction is required (UI:R). What interaction would the user have to do? Exploitation of the vulnerability requires that a user open a specially crafted file. In an email attack scenario, an attacker could exploit the vulnerability by sending the specially crafted file to the user and convincing the user to open the file. In a web-based attack scenario, an attacker could host a website (or leverage a compromised website that accepts or hosts user-provided content) containing a specially crafted file designed to exploit the vulnerability. An attacker would have no way to force users to visit the website. Instead, an attacker would have to convince users to click a link, typically by way of an enticement in an email or instant message, and then convince them to open the specially crafted file.

Windows Scripting

Windows Scripting

Microsoft

Microsoft

Customer Action Required

Yes

The original report as published on the Microsoft Security Response Center, by Yuki Chen. Images and videos are our own copies; raw HTML is shown as text. View it on Microsoft Security Response Center.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

How it worked

Impact

An attacker who convinces a user to open a crafted file could run code with the user's privileges; the text does not state that this was seen exploited in the wild.

What the attacker needed

Victim opens a crafted file; attacker convinces the user (email or link)

The fix

Microsoft marked customer action as required, implying a security update should be applied.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

The Windows Scripting Engine is the part of Windows that runs small script files. A memory corruption bug means the program can be tricked into mishandling memory, which sometimes lets an attacker run their own code. Here the attacker must first persuade someone to open a malicious file, for example from an email or a website.

What is Memory corruption?

Native code reads or writes memory it should not: overflows, use-after-free, type confusion. The core of browser, kernel and parser bugs.

More by Yuki Chen

View all

142 more disclosed reports, best first.

More from Microsoft

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Memory corruption

The lesson behind this report.

Native code reads or writes memory it should not: overflows, use-after-free, type confusion. The core of browser, kernel and parser bugs.