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

Windows DHCP Server Remote Code Execution Vulnerability (CVE-2026-50518)

A heap-based buffer overflow exists in the Windows DHCP Server because a function does not correctly validate the size of incoming domain name data. An unauthorised attacker could send crafted network requests to corrupt memory, potentially disrupting the service or executing code.

Amit Schendel Follow

Originally disclosed on Microsoft

Critical 9.8 View original

Description

Heap-based buffer overflow in Windows DHCP Server allows an unauthorized attacker to execute code over a network.

FAQ

How could an attacker exploit this vulnerability? An attacker could exploit this vulnerability by sending specially crafted network requests containing malicious domain name data to a system running the affected component. Because the function does not correctly validate the size of incoming data, the malformed input may cause memory corruption, which an attacker could use to disrupt the service or potentially execute code on the affected system.

Windows DHCP Server

Windows DHCP Server

Microsoft

Microsoft

Customer Action Required

Yes

The original report as published on the Microsoft Security Response Center, by Amit Schendel with Ventris. 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 incorrect length check on domain name data before it is copied into a fixed-size heap buffer.

Impact

An attacker could disrupt the DHCP service or potentially execute code on the affected system.

What the attacker needed

Network access to the DHCP server

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 DHCP server hands out network settings to devices that join a network. Here, when it reads a domain name from a request, it does not check how long that name is, so a too-long value can spill past the memory set aside for it. That spill can crash the service or, in the worst case, let an attacker run their own code.

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.