Skip to content
Memory corruption Advisory Advanced CVE-2025-24084

Windows Subsystem for Linux (WSL2) Kernel Remote Code Execution Vulnerability (CVE-2025-24084)

An untrusted pointer dereference in the Windows Subsystem for Linux kernel could let an attacker run code on a victim's machine. The text says exploitation needs the attacker to send a malicious link or crafted email, and that the attack itself is carried out locally.

Benoît Sevens Follow

Originally disclosed on Microsoft

Critical 8.4 View original

Description

Untrusted pointer dereference in Windows Subsystem for Linux allows an unauthorized attacker to execute code locally.

FAQ

How could an attacker exploit this vulnerability? Exploitation of this vulnerability requires that an attacker send a malicious link to the victim via email, or that they convince the user to click the link, typically by way of an enticement in an email or Instant Messenger message. In the worst-case email attack scenario, an attacker could send a specially crafted email to the user without a requirement that the victim open, read, or click on the link. This could result in the attacker executing remote code on the victim's machine. When multiple attack vectors can be used, we assign a score based on the scenario with the higher risk (UI:N).

FAQ

According to the CVSS metric, the attack vector is local (AV:L). Why does the CVE title indicate that this is a remote code execution? The word Remote in the title refers to the location of the attacker. This type of exploit is sometimes referred to as Arbitrary Code Execution (ACE). The attack itself is carried out locally. This means an attacker or victim needs to execute code from the local machine to exploit the vulnerability.

Windows Subsystem for Linux

Windows Subsystem for Linux

Microsoft

Microsoft

Customer Action Required

Yes

The original report as published on the Microsoft Security Response Center, by Benoît Sevens and Vlad Stolyarov of Google Threat Analysis Group. 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 missing or insufficient validation of a pointer supplied from an untrusted source inside the WSL2 kernel component, leading to a dereference of attacker-influenced memory.

Impact

An attacker who can get code running locally could escalate to executing arbitrary code on the victim's machine, though the text stresses the attack is carried out locally and gives no proof of a working exploit.

What the attacker needed

Ability to run code on the local machine; victim lured via link or email

The fix

Microsoft lists customer action as required, so the fix should be to apply the vendor's security update for this CVE.

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.

Windows Subsystem for Linux lets you run Linux programs inside Windows. A pointer is a kind of internal address a program uses to find data, and dereferencing it means reading whatever is at that address; if the address is untrusted, the program can be tricked into running attacker-chosen code. Here the flaw sits in the part of Windows that supports Linux, and the text says the attacker must get code running on the machine first, so the 'remote' label only describes where the attacker sits.

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 Benoît Sevens

View all

1 more disclosed report, 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.