Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB
CVE-2026-97821 Overview
CVE-2026-97821 is an out-of-bounds read vulnerability [CWE-125] in Microsoft DNS Server. An authorized attacker can exploit the flaw over a network to disclose sensitive information from server memory. The weakness affects how the DNS Server component parses and processes data structures, causing the service to read memory beyond allocated boundaries. Microsoft published the advisory on October 13, 2026 through the Microsoft Security Response Center (MSRC).
Critical Impact
Successful exploitation leaks confidential data from Microsoft DNS Server memory, which may include DNS records, cached query data, or process memory contents useful for follow-on attacks.
Affected Products
- Microsoft DNS Server (see the Microsoft CVE-2026-97821 Advisory for exact build numbers)
Discovery Timeline
- 2026-10-13 - CVE-2026-97821 published to the National Vulnerability Database (NVD)
- 2026-10-13 - Last updated in NVD database
Technical Details for CVE-2026-97821
Vulnerability Analysis
The vulnerability is classified as an out-of-bounds read [CWE-125] in Microsoft DNS Server. The DNS Server process reads data past the end of an intended buffer during request handling. The returned contents can include adjacent heap memory, uninitialized data, or cached values from the DNS resolver.
An attacker must hold valid network-level privileges to reach the vulnerable code path. No user interaction is required, and the attack targets confidentiality only. Integrity and availability of the DNS service remain intact after a successful read primitive.
The EPSS score reported on October 14, 2026 indicates a low near-term exploitation probability. However, Microsoft DNS Servers typically run on domain controllers, which raises the value of any disclosed memory contents to an attacker performing reconnaissance.
Root Cause
Out-of-bounds read conditions in DNS Server implementations commonly result from missing length validation on protocol fields, incorrect pointer arithmetic during response construction, or trusting attacker-controlled offsets inside DNS records. Microsoft has not released source-level details for the specific defect. Refer to the Microsoft CVE-2026-97821 Advisory for authoritative technical analysis.
Attack Vector
The attack vector is network-based. An authenticated attacker sends crafted DNS protocol traffic to a vulnerable server. The malformed input triggers the out-of-bounds read, and the server returns leaked bytes in its response. Repeated queries can be used to map memory contents incrementally.
No verified proof-of-concept code is publicly available at the time of writing. The vulnerability is not listed in the CISA Known Exploited Vulnerabilities catalog.
Detection Methods for CVE-2026-97821
Indicators of Compromise
- Unusual volumes of malformed or atypically structured DNS queries directed at authoritative or recursive Microsoft DNS Servers.
- DNS responses containing non-standard record payloads or binary data inconsistent with legitimate zone contents.
- Repeated identical queries from a single authenticated source correlated with elevated DNS Server process memory activity.
Detection Strategies
- Enable DNS analytical and audit logging on Windows Server and ingest the events into a centralized SIEM for inspection.
- Baseline normal DNS query patterns per client and alert on sustained anomalies from authenticated internal hosts.
- Inspect DNS traffic with network sensors capable of parsing DNS protocol fields and flagging malformed records.
Monitoring Recommendations
- Monitor the DNS Server service for unexpected process crashes, exception events, or memory growth in Windows Event Logs.
- Track outbound DNS response sizes and flag responses that exceed expected limits for the queried record type.
- Correlate authentication events with DNS query sources to identify compromised accounts attempting reconnaissance.
How to Mitigate CVE-2026-97821
Immediate Actions Required
- Apply the Microsoft security update referenced in the Microsoft CVE-2026-97821 Advisory to all Windows Servers running the DNS Server role.
- Prioritize patching domain controllers and internet-facing DNS resolvers that handle untrusted or semi-trusted authenticated traffic.
- Audit which accounts can send DNS queries directly to internal DNS Servers and remove unnecessary access.
Patch Information
Microsoft has released a security update addressing CVE-2026-97821. Administrators should consult the Microsoft CVE-2026-97821 Advisory for the specific KB article, affected Windows Server builds, and deployment guidance via Windows Update, WSUS, or the Microsoft Update Catalog.
Workarounds
- Restrict DNS Server access using Windows Firewall rules so that only trusted subnets can submit queries to UDP and TCP port 53.
- Segment DNS infrastructure so that domain controller DNS roles are not reachable from general user network segments where feasible.
- Enable DNS query logging and increase retention to support investigation if exploitation is suspected prior to patching.
# Example: restrict DNS Server inbound traffic to trusted subnets using PowerShell
New-NetFirewallRule -DisplayName "Restrict DNS to Trusted Subnets" `
-Direction Inbound -Protocol UDP -LocalPort 53 `
-RemoteAddress 10.0.0.0/8,192.168.0.0/16 -Action Allow
New-NetFirewallRule -DisplayName "Block Other DNS Inbound" `
-Direction Inbound -Protocol UDP -LocalPort 53 `
-Action Block
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

