Skip to main content
Mallory
HighVulnerability

CVE-2025-24064: Remote Code Execution in Windows DNS Server

Published Mar 11, 2025 · Updated 2 months ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 daysNo mention activity in the last 30 days.
CVSS8.1High · v3.1
EPSS1.3%71st percentile
CISA KEVNoNot listed
In the wildReported1 exploitation record in Mallory
Vendor
Microsoft Corporation
IdentifiersCVE-2025-24064CWE-416 · Use After Free

CVE-2025-24064 is a remote code execution vulnerability in Windows DNS Server caused by a use-after-free condition. Improper handling of object lifetime in the DNS Server component can leave memory in a freed state while it is still referenced, enabling an unauthenticated attacker to trigger memory corruption over the network. Successful exploitation could allow attacker-controlled code execution in the context of the DNS Server service on a vulnerable system.

Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Analyst brief

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 can result in remote code execution on a vulnerable Windows DNS Server. Because the flaw is reachable over the network and does not require prior authentication, compromise of an exposed DNS Server could permit full takeover of the affected service context, enabling follow-on actions such as installing malware, altering service behavior, pivoting within the environment, or disrupting name-resolution infrastructure.

Mitigation

If you can’t patch tonight, do this now.

If immediate patching is not possible, reduce exposure of the DNS Server service to untrusted networks, restrict access to trusted clients and upstream systems through network segmentation and filtering, and minimize direct external reachability of affected DNS infrastructure. Increase monitoring for anomalous DNS service behavior and crashes that may indicate exploitation attempts. These measures only reduce exposure and do not eliminate the underlying vulnerability.

Remediation

Patch, then assume compromise.

Apply the Microsoft security update released for CVE-2025-24064 as part of the March 2025 security updates. Prioritize patching all systems running the Windows DNS Server role, especially internet-reachable or otherwise untrusted-network-exposed servers. Standard remediation should include validating successful deployment across all affected Windows Server versions and removing unsupported systems from service or upgrading them to supported builds that include the fix.

Public exploits

Exploits

No public exploits tracked yet. Mallory keeps watching.

View more in app →
No public exploit code observed for this vulnerability. Mallory keeps watching.
Exposure surface

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.

VendorProductType
Microsoft CorporationWindows Server 2008operating_system
Microsoft CorporationWindows Server 2008 R2operating_system
Microsoft CorporationWindows Server 2008 Sp2operating_system
Microsoft CorporationWindows Server 2012operating_system
Microsoft CorporationWindows Server 2012 R2operating_system
Microsoft CorporationWindows Server 2016operating_system
Microsoft CorporationWindows Server 2019operating_system
Microsoft CorporationWindows Server 2022operating_system
Microsoft CorporationWindows Server 2022 23h2operating_system
Microsoft CorporationWindows Server 2025operating_system
Microsoft CorporationWindows Server 23h2operating_system
FAQ

Frequently asked questions

Is CVE-2025-24064 exploited in the wild?
Yes. As of Sep 25, 2026, Mallory has reports of exploitation in the wild.
Is there a public exploit for CVE-2025-24064?
As of Sep 25, 2026, Mallory has found no public exploit for CVE-2025-24064.
Is there a patch for CVE-2025-24064?
Apply the Microsoft security update released for CVE-2025-24064 as part of the March 2025 security updates. Prioritize patching all systems running the Windows DNS Server role, especially internet-reachable or otherwise untrusted-network-exposed servers.
What products are affected by CVE-2025-24064?
Microsoft Corporation Windows Server 2008, Microsoft Corporation Windows Server 2008 R2, Microsoft Corporation Windows Server 2008 Sp2, Microsoft Corporation Windows Server 2012, Microsoft Corporation Windows Server 2012 R2, and 6 more.
How severe is CVE-2025-24064?
CVE-2025-24064 has a CVSS v3.1 score of 8.1 (High) and an EPSS score of 1.3% (71st percentile) as of Sep 25, 2026.
Mallory platform

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which adversaries are exploiting it right now, and which detections to deploy tonight.
Exposure mappingQuery your assets running an affected version, and investigate the blast radius.
Threat actor evidenceEvery report linking this CVE to a named adversary.
Associated malwareMalware families linked to this CVE, with evidence and IOCs.
Detection signaturesYARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Vendor-by-vendor mappingCross-references every affected SKU, including bundled OEM variants.
Social activityCommunity discussion across Reddit, Mastodon, and other social sources.