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

Windows Lightweight Directory Access Protocol (LDAP) Remote Code Execution Vulnerability (CVE-2025-26663)

A use-after-free flaw in Windows LDAP allows an unauthenticated attacker to send specially crafted requests to a vulnerable server. Successful exploitation requires winning a race condition and could lead to remote code execution.

https Follow

Originally disclosed on Microsoft

Critical 8.1 View original

Description

Use after free in Windows LDAP - Lightweight Directory Access Protocol 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 win a race condition.

FAQ

Are the updates for Windows 10 for x64-based Systems and Windows 10 for 32-bit Systems currently available? Yes. As of April 9, 2025, the security update (5055547) for Windows 10 for x64-based Systems and Windows 10 for 32-bit Systems are available. Customers running Windows 10 should ensure the update is installed to be protected from this vulnerability.

FAQ

How could an attacker exploit this vulnerability? An unauthenticated attacker could sequentially send specially crafted requests to a vulnerable LDAP server. Successful exploitation could result in a use after free which could be leveraged to achieve remote code execution.

Windows LDAP - Lightweight Directory Access Protocol

Windows LDAP - Lightweight Directory Access Protocol

Microsoft

Microsoft

Customer Action Required

Yes

The original report as published on the Microsoft Security Response Center, by Kunlun Lab with https://www.cyberkl.com/. 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 use-after-free in Windows LDAP triggered by specially crafted requests, requiring a race condition to exploit.

Impact

An unauthenticated attacker could potentially achieve remote code execution, but exploitation is complex because it requires winning a race condition.

What the attacker needed

Network access to LDAP server; win a race condition

The fix

Microsoft released security updates to address the vulnerability; customers should install them.

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.

LDAP is a protocol used to look up information in directories, like user accounts. A use-after-free is a memory bug where a program keeps using memory after it has been freed, which can let an attacker take control. Here, an attacker who can reach the LDAP service might exploit this to run their own code, but they must also win a timing race, making it harder.

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