Buried in the record-setting July 2026 Patch Tuesday drop — 570-plus fixes, three zero-days, two of them already under active attack — is a bug that got comparatively little attention despite ticking every box that should make infrastructure teams nervous: CVE-2026-50518, a heap-based buffer overflow in the Windows DHCP Server role. CVSS 9.8. No authentication. No user interaction. Network-reachable. Microsoft’s own exploitability index rates it “Exploitation More Likely.” It shipped alongside eight other DHCP-related fixes in the same update, but this is the one that matters.
What the bug is
The flaw sits in how the DHCP Server service parses inbound requests containing domain name data. Insufficient bounds checking on that data lets a specially crafted packet overflow a heap-allocated buffer, corrupting adjacent memory. An attacker who can shape the heap layout can turn that corruption into arbitrary code execution in the context of the DHCP service — which typically runs as SYSTEM or a highly privileged service account on Windows Server.
Critically, DHCP is a pre-authentication, connectionless UDP protocol by design: a client doesn’t need credentials to send a DHCP request, because the entire point of DHCP is to hand out configuration to devices that haven’t joined the network yet. That means the vulnerable code path is exposed to anything on the local broadcast domain, and in misconfigured environments, to anything that can route a packet to UDP/67.
Attack surface
DHCP Server is core infrastructure — nearly every enterprise network runs it to hand out addresses, DNS servers, and other configuration to endpoints, servers, VoIP phones, printers, and IoT devices. Because the protocol is inherently unauthenticated:
- Any host on a segment reachable by the DHCP server can send a malicious request without prior access.
- No phishing, no credential theft, no lateral movement setup required — this is a direct network-layer hit against the service itself.
- Domain controllers frequently co-host the DHCP role in smaller and mid-sized environments, meaning a successful exploit can land directly on a system with domain-wide blast radius.
- Guest Wi-Fi, branch offices, and flat networks where DHCP is reachable from untrusted segments are the highest-risk deployments.
There is no public proof-of-concept as of this writing, and Microsoft has not observed exploitation in the wild. That is the only thing separating this from an active-exploitation headline. Heap overflows in well-documented, RFC-specified protocol handlers are a well-trodden path for exploit developers working from a patch diff, and the fix has been public since July 14. Treat the quiet window as temporary.
Who is affected
The fix applies across the current Windows Server support matrix wherever the DHCP Server role is installed:
- Windows Server 2022, all builds
- Windows Server 2025, all builds
- Windows Server 2019 and 2016 (per Microsoft’s advisory for still-supported builds)
Servers without the DHCP Server role enabled are not affected — this is role-specific, not a base-OS-wide exposure like some of the DNS Client or Netlogon bugs from earlier this year.
Mitigation
- Patch immediately. The July 14, 2026 cumulative update fixes CVE-2026-50518. There is no meaningful compensating control that fully closes this off short of the patch, because DHCP cannot function without accepting unauthenticated requests.
- Inventory where the DHCP Server role is actually running. Prioritize any instance reachable from guest networks, branch offices, or segments with less trusted device populations, and any instance co-located with a domain controller.
- Restrict DHCP relay and broadcast scope where feasible. Limiting which network segments can reach a given DHCP server reduces the population of hosts that can trigger the flaw, though it does not eliminate risk from compromised or rogue devices already inside those segments.
- Monitor for service crashes. Failed exploitation attempts against a heap overflow typically manifest as unexpected restarts or crashes of the DHCP Server service (
dhcpserver.dllinside the DHCP service process). Repeated crash-restart cycles on a DHCP host are worth immediate investigation, not just a service-health alert. - Segment legacy or unpatchable DHCP appliances. If a DHCP-serving box cannot be patched promptly — an embedded appliance, an EOL build kept alive for a specific reason — isolate it from untrusted broadcast domains until it can be.
Why this one deserves attention despite the quiet rollout
Patch Tuesday coverage this month understandably centered on the AD FS and SharePoint zero-days already being exploited, and on the record-breaking flaw count itself. But CVE-2026-50518 has the specific combination that has defined 2026’s worst infrastructure bugs: unauthenticated, network-reachable, CVSS 9.8, and sitting in a service that exists precisely to talk to devices before they’ve proven who they are. DHCP servers are rarely internet-facing, but “internal-only” has not been a meaningful trust boundary in any recent breach retrospective — a single compromised endpoint or rogue device on the same broadcast domain is enough to reach it. Nine DHCP-related CVEs closed in one month is also worth noting on its own: it suggests concentrated research attention on this code path, which tends to precede follow-on discoveries.
If DHCP patching has historically ridden behind domain controllers and internet-facing systems in your rollout order, this is the release that should move it up.
Advisory: Microsoft Security Response Center — CVE-2026-50518 Analysis: Zero Day Initiative — The July 2026 Security Update Review Coverage: Talos Intelligence — Microsoft Patch Tuesday for July 2026