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

Windows DNS Server Remote Code Execution Vulnerability (CVE-2026-77505)

A use-after-free flaw exists in the record-handling logic of Windows DNS Server when a server-level DNS plug-in is configured. An unauthenticated attacker could send DNS queries and win a timing-dependent race condition to execute code with SYSTEM privileges.

Souhail Hammou Follow

Originally disclosed on Microsoft

Critical 8.1 View original

Description

Use after free in DNS Server 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

How could an attacker exploit this vulnerability? An unauthenticated attacker could send DNS queries to a Windows DNS Server that is configured with a server-level DNS plug-in, attempting to win a timing-dependent race condition in the server's record-handling logic. Successful exploitation could allow the attacker to execute code on the DNS server with SYSTEM privileges. Network access is required; authentication and user interaction are not required.

Role: DNS Server

Role: DNS Server

Microsoft

Microsoft

Customer Action Required

Yes

The original report as published on the Microsoft Security Response Center, by Souhail Hammou. 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 the DNS server's record-handling logic, reachable when a server-level DNS plug-in is configured, where a race condition lets memory be reused after it is freed.

Impact

Successful exploitation could allow an unauthenticated attacker to execute code on the DNS server with SYSTEM privileges, though the race condition makes exploitation complex.

What the attacker needed

Network access to the DNS server; server-level DNS plug-in configured; win a timing-dependent race condition

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.

A DNS server is the part of the network that turns website names into addresses. A use-after-free bug means the program keeps using a piece of memory after it has been freed, which can let an attacker take control. Here the attacker must also win a race, meaning they have to hit the exact moment the memory is mishandled, which makes 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 by Souhail Hammou

View all

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