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

Windows DNS Remote Code Execution Vulnerability (CVE-2026-72987)

A use-after-free flaw exists in Windows DNS, where memory is freed but still referenced. An unauthenticated attacker could send a specially crafted packet over the network to potentially execute code on the target system.

Seung Chan Kim Follow with sabersauce

Originally disclosed on Microsoft

Critical 8.1 View original

Description

Use after free in Windows DNS allows an unauthorized attacker to execute code over a network.

FAQ

How could an attacker exploit this vulnerability? An unauthenticated attacker could exploit this vulnerability by sending a specially crafted packet to an affected service over the network. Successful exploitation could allow the attacker to execute code on the target system. No authentication or user interaction is required.

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 have a deep understanding of the system and the ability to manipulate its components to trigger a specific condition. Successful exploitation is not guaranteed and depends on a combination of factors that may include the environment, system configuration, and the presence of additional security measures.

Windows DNS

Windows DNS

Microsoft

Microsoft

Customer Action Required

Yes

The original report as published on the Microsoft Security Response Center, by Seung Chan Kim. 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 unauthenticated attacker could potentially execute code on the target system, but the text states exploitation is not guaranteed and depends on environment, configuration and other security measures.

What the attacker needed

Network access to the DNS service; no authentication needed; no user interaction needed

The fix

Microsoft lists customer action as required, implying a patch should be applied, but the text does not describe the fix itself.

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 use-after-free is a memory bug where a program frees a chunk of memory but keeps using it, so an attacker can sometimes control what happens next. Here, the affected program is the Windows DNS service, which answers name lookups on a network. The text says an attacker who can send network packets might be able to run their own code on the machine, though it also says success is not guaranteed.

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 Seung Chan Kim

View all

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