CVE-2021-24078: Windows DNS Server RCE (CVE-2021-24078)
- Vendor
- Microsoft Corporation
A remote code execution vulnerability exists in Windows DNS Server due to improper handling of certain requests. An attacker who successfully exploits this vulnerability could execute arbitrary code in the context of the Local System Account, potentially taking full control of the affected system. The vulnerability is triggered by sending specially crafted requests to a vulnerable DNS server.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Successful exploitation allows remote, unauthenticated attackers to execute arbitrary code with SYSTEM privileges on affected Windows DNS Servers, leading to full system compromise. This can be leveraged for lateral movement, privilege escalation, and persistence within a network.
Mitigation
If you can’t patch tonight, do this now.
If immediate patching is not possible, restrict access to the DNS server from untrusted networks using firewalls or network segmentation to reduce the attack surface. Monitor for unusual DNS traffic and consider disabling the DNS role on servers where it is not required.
Remediation
Patch, then assume compromise.
Apply the security updates provided by Microsoft in February 2021 (Patch Tuesday) to all affected Windows DNS Servers. No known workarounds are available; patching is required to fully remediate the vulnerability.
Exploits
No public exploits tracked yet. Mallory keeps watching.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
Frequently asked questions
- Is CVE-2021-24078 exploited in the wild?
- As of Oct 16, 2026, Mallory has no reports of CVE-2021-24078 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2021-24078?
- As of Oct 16, 2026, Mallory has found no public exploit for CVE-2021-24078.
- Is there a patch for CVE-2021-24078?
- Apply the security updates provided by Microsoft in February 2021 (Patch Tuesday) to all affected Windows DNS Servers. No known workarounds are available; patching is required to fully remediate the vulnerability.
- What products are affected by CVE-2021-24078?
- Microsoft Corporation Windows Server 2008, Microsoft Corporation Windows Server 2012, Microsoft Corporation Windows Server 2016, and Microsoft Corporation Windows Server 2019.
- How severe is CVE-2021-24078?
- CVE-2021-24078 has a CVSS v3.1 score of 9.8 (Critical) and an EPSS score of 12.8% (96th percentile) as of Oct 16, 2026.
Recent activity
1 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.