Windows Kernel
CVE-2024-21338 — Windows Kernel Elevation of Privilege Vulnerability
Executive Summary
None
Overview
7.8
CVSS HIGH
Important
MS Severity
Exploited
MS Exploit Status
Exploitation Detected
MS Exploit Likelihood
CVSS Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H/E:F/RL:O/RC:C
ATTACK VECTOR
Local
ATTACK COMPLEXITY
Low
PRIVILEGES REQUIRED
Low
USER INTERACTION
None
SCOPE
Unchanged
CONFIDENTIALITY
High
INTEGRITY
High
AVAILABILITY
High
EXPLOIT CODE MATURITY
Functional
REMEDIATION LEVEL
Official Fix
REPORT CONFIDENCE
Confirmed
Temporal Score: 7.2
EPSS Score
0.5981
probability of exploitation in the next 30 days
0.99051 percentile - updated 2026-08-14
View on FIRST.org
Affected Products
20 affected products
| Product | KB Article | Severity | Impact | Restart Required |
|---|---|---|---|---|
| Windows 10 Version 1809 for 32-bit Systems | 5034768 (Security Update) |
Important | Elevation of Privilege | Yes |
| Windows 10 Version 1809 for ARM64-based Systems | 5034768 (Security Update) |
Important | Elevation of Privilege | Yes |
| Windows 10 Version 1809 for x64-based Systems | 5034768 (Security Update) |
Important | Elevation of Privilege | Yes |
| Windows 10 Version 21H2 for 32-bit Systems | 5034763 (Security Update) |
Important | Elevation of Privilege | Yes |
| Windows 10 Version 21H2 for ARM64-based Systems | 5034763 (Security Update) |
Important | Elevation of Privilege | Yes |
| Windows 10 Version 21H2 for x64-based Systems | 5034763 (Security Update) |
Important | Elevation of Privilege | Yes |
| Windows 10 Version 22H2 for 32-bit Systems | 5034763 (Security Update) |
Important | Elevation of Privilege | Yes |
| Windows 10 Version 22H2 for ARM64-based Systems | 5034763 (Security Update) |
Important | Elevation of Privilege | Yes |
| Windows 10 Version 22H2 for x64-based Systems | 5034763 (Security Update) |
Important | Elevation of Privilege | Yes |
| Windows 11 version 21H2 for ARM64-based Systems | 5034766 (Security Update) |
Important | Elevation of Privilege | Yes |
| Windows 11 version 21H2 for x64-based Systems | 5034766 (Security Update) |
Important | Elevation of Privilege | Yes |
| Windows 11 Version 22H2 for ARM64-based Systems | 5034765 (Security Update) |
Important | Elevation of Privilege | Yes |
| Windows 11 Version 22H2 for x64-based Systems | 5034765 (Security Update) |
Important | Elevation of Privilege | Yes |
| Windows 11 Version 23H2 for ARM64-based Systems | 5034765 (Security Update) |
Important | Elevation of Privilege | Yes |
| Windows 11 Version 23H2 for x64-based Systems | 5034765 (Security Update) |
Important | Elevation of Privilege | Yes |
| Windows Server 2019 | 5034768 (Security Update) |
Important | Elevation of Privilege | Yes |
| Windows Server 2019 (Server Core installation) | 5034768 (Security Update) |
Important | Elevation of Privilege | Yes |
| Windows Server 2022 | 5034770 (Security Update) |
Important | Elevation of Privilege | Yes |
| Windows Server 2022 (Server Core installation) | 5034770 (Security Update) |
Important | Elevation of Privilege | Yes |
| Windows Server 2022, 23H2 Edition (Server Core installation) | 5034769 (Security Update) |
Important | Elevation of Privilege | Yes |
Patches
6 patches
| Article | Type | Restart |
|---|---|---|
5034768 |
Security Update | Yes |
5034763 |
Security Update | Yes |
5034766 |
Security Update | Yes |
5034765 |
Security Update | Yes |
5034770 |
Security Update | Yes |
5034769 |
Security Update | Yes |
Patch Diff
ghidriff · appid.sys (KB5034765)
Patch diff 10.0.22621.2506 -> 10.0.22621.3155 (ITW BYOVD/appid IOCTL fix; AipDeviceIoControlDispatch input validation)
| Function | Address | Change | Note |
|---|---|---|---|
__GSHandlerCheck |
1c0005c88 -> 1c0005f78 |
refcount, address | similarity 1.0 |
_guard_dispatch_icall |
1c0005f50 -> 1c0006240 |
refcount, address, calling | similarity 0.89 |
__security_check_cookie |
1c00010c0 |
refcount, calling | similarity 1.0 |
AipDeviceIoControlDispatch |
1c001df20 |
code, length, called | similarity 0.4 |
NTOSKRNL.EXE::RtlQueryFeatureConfiguration |
EXTERNAL:000000a7 -> EXTERNAL:000000a8 |
refcount, address, calling | similarity 1.0 |
wil_details_FeatureReporting_ReportUsageToService |
1c000217c -> 1c00015c0 |
refcount, address, calling | similarity 1.0 |
Attack Path
BYOVD-style kernel code execution - appid.sys dereferences a function pointer supplied in the IOCTL input buffer
Derived from the patch delta: the checks added by the vendor identify which fields crossed a trust boundary unvalidated. Reachability and privilege are taken from the call chain in the RCA report.
Exploits & PoC
8 public PoCsUnverified third-party code
Public proof-of-concept repositories aggregated from PoC-in-GitHub. They are not reviewed and may be incomplete, non-functional, or malicious — inspect the code before running anything.
| Repository | Stars | Published | Description |
|---|---|---|---|
| hakaioffsec/CVE-2024-21338 | 335 | 2024-04-13 | Local Privilege Escalation from Admin to Kernel vulnerability on Windows 10 and Windows 11 operating systems with HVCI enabled. |
| Crowdfense/CVE-2024-21338 | 80 | 2024-07-29 | Windows AppLocker Driver (appid.sys) LPE |
| tykawaii98/CVE-2024-21338_PoC | 40 | 2024-06-23 | |
| Zombie-Kaiser/CVE-2024-21338-x64-build- | 7 | 2024-05-18 | Local Privilege Escalation from Admin to Kernel vulnerability on Windows 10 and Windows 11 operating systems with HVCI enabled. |
| MistyFir/CVE-2024-21338-Exploit | 7 | 2026-03-11 | |
| UMU618/CVE-2024-21338 | 2 | 2024-04-17 | Fork of https://github.com/hakaioffsec/CVE-2024-21338 |
| wusijie/CVE-2024-21338-1 | 2 | 2024-05-05 | PoC for the Untrusted Pointer Dereference in the appid.sys driver |
| hackyboiz/kcfg-bypass | 2 | 2025-01-12 | kcfg bypass example - CVE-2024-21338 |
Detection Rules
No public Sigma or Nuclei detection rule has been mapped to this CVE yet. Coverage is concentrated on exploited / high-profile vulnerabilities; check SigmaHQ for updates.
Acknowledgments
Jan Vojtěšek with Avast
References
On This Page