CVE-2023-21823 — Microsoft Windows Graphic Component Privilege Escalation Vulnerability

CVE-2023-21823

Windows Graphics Component — Integer Overflow → SYSTEM Privilege Escalation; February 2023 Zero-Day; Patched on Same Day as CLFS LPE CVE-2023-23376

What is the Windows Graphics Component?

The Windows Graphics Component encompasses the kernel-mode graphics subsystem — including GDI (Graphics Device Interface), DirectX kernel components, and the Windows Display Driver Model (WDDM) infrastructure — that handles rendering, font processing, and display output for all Windows applications. The graphics subsystem runs with kernel privileges and is accessible from user-space applications through system calls and driver I/O control operations. Integer overflow vulnerabilities in graphics-related kernel code allow user-space processes to cause heap corruption or out-of-bounds writes in kernel memory, enabling privilege escalation.

Overview

CVE-2023-21823 is an integer overflow vulnerability (CWE-190) in the Windows Graphics Component that allows a local attacker with standard user privileges to escalate to SYSTEM. It was patched in the February 2023 Patch Tuesday as an actively exploited zero-day — simultaneously added to the CISA KEV catalog — alongside another LPE zero-day (CVE-2023-23376, a CLFS heap overflow). The dual LPE zero-days in one Patch Tuesday underscores the February 2023 period's active exploitation of Windows privilege escalation vulnerabilities. The graphics component was also targeted in nearby months by CVE-2023-21674 (ALPC LPE, January 2023) and others.

Affected Versions

Product Affected Fixed
Windows 10 (multiple versions) Yes February 2023 cumulative update
Windows 11 (multiple versions) Yes February 2023 cumulative update
Windows Server 2008 R2 through 2022 Yes February 2023 cumulative update

Technical Details

An integer overflow (CWE-190) occurs when an arithmetic operation produces a result too large for its data type, causing the value to wrap around to an unexpectedly small or negative number. In the Windows Graphics Component, integer overflow in a kernel-mode calculation can cause:

  • Incorrect buffer size calculations — an allocation is made with the wrapped (too-small) size, creating an undersized buffer
  • Heap overflow — subsequent operations write data into the undersized buffer, overwriting adjacent kernel heap memory with attacker-influenced content
  • Kernel memory corruption — the overwritten kernel structures can be manipulated to escalate privileges, typically by corrupting a process token's privilege field or a function pointer

The graphics subsystem's kernel components process a wide range of inputs — window handles, device contexts, drawing parameters, font data — providing multiple entry points for an attacker to exercise the vulnerable code path from an unprivileged process.

Discovery

CVE-2023-21823 was reported to Microsoft and confirmed to be actively exploited in the wild at the time of patching. The simultaneous KEV addition confirms zero-day status. The February 2023 Patch Tuesday included two zero-day LPEs (CVE-2023-21823 and CVE-2023-23376), suggesting that attackers were actively maintaining multiple privilege escalation capabilities and that at least one threat actor or campaign was using both simultaneously.

Exploitation Context

Windows graphics subsystem LPE vulnerabilities are a staple of sophisticated attack toolkits because the graphics subsystem is a kernel-mode attack surface accessible from any user-space application. In multi-stage attacks, an attacker who achieves initial code execution at standard user privilege — via phishing, document exploit, or a compromised web application — uses an LPE like CVE-2023-21823 to escalate to SYSTEM before dumping credentials (LSASS), disabling endpoint security, or achieving persistent administrator access. The active exploitation at patch time suggests this was incorporated into a maintained exploit kit or nation-state toolchain.

Remediation

  1. Apply the February 2023 Windows cumulative update — patches CVE-2023-21823; also applies the concurrent CLFS LPE fix (CVE-2023-23376) in the same update.
  2. Maintain current Windows cumulative updates — two LPE zero-days in one Patch Tuesday illustrates that attackers continuously invest in Windows privilege escalation capabilities; keeping updates current closes these paths promptly.
  3. Deploy endpoint detection for LPE behavioral patterns — detecting unprivileged processes spawning SYSTEM-level children or unusual token privilege manipulation provides a behavioral signal regardless of the specific exploit used.
  4. Limit unnecessary interactive user sessions on sensitive systems — reducing the number of users with local code execution on high-value servers limits the LPE blast radius.

Key Details

PropertyValue
CVE ID CVE-2023-21823
Vendor / Product Microsoft — Windows
NVD Published2023-02-14
NVD Last Modified2025-10-30
CVSS 3.1 Score7.8
CVSS 3.1 VectorCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
SeverityHIGH
CWE CWE-190 find similar ↗
CISA KEV Added2023-02-14
CISA KEV Deadline2023-03-07
Known Ransomware Use No

CVSS 3.1 Breakdown

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Required Action

CISA BOD 22-01 Deadline: 2023-03-07. Apply updates per vendor instructions.

Timeline

DateEvent
2023-02-14Microsoft February 2023 Patch Tuesday — CVE-2023-21823 patched as an actively exploited zero-day alongside CVE-2023-23376 (CLFS LPE); CVE published and added to CISA KEV catalog on same day
2023-03-07CISA BOD 22-01 remediation deadline

References

ResourceType
Microsoft Security Response Center Advisory Vendor Advisory
NVD — CVE-2023-21823 Vulnerability Database
CISA KEV Catalog Entry US Government