A Leader in the 2026 Gartner® Magic Quadrant™ for Endpoint Protection. Six years running.Six years. Gartner® Magic Quadrant™ Leader.Find Out Why
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-21556

CVE-2023-21556: Windows 10 1607 L2TP RCE Vulnerability

CVE-2023-21556 is a remote code execution vulnerability in Windows Layer 2 Tunneling Protocol (L2TP) affecting Windows 10 1607. Attackers can exploit this flaw to execute arbitrary code. This article covers technical details, affected versions, impact assessment, and mitigation strategies.

Updated: May 15, 2026

CVE-2023-21556 Overview

CVE-2023-21556 is a remote code execution vulnerability in the Windows Layer 2 Tunneling Protocol (L2TP) implementation. Microsoft addressed the flaw in the January 2023 Patch Tuesday release. The issue is associated with an integer underflow condition tracked as [CWE-191], affecting the kernel-mode component that processes L2TP traffic.

An unauthenticated network attacker can send specially crafted L2TP packets to a vulnerable Windows host and trigger code execution in a privileged context. The vulnerability impacts a broad range of supported Windows client and server releases, including legacy versions still maintained under extended support.

Critical Impact

Successful exploitation allows an unauthenticated remote attacker to execute arbitrary code against any Windows system that accepts L2TP traffic, with no user interaction required.

Affected Products

  • Microsoft Windows 10 (versions 1607, 1809, 20H2, 21H2, 22H2), Windows 11 (21H2, 22H2), Windows 7 SP1, Windows 8.1, and Windows RT 8.1
  • Microsoft Windows Server 2008 SP2, Server 2008 R2 SP1, Server 2012, Server 2012 R2, Server 2016, Server 2019, and Server 2022
  • All supported x86, x64, and ARM64 architectures of the products listed above

Discovery Timeline

  • 2023-01-10 - Microsoft releases security patch as part of January 2023 Patch Tuesday
  • 2023-01-10 - CVE-2023-21556 published to the National Vulnerability Database
  • 2024-11-21 - Last updated in NVD database

Technical Details for CVE-2023-21556

Vulnerability Analysis

The vulnerability resides in the Windows kernel-mode driver that implements the Layer 2 Tunneling Protocol (L2TP). L2TP is used to tunnel point-to-point traffic, frequently in combination with IPsec for VPN connectivity. The defect is classified as an integer underflow [CWE-191], where a length or counter value wraps below zero during packet parsing.

When the underflow occurs, subsequent arithmetic produces an unexpectedly large unsigned value. That value is then used in memory operations such as buffer copies or offset calculations, leading to out-of-bounds memory access. An attacker who controls the affected fields in an L2TP control or data message can steer this memory corruption toward arbitrary code execution in kernel context.

The CVSS vector indicates high attack complexity, reflecting that exploitation requires winning a race or shaping kernel memory layout. No privileges and no user interaction are needed, and the attack is reachable over the network.

Root Cause

The root cause is improper validation of length fields in L2TP packet headers before they are used in arithmetic operations. A crafted value causes the calculation to underflow, producing an attacker-influenced size used in downstream memory handling. The resulting out-of-bounds write corrupts kernel structures.

Attack Vector

An attacker sends crafted L2TP packets to UDP port 1701 on a vulnerable host. Systems acting as VPN servers or RRAS endpoints are directly exposed, but any Windows system with the L2TP driver reachable on an attacker-accessible network segment is at risk. Successful exploitation yields code execution with kernel privileges, enabling full system compromise.

No public proof-of-concept exploit code is currently associated with this CVE in the provided references. Technical details are documented in the Microsoft Security Update Guide for CVE-2023-21556.

Detection Methods for CVE-2023-21556

Indicators of Compromise

  • Unexpected inbound UDP traffic to port 1701 from untrusted sources, particularly with malformed or unusually sized L2TP headers
  • Kernel bug checks or stop errors referencing the L2TP driver (rasl2tp.sys) following inbound network activity
  • New or unexpected processes spawned by System shortly after L2TP packet activity, suggesting post-exploitation execution

Detection Strategies

  • Inspect L2TP traffic at the network edge for anomalous header length fields, oversized AVP (Attribute-Value Pair) entries, and protocol violations that may indicate exploitation attempts
  • Monitor Windows kernel crash dumps and Event ID 1001 BugCheck events that reference L2TP components for signs of failed exploitation
  • Apply EDR behavioral rules that flag kernel-level memory corruption indicators followed by privilege escalation activity

Monitoring Recommendations

  • Enable verbose logging on RRAS and VPN servers and correlate authentication failures with anomalous packet patterns on UDP 1701
  • Track patch deployment status across all supported Windows versions identified in the affected products list to confirm coverage
  • Alert on any new external exposure of UDP 1701 in firewall change logs and cloud security group modifications

How to Mitigate CVE-2023-21556

Immediate Actions Required

  • Apply the January 2023 Microsoft security updates to all affected Windows client and server systems without delay
  • Identify and inventory systems with the L2TP service exposed to untrusted networks, prioritizing patching of internet-facing VPN endpoints
  • Restrict inbound UDP 1701 at perimeter firewalls to known L2TP peers only until patching is complete

Patch Information

Microsoft released fixes for this vulnerability on January 10, 2023. Refer to the Microsoft Security Update Guide for CVE-2023-21556 for the specific KB article and update package corresponding to each affected operating system version and architecture.

Workarounds

  • Block inbound UDP port 1701 at network perimeters and host firewalls where L2TP is not in use
  • Disable the Routing and Remote Access Service (RRAS) on hosts that do not require L2TP VPN functionality
  • Require L2TP/IPsec with strong pre-shared keys or certificates so that unauthenticated attackers cannot deliver crafted payloads to the vulnerable parser
bash
# Block inbound L2TP traffic with Windows Firewall where the service is not required
New-NetFirewallRule -DisplayName "Block Inbound L2TP UDP 1701" -Direction Inbound -Protocol UDP -LocalPort 1701 -Action Block

# Disable Routing and Remote Access Service if L2TP VPN is not in use
Set-Service -Name RemoteAccess -StartupType Disabled
Stop-Service -Name RemoteAccess -Force

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

  • Vulnerability Details
  • TypeRCE

  • Vendor/TechWindows

  • SeverityHIGH

  • CVSS Score8.1

  • EPSS Probability3.27%

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

  • NVD-CWE-noinfo
  • Technical References
  • Microsoft Security Update CVE-2023-21556
  • Related CVEs
  • CVE-2026-47288: Windows Server 2012 RCE Vulnerability

  • CVE-2026-47291: Windows 10 1607 RCE Vulnerability

  • CVE-2026-42974: Windows 11 23h2 RCE Vulnerability

  • CVE-2026-47652: Windows 11 23h2 Hyper-V RCE Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

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.

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