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-38137 Overview
CVE-2024-38137 is an elevation of privilege vulnerability in the Windows Resource Manager Process State Manager (PSM) Service Extension. The flaw affects multiple supported versions of Windows 10, Windows 11, and Windows Server 2022. Microsoft classifies the issue as HIGH severity with a CVSS 3.1 base score of 7.0. The vulnerability requires local access and low privileges, but exploitation complexity is high due to a race condition in the affected component. Successful exploitation allows an attacker to gain SYSTEM-level privileges on the targeted host. The underlying weaknesses are tracked as [CWE-416] Use After Free and [CWE-362] Concurrent Execution using Shared Resource with Improper Synchronization.
Critical Impact
An authenticated local attacker who wins a race condition in the PSM Service Extension can execute code at SYSTEM, fully compromising confidentiality, integrity, and availability of the host.
Affected Products
- Microsoft Windows 10 (21H2, 22H2)
- Microsoft Windows 11 (21H2, 22H2, 23H2, 24H2)
- Microsoft Windows Server 2022 and Windows Server 2022 23H2
Discovery Timeline
- 2024-08-13 - CVE-2024-38137 published to NVD
- 2026-06-17 - Last updated in NVD database
Technical Details for CVE-2024-38137
Vulnerability Analysis
The vulnerability resides in the Windows Resource Manager PSM Service Extension, a component responsible for managing process state for packaged and background applications. The flaw combines two weakness classes: a use-after-free condition ([CWE-416]) and a race condition ([CWE-362]) between concurrent threads accessing a shared resource. An authenticated local user can trigger the race window to cause the service to reuse memory that has already been freed. Controlling the contents of the freed allocation lets the attacker redirect execution within a process running at SYSTEM. The CVSS vector reflects a local attack path with high attack complexity, which aligns with the timing-sensitive nature of race-condition exploitation. EPSS data indicates a low probability of broad opportunistic exploitation, consistent with a vulnerability that requires precise synchronization control.
Root Cause
The root cause is improper synchronization between threads that reference a shared object within the PSM Service Extension. One thread can free the object while another thread still holds a pointer to it. When the dangling pointer is dereferenced, the service operates on attacker-influenced memory. The missing locking or reference-counting discipline turns a benign cleanup path into an exploitable primitive.
Attack Vector
An attacker must already have the ability to execute code locally with low privileges, such as a standard user session or a compromised low-integrity process. The attacker then issues concurrent requests to the PSM Service Extension to force a race between an allocation lifecycle event and a reference use. Winning the race leaks a use-after-free, which the attacker shapes into arbitrary code execution in the SYSTEM context. No user interaction is required, and the attack remains within a single security scope.
No public proof-of-concept or exploit code has been published for CVE-2024-38137. Refer to the Microsoft Security Update Guide for CVE-2024-38137 for authoritative technical context.
Detection Methods for CVE-2024-38137
Indicators of Compromise
- Unexpected crashes or restarts of the Windows Resource Manager or PSM-related service processes, which may indicate failed exploitation attempts.
- Standard user accounts spawning child processes with NT AUTHORITY\SYSTEM token integrity shortly after interacting with packaged-app APIs.
- Creation of new scheduled tasks, services, or persistence artifacts immediately following suspicious process-state activity from a non-privileged session.
Detection Strategies
- Correlate Windows Error Reporting (WER) and Application Error events for the PSM Service Extension with subsequent privilege-changing operations on the same host.
- Build behavioral detections for local privilege escalation patterns, including unexpected token duplication and parent/child integrity-level mismatches.
- Hunt for repeated, rapid-fire calls into packaged application lifecycle APIs from a single low-privilege user context, which are consistent with race-condition brute forcing.
Monitoring Recommendations
- Enable and forward Sysmon Event IDs 1 (process creation), 8 (CreateRemoteThread), and 10 (process access) to a central analytics platform for review.
- Monitor the Microsoft-Windows-Kernel-Process and Application channels for abnormal termination of PSM-related services on patched and unpatched systems.
- Track patch compliance for the August 2024 Windows cumulative updates across all Windows 10, Windows 11, and Windows Server 2022 endpoints.
How to Mitigate CVE-2024-38137
Immediate Actions Required
- Apply the August 2024 Microsoft security updates referenced in the Microsoft Security Update Guide for CVE-2024-38137 to all affected Windows 10, Windows 11, and Windows Server 2022 systems.
- Prioritize patching on multi-user systems, Remote Desktop Session Hosts, and virtual desktop infrastructure where low-privilege local access is common.
- Audit local account inventories and remove unnecessary interactive logon rights to reduce the population of accounts that satisfy the local, low-privilege precondition.
Patch Information
Microsoft addressed CVE-2024-38137 in the August 2024 Patch Tuesday release. Administrators should install the cumulative updates listed for each affected build in the Microsoft Security Update Guide for CVE-2024-38137. Verify installation by confirming the post-patch build number on each endpoint through winver or the Get-HotFix PowerShell cmdlet.
Workarounds
- No official vendor workaround is documented; patching is the supported remediation path.
- Enforce least privilege and application allowlisting with Windows Defender Application Control or AppLocker to limit which binaries unprivileged users can execute.
- Restrict interactive and Remote Desktop logons on sensitive servers to administrative personnel until patch deployment completes.
# Verify patch status on an affected Windows host (PowerShell)
Get-HotFix | Sort-Object -Property InstalledOn -Descending | Select-Object -First 10
(Get-CimInstance Win32_OperatingSystem).Version
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

