Skip to main content
Vulnerability Database/CVE-2026-96861

CVE-2026-96861: NDES Out-of-Bounds Read DoS Vulnerability

CVE-2026-96861 is an out-of-bounds read vulnerability in Network Device Enrollment Service that enables remote attackers to cause service disruption. This article covers the technical details, security impact, and mitigation strategies.

Published:

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-96861 Overview

CVE-2026-96861 is an out-of-bounds read vulnerability [CWE-125] in the Microsoft Network Device Enrollment Service (NDES). The flaw allows an unauthenticated remote attacker to trigger a denial-of-service condition over the network. NDES is a role service of Active Directory Certificate Services (AD CS) that enables network devices to enroll for X.509 certificates using the Simple Certificate Enrollment Protocol (SCEP).

Successful exploitation disrupts certificate enrollment workflows across managed network devices, impacting device onboarding and credential renewal processes.

Critical Impact

An unauthenticated network attacker can crash or render the NDES service unavailable, interrupting SCEP-based certificate issuance for routers, switches, firewalls, and other enrolled infrastructure.

Affected Products

  • Microsoft Network Device Enrollment Service (NDES)
  • Microsoft Active Directory Certificate Services (AD CS) deployments exposing the NDES role
  • Windows Server versions hosting the NDES role (refer to the Microsoft advisory for the complete affected build list)

Discovery Timeline

  • 2026-10-13 - CVE-2026-96861 published to the National Vulnerability Database (NVD)
  • 2026-10-13 - Last updated in NVD database

Technical Details for CVE-2026-96861

Vulnerability Analysis

The vulnerability is an out-of-bounds read [CWE-125] in the NDES component. NDES listens over HTTP/HTTPS and processes SCEP messages submitted by enrolling devices. When the service parses a malformed request, it reads memory beyond the bounds of an allocated buffer. The resulting access violation terminates or destabilizes the service process, producing a denial-of-service condition.

The attack requires no authentication, no user interaction, and low attack complexity. Because NDES is typically reachable by network-connected devices, the exposure surface spans both internal infrastructure and, in some deployments, perimeter-facing enrollment endpoints.

The impact is limited to availability. Confidentiality and integrity are not affected, meaning the flaw does not permit certificate forgery, credential disclosure, or code execution based on currently published information.

Root Cause

The root cause is improper validation of input length or structure before memory is read during SCEP message processing. The parser accesses bytes outside the allocated buffer, triggering an exception that halts the service. The EPSS score is 1.149% with a percentile of 66.218, reflecting moderate near-term exploitation likelihood for a network-reachable DoS primitive.

Attack Vector

Exploitation occurs over the network against the NDES endpoint, typically /certsrv/mscep/ or /certsrv/mscep_admin/. An attacker sends a crafted SCEP request containing malformed PKCS#7 or PKCS#10 structures that cause the parser to read past buffer boundaries. No code execution occurs; the service process faults and enrollment traffic stops until the service is restarted.

Refer to the Microsoft CVE-2026-96861 Update Guide for authoritative technical details.

Detection Methods for CVE-2026-96861

Indicators of Compromise

  • Unexpected crashes or restarts of the NDES application pool (SCEP IIS application pool) in Windows Event Logs
  • Application error events referencing access violations in w3wp.exe hosting the NDES endpoint
  • Spikes in HTTP 5xx responses from /certsrv/mscep/ or /certsrv/mscep_admin/ URIs
  • SCEP enrollment failures reported by network devices without corresponding certificate authority (CA) issuance records

Detection Strategies

  • Monitor IIS logs for anomalous POST requests to NDES SCEP URIs from unexpected source addresses
  • Alert on Windows Event IDs 1000 and 1026 (application and .NET runtime crashes) tied to the NDES worker process
  • Correlate NDES service restarts with inbound HTTP traffic patterns to identify triggering requests

Monitoring Recommendations

  • Baseline normal SCEP enrollment volume and alert on request bursts or malformed payload patterns
  • Forward IIS, Windows Event, and AD CS logs to a centralized analytics platform for cross-source correlation
  • Track availability of the NDES endpoint with synthetic enrollment transactions from a monitoring host

How to Mitigate CVE-2026-96861

Immediate Actions Required

  • Apply the Microsoft security update referenced in the MSRC advisory for CVE-2026-96861 as soon as it is available for your Windows Server build
  • Restrict network access to NDES endpoints to known enrollment subnets using firewall rules or IIS IP restrictions
  • Remove NDES from internet-facing exposure unless a documented business requirement exists
  • Enable automatic restart on the NDES IIS application pool to shorten outage windows if the service is crashed

Patch Information

Microsoft has published guidance and update references in the Microsoft CVE-2026-96861 Update Guide. Administrators should consult the advisory for the specific KB article and build numbers that address the vulnerability on each supported Windows Server release.

Workarounds

  • Place a reverse proxy or web application firewall (WAF) in front of NDES to filter malformed SCEP requests
  • Require mutual TLS or source-IP allowlisting for the NDES virtual directory to limit the attacker population
  • Temporarily stop the NDES role service in environments where enrollment can be deferred until the patch is applied
bash
# Example: restrict NDES access to a trusted enrollment subnet in IIS
Appcmd.exe set config "Default Web Site/CertSrv/mscep" \
  -section:system.webServer/security/ipSecurity \
  /allowUnlisted:"false" /commit:apphost

Appcmd.exe set config "Default Web Site/CertSrv/mscep" \
  -section:system.webServer/security/ipSecurity \
  /+"[ipAddress='10.20.30.0',subnetMask='255.255.255.0',allowed='true']" \
  /commit:apphost

# Restart the NDES application pool after changes
Appcmd.exe recycle apppool /apppool.name:"SCEP"

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

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.