Skip to content
Memory corruption Advisory Advanced CVE-2026-45584

Microsoft Defender Remote Code Execution Vulnerability (CVE-2026-45584)

A heap-based buffer overflow exists in the Microsoft Malware Protection Engine used by Microsoft Defender. A remote, unauthenticated attacker could execute code if they persuade a local user to take several actions that cause Defender to scan a malicious quarantined file.

haowei yan Follow

Originally disclosed on Microsoft

Critical 8.1 View original

Description

Heap-based buffer overflow in Microsoft Defender allows an unauthorized attacker to execute code over a network.

FAQ

According to the CVSS metric, the attack complexity is high (AC:H). What does that mean for this vulnerability? Successful exploitation of this vulnerability requires an attacker to take additional actions prior to exploitation to prepare the target environment.

FAQ

How could an attacker exploit this vulnerability? Successful exploitation of this vulnerability would require a remote, unauthenticated attacker to entice a local user to take multiple actions that results in Defender scanning a malicious file that has been quarantined.

FAQ

References Identification Last version of the Microsoft Malware Protection Engine affected by this vulnerability 1.1.26030.3008 First version of the Microsoft Malware Protection Engine with this vulnerability addressed Version 1.1.26040.8 See Manage Updates Baselines Microsoft Defender Antivirus for more information. Microsoft Defender is disabled in my environment, why are vulnerability scanners showing that I am vulnerable to this issue? Vulnerability scanners are looking for specific binaries and version numbers on devices. Microsoft Defender files are still on disk even when disabled. Systems that have disabled Microsoft Defender are not in an exploitable state. Why is no action required to install this update? In response to a constantly changing threat landscape, Microsoft frequently updates malware definitions and the Microsoft Malware Protection Engine. In order to be effective in helping protect against new and prevalent threats, antimalware software must be kept up to date with these updates in a timely manner. For enterprise deployments as well as end users, the default configuration in Microsoft antimalware software helps ensure that malware definitions and the Microsoft Malware Protection Engine are kept up to date automatically. Product documentation also recommends that products are configured for automatic updating. Best practices recommend that customers regularly verify whether software distribution, such as the automatic deployment of Microsoft Malware Protection Engine updates and malware definitions, is working as expected in their environment. How often are the Microsoft Malware Protection Engine and malware definitions updated? Microsoft typically releases an update for the Microsoft Malware Protection Engine once a month or as needed to protect against new threats. Microsoft also typically updates the malware definitions three times daily and can increase the frequency when needed. Depending on which Microsoft antimalware software is used and how it is configured, the software may search for engine and definition updates every day when connected to the Internet, up to multiple times daily. Customers can also choose to manually check for updates at any time. What is the Microsoft Malware Protection Engine? The Microsoft Malware Protection Engine, mpengine.dll, provides the scanning, detection, and cleaning capabilities for Microsoft antivirus and antispyware software. Windows Defender uses the Microsoft Malware Protection Engine. On which products is Defender installed and active by default? Defender runs on all supported version of Windows. Are there other products that use the Microsoft Malware Protection Engine? Yes, Microsoft System Center Endpoint Protection, Microsoft System Center 2012 R2 Endpoint Protection, Microsoft System Center 2012 Endpoint Protection and Microsoft Security Essentials. Does this update contain any additional security-related changes to functionality? Yes. In addition to the changes that are listed for this vulnerability, this update includes defense-in-depth updates to help improve security-related features.

Microsoft Defender

Microsoft Defender

Microsoft

Microsoft

Customer Action Required

Yes

The original report as published on the Microsoft Security Response Center, by haowei yan(jingdong dawnslab). 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

Root cause

Likely a heap-based buffer overflow in the Malware Protection Engine's handling of a malicious file, though the text does not describe the faulty code.

Impact

An attacker could execute code on the target, but only after preparing the environment and getting a local user to perform multiple actions so Defender scans a quarantined malicious file.

What the attacker needed

Remote, unauthenticated attacker; attacker prepares target environment; victim takes multiple actions; Defender scans a quarantined file

The fix

The vulnerability was fixed in Microsoft Malware Protection Engine version 1.1.26040.8, which is delivered through automatic updates.

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.

Microsoft Defender is the antivirus built into Windows. Its scanning engine had a memory bug: when it processed a specially crafted file, it could write past the end of a reserved memory area, which is called a buffer overflow. If that happens, an attacker may be able to run their own code on the machine, but only after tricking the user into a chain of actions.

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 haowei yan

View all

6 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.