Skip to main content
CVE-2026-21519 High Patch Available

CVE-2026-21519: Microsoft Desktop Window Manager -- Type Confusion Privilege Escalation

CVE Details

CVE ID CVE-2026-21519
CVSS Score 7.8
Severity High
Vendor Microsoft
Product Windows Desktop Window Manager (DWM)
Patch Status Available
Published February 10, 2026
EPSS Score 2.4%
CISA Patch Deadline ⚠ March 3, 2026 Federal deadline passed

Background

The Windows Desktop Window Manager (dwm.exe) is a core system process responsible for all visual rendering in the Windows graphical environment — compositing windows, enabling Aero transparency effects, and managing the desktop display. As a SYSTEM-level process handling low-level graphical operations, it is a recurring target for local privilege escalation.

CVE-2026-21519 is a type confusion vulnerability (CWE-843) in DWM that allows a locally authenticated attacker to elevate privileges. CISA added this to the KEV catalog on 2026-02-10. Type confusion in SYSTEM-level processes is a powerful privilege escalation primitive — attackers can manipulate internal data structures to redirect execution to attacker-controlled code at SYSTEM privilege.

DWM has been targeted in multiple privilege escalation chains in recent years, and this CVE continues that pattern.

Technical Mechanism

CWE-843 (Access of Resource Using Incompatible Type) occurs when a program accesses a resource using a type incompatible with the resource’s actual type, leading to incorrect operations being performed on the data.

// Conceptual type confusion in DWM window object handling
typedef struct { int type; /* 0=basic */ void *data; } WINDOW_OBJ;
typedef struct { int type; /* 1=enhanced */ void *vtable; int flags; } ENHANCED_WINDOW;

void ProcessWindowMsg(WINDOW_OBJ *obj, MSG *msg) {
    if (obj->type == 1) {
        ENHANCED_WINDOW *ew = (ENHANCED_WINDOW *)obj;
        // Bug: attacker controls 'type' field, makes basic obj treated as enhanced
        ((void (*)(MSG*))ew->vtable)(msg);  // type confusion: vtable ptr is attacker data
    }
}

By crafting a window object where the type field causes a misinterpretation of the structure layout, an attacker can redirect a function pointer (vtable) to attacker-controlled code, achieving execution within the DWM SYSTEM process context.

Real-World Exploitation Evidence

CISA’s KEV listing confirms active exploitation. Type confusion LPE vulnerabilities in Windows graphics components have been used by APT groups and ransomware operators as part of post-initial-access escalation chains. DWM type confusion exploits tend to be reliable across a range of Windows builds, making them useful for broad-targeting exploit kits. Post-escalation activity commonly includes LSASS credential dumping and lateral movement.

Impact Assessment

  • Local privilege escalation from authenticated user to SYSTEM
  • Bypass of user-mode security controls via SYSTEM-level execution
  • LSASS credential dumping and access to cached credentials
  • Persistent SYSTEM-level foothold on the affected machine
  • Foundation for lateral movement to other systems via harvested credentials

Affected Versions

ProductAffectedFixed
Windows 10Affected DWM versionsFebruary 2026 Patch Tuesday
Windows 11Affected DWM versionsFebruary 2026 Patch Tuesday
Windows Server with GUIAffected DWM versionsFebruary 2026 Patch Tuesday

Remediation Steps

  1. Apply February 2026 Patch Tuesday updates immediately across all Windows systems.
  2. Enable Windows Defender Credential Guard to protect against post-escalation credential theft.
  3. Reduce interactive desktop sessions on servers to minimize DWM exposure.
  4. Monitor for unexpected SYSTEM-level processes in EDR telemetry.
  5. Implement application whitelisting to restrict unauthorized code execution paths.

Detection Guidance

Log Sources: Windows Security Event Logs, Sysmon (Event ID 10 for process access), EDR kernel telemetry.

IOCs: Unexpected process injection into dwm.exe; SYSTEM-privilege processes with non-SYSTEM parent ancestry; LSASS access events following DWM anomalies.

Sigma rule:

title: Suspicious Process Injection into DWM CVE-2026-21519
logsource:
  product: windows
  category: process_access
detection:
  selection:
    TargetImage|endswith: '\dwm.exe'
    GrantedAccess|contains:
      - '0x1f0fff'
      - '0x1fffff'
  filter:
    SourceImage|endswith:
      - '\csrss.exe'
      - '\wininit.exe'
  condition: selection and not filter
level: high

Timeline

DateEvent
2026-02-10CVE-2026-21519 disclosed (February Patch Tuesday)
2026-02-10CISA adds to KEV catalog; active exploitation confirmed

References