Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB
CVE-2024-38136 Overview
CVE-2024-38136 is an elevation of privilege vulnerability in the Windows Resource Manager Process State Manager (PSM) Service Extension. The flaw affects multiple supported Windows client and server releases. Microsoft classifies the issue as high severity, with local attack vector and low privileges required. A successful exploit allows an authenticated local attacker to elevate privileges to SYSTEM. The weakness maps to CWE-416 (Use After Free) and CWE-362 (Race Condition), indicating a timing-dependent memory safety flaw within the PSM service component.
Critical Impact
Local authenticated attackers can elevate to SYSTEM privileges on affected Windows and Windows Server systems, compromising confidentiality, integrity, and availability.
Affected Products
- Microsoft Windows 10 (1809, 21H2, 22H2)
- Microsoft Windows 11 (21H2, 22H2, 23H2, 24H2)
- Microsoft Windows Server 2019, Server 2022, and Server 2022 23H2
Discovery Timeline
- 2024-08-13 - CVE-2024-38136 published to NVD
- 2024-08-13 - Microsoft releases security update for CVE-2024-38136
- 2026-06-17 - Last updated in NVD database
Technical Details for CVE-2024-38136
Vulnerability Analysis
The vulnerability resides in the Windows Resource Manager PSM Service Extension, a component responsible for managing process state for packaged and modern application lifecycles. The flaw combines a race condition (CWE-362) with a use-after-free (CWE-416). An attacker who wins the race can trigger access to memory that was freed by another thread, allowing privilege escalation to SYSTEM. Exploitation requires an authenticated local foothold and sufficient timing control, which is reflected in the high attack complexity rating.
Root Cause
The root cause is improper synchronization between concurrent operations in the PSM Service Extension. One execution path frees an object while another path retains a reference and later dereferences it. The absence of proper locking or reference counting creates the use-after-free condition that an attacker can leverage for controlled memory corruption.
Attack Vector
Exploitation is strictly local. An attacker needs a valid low-privileged account on the target host and must execute code that interacts with the PSM service in a specific sequence. The attacker races the service's internal state transitions, freeing an object before the vulnerable code path uses it, then reclaiming the freed memory with attacker-controlled data. Successful exploitation grants arbitrary code execution in the context of the SYSTEM account. See the Microsoft Security Update Guide for CVE-2024-38136 for official vendor details.
Detection Methods for CVE-2024-38136
Indicators of Compromise
- Unexpected crashes or faults in processes hosted by the PSM Service Extension, including svchost.exe instances hosting Resource Manager services.
- Local user accounts spawning child processes with NT AUTHORITY\SYSTEM context without a legitimate elevation path.
- Unusual packaged application lifecycle API calls originating from standard user sessions in short bursts, consistent with race-condition probing.
Detection Strategies
- Correlate Windows Error Reporting events and application crash dumps referencing the PSM service against process creation telemetry from the same user session.
- Hunt for suspicious parent-child process chains where a non-elevated user process is followed by a SYSTEM-level child without a UAC or service-controlled trigger.
- Baseline normal interactions with packaged-app and Resource Manager interfaces, then alert on anomalous frequency or sequencing from standard users.
Monitoring Recommendations
- Enable Windows Security event auditing for process creation (Event ID 4688) with command line logging on all affected endpoints and servers.
- Forward endpoint process, module, and crash telemetry to a centralized analytics platform for cross-session correlation.
- Prioritize monitoring on multi-user systems such as Remote Desktop Session Hosts and shared Windows Server 2019 and 2022 infrastructure where local footholds are more common.
How to Mitigate CVE-2024-38136
Immediate Actions Required
- Apply the August 2024 Microsoft security updates referenced in the MSRC advisory for CVE-2024-38136 to all affected Windows 10, Windows 11, and Windows Server systems.
- Inventory endpoints and servers against the affected build list and prioritize patching on multi-user and internet-exposed hosts.
- Review and tighten local account provisioning, since exploitation requires an authenticated local user.
Patch Information
Microsoft addressed CVE-2024-38136 in the August 13, 2024 Patch Tuesday cumulative updates for all supported Windows 10, Windows 11, Windows Server 2019, and Windows Server 2022 branches, including 23H2. Administrators should deploy the cumulative update corresponding to each OS build as listed in the Microsoft Security Update Guide. No alternative hotfix is distributed for this issue.
Workarounds
- No vendor-supplied workaround exists; patching is the only supported remediation path.
- Reduce local attack surface by removing unnecessary interactive logon rights and enforcing least privilege on shared hosts.
- Restrict execution of untrusted binaries using Windows Defender Application Control or AppLocker to limit an attacker's ability to stage exploit code locally.
# Verify installation of the August 2024 cumulative update on Windows
wmic qfe list brief /format:table
# PowerShell equivalent to list installed security updates
Get-HotFix | Sort-Object -Property InstalledOn -Descending | Select-Object -First 20
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

