The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2023-21695

CVE-2023-21695: Windows 10 PEAP RCE Vulnerability

CVE-2023-21695 is a remote code execution vulnerability in Microsoft Windows 10 Protected Extensible Authentication Protocol (PEAP) that enables attackers to execute arbitrary code. This article covers technical details, impact, and patches.

Published: February 4, 2026

CVE-2023-21695 Overview

CVE-2023-21695 is a Remote Code Execution (RCE) vulnerability affecting Microsoft Protected Extensible Authentication Protocol (PEAP). This network-based vulnerability allows an authenticated attacker to execute arbitrary code on vulnerable Windows systems running the Network Policy Server (NPS) role with PEAP configured. The vulnerability stems from a heap-based buffer overflow condition (CWE-122) in the PEAP authentication handling mechanism.

Critical Impact

An authenticated attacker exploiting this vulnerability could achieve remote code execution with SYSTEM privileges on vulnerable Windows servers, potentially compromising network authentication infrastructure across an organization.

Affected Products

  • Microsoft Windows 10 (all versions including 1607, 1809, 20H2, 21H2, 22H2)
  • Microsoft Windows 11 (21H2, 22H2)
  • Microsoft Windows Server 2008 SP2 and R2 SP1
  • Microsoft Windows Server 2012 and R2
  • Microsoft Windows Server 2016
  • Microsoft Windows Server 2019
  • Microsoft Windows Server 2022

Discovery Timeline

  • February 14, 2023 - CVE-2023-21695 published to NVD
  • November 21, 2024 - Last updated in NVD database

Technical Details for CVE-2023-21695

Vulnerability Analysis

This vulnerability resides in Microsoft's implementation of the Protected Extensible Authentication Protocol (PEAP), which is commonly used for securing wireless and wired network authentication in enterprise environments. PEAP operates by establishing a TLS tunnel between the client and the authentication server (typically a RADIUS/NPS server) before transmitting authentication credentials.

The heap-based buffer overflow (CWE-122) occurs during the processing of specially crafted PEAP packets. When a malformed authentication request is processed by a vulnerable Network Policy Server, improper bounds checking allows an attacker to write data beyond the allocated heap buffer boundaries. This memory corruption can be leveraged to achieve arbitrary code execution in the context of the NPS service, which runs with SYSTEM privileges.

While the vulnerability requires low-privilege authentication to exploit, the network attack vector and lack of required user interaction make this a significant threat to enterprise environments relying on PEAP for network access control.

Root Cause

The root cause is a heap-based buffer overflow (CWE-122) in the PEAP packet handling code within the Windows Network Policy Server component. The vulnerability occurs due to insufficient validation of length fields in PEAP authentication messages, allowing an attacker to trigger a heap overflow condition when the NPS processes malformed PEAP packets.

Attack Vector

The attack vector is network-based, requiring the attacker to have low-privilege authentication credentials on the target domain or network. The exploitation flow involves:

  1. The attacker establishes a PEAP session with a vulnerable NPS server
  2. During the authentication phase, the attacker sends specially crafted PEAP packets containing malformed length values
  3. The NPS server processes these packets without proper bounds checking
  4. The heap overflow corrupts adjacent memory structures
  5. Successful exploitation results in arbitrary code execution with SYSTEM privileges on the NPS server

The vulnerability requires no user interaction and can be exploited remotely over the network, making it particularly dangerous for organizations using PEAP for authentication services.

Detection Methods for CVE-2023-21695

Indicators of Compromise

  • Unexpected crashes or service restarts of the Network Policy Server (NPS) service
  • Anomalous heap memory allocation patterns in rastls.dll or related PEAP components
  • Suspicious authentication events from unusual source IPs targeting NPS servers
  • Process injection or unusual child processes spawned by the NPS service

Detection Strategies

  • Monitor Windows Event Logs for NPS service crashes (Event ID 6273, 6274) and unexpected terminations
  • Implement network detection rules for malformed PEAP packets with abnormal length fields
  • Deploy endpoint detection solutions capable of identifying heap overflow exploitation attempts
  • Enable audit logging for RADIUS/NPS authentication events and review for anomalous patterns

Monitoring Recommendations

  • Configure SIEM alerts for NPS service stability issues and authentication anomalies
  • Monitor network traffic to NPS servers (UDP 1812, 1813) for unusual packet sizes or patterns
  • Implement behavioral analysis on NPS servers to detect memory corruption attempts
  • Enable Windows Defender Exploit Guard and monitor for heap overflow protection triggers

How to Mitigate CVE-2023-21695

Immediate Actions Required

  • Apply Microsoft's February 2023 security updates to all affected Windows systems immediately
  • Prioritize patching Network Policy Servers and RADIUS infrastructure
  • Implement network segmentation to restrict access to NPS servers from trusted endpoints only
  • Review and audit accounts with network authentication privileges

Patch Information

Microsoft has released security updates addressing CVE-2023-21695 as part of the February 2023 Patch Tuesday release. Organizations should apply the appropriate cumulative updates for their Windows versions. Detailed patch information and download links are available in the Microsoft Security Update Guide.

Workarounds

  • Restrict network access to NPS servers using firewall rules to limit exposure to trusted network segments only
  • Consider disabling PEAP authentication temporarily and using alternative EAP methods (such as EAP-TLS) until patches can be applied
  • Implement strong authentication policies to reduce the pool of accounts that could be leveraged for exploitation
  • Enable Windows Defender Credential Guard where supported to provide additional protection for authentication infrastructure
bash
# Restrict NPS server access using Windows Firewall
# Allow RADIUS traffic only from trusted access points/controllers
netsh advfirewall firewall add rule name="Restrict NPS Access" dir=in action=allow protocol=udp localport=1812,1813 remoteip=192.168.10.0/24
netsh advfirewall firewall add rule name="Block External NPS" dir=in action=block protocol=udp localport=1812,1813

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeRCE

  • Vendor/TechMicrosoft

  • SeverityHIGH

  • CVSS Score8.8

  • EPSS Probability1.01%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-122

  • NVD-CWE-noinfo
  • Vendor Resources
  • Microsoft Security Update CVE-2023-21695
  • Related CVEs
  • CVE-2026-32191: Microsoft Bing Images RCE Vulnerability

  • CVE-2026-21536: Microsoft Devices Pricing RCE Vulnerability

  • CVE-2026-27848: MR9600/MX4200 RCE Vulnerability

  • CVE-2021-24105: Package Manager Configurations RCE Flaw
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English