Feb 22, 2026·6 min read·61 visits
Windows Kernel race condition in object handle management. Attackers spam Open/Close operations to free an object twice. This corrupts the kernel heap, leading to Local Privilege Escalation (LPE) to SYSTEM. Patch immediately.
A critical race condition in the Windows Kernel allows low-privileged users to trigger a double-free vulnerability via precise handle manipulation. This creates a predictable memory corruption primitive, enabling local attackers to elevate privileges to SYSTEM. Disclosed in November 2025, this zero-day was caught being actively exploited in the wild.
In the Windows Kernel, handles are the sacred tokens of access. Every file, process, or mutex you interact with is represented by a kernel object, and user-mode applications hold a 'handle' to that object. The kernel acts as the librarian, keeping a strict count (Reference Counting) of how many people are holding a book. When the count hits zero, the book is burned (memory is freed).
But what happens if the librarian gets distracted? CVE-2025-62215 is a classic tale of concurrency gone wrong. It turns out that if two threads scream "I'm returning this book!" at the exact same nanosecond, the kernel might get confused, agree with both of them, and try to burn the book twice.
This isn't just a crash. In the hands of a skilled exploit developer, a Double-Free is the holy grail of memory corruption. It turns the kernel's own memory manager against itself, allowing an attacker to rewrite the laws of physics within the operating system. You start as a nobody (Low Integrity); you end as God (SYSTEM).
Deep inside ntoskrnl.exe, the Object Manager is responsible for lifecycle management. When you call CloseHandle, the kernel decrements the object's reference count. Logic dictates that the cleanup routine should only run when the count hits exactly zero. However, CVE-2025-62215 exposes a Race Condition (CWE-362) in this critical path.
The vulnerability exists in the timing window between checking the handle status and decrementing the object pointer count. If an attacker spawns multiple threads targeting the same object handle, they can desynchronize this logic.
Thread A enters the destruction routine. It passes the check. Before it can mark the object as 'dying', Thread B enters the same routine. Because the state hasn't updated yet, Thread B also passes the check. Both threads proceed to call the internal free routine on the same memory address. The first free works as intended. The second free triggers CWE-415 (Double Free), corrupting the heap metadata that tracks available memory chunks.
While the exact source code of Windows is closed, we can reconstruct the logic failure based on the binary analysis and the patch behavior. The vulnerable pseudo-code likely looked something like this:
// VULNERABLE LOGIC (Conceptual)
void ObpCloseHandleTableEntry(ObjectTable, Entry) {
// ... validation logic ...
// The Race Window: multiple threads pass here before state updates
if (Entry->Value & 1) {
Object = Decode(Entry);
// Thread A is here... Context Switch... Thread B arrives here
if (InterlockedDecrement(&Object->PointerCount) == 0) {
// Both threads think they are the last one
ObpDeleteObject(Object); // DOUBLE FREE
}
}
}The fix involves tightening the synchronization locks around the handle table entry lookup and the reference decrement, ensuring that the operation is atomic. If Thread A is closing the handle, Thread B is blocked or sees an invalid handle immediately, rather than racing down the execution path.
Turning a Double-Free into a stable exploit requires finesse. The goal is Heap Feng Shui: organizing the kernel memory so that the corruption lands exactly where we want it.
Pipe or an ALPC Port. Create thousands of handles to it.CloseHandle and OpenProcess in a tight loop. We are fishing for the race condition.IoCompletionReserve or specific WNF states) that are the exact same size as the freed object. The kernel allocator happily places one of our fake objects into the slot vacated in Step 3.This corrupts the FLINK (Forward Link) and BLINK (Backward Link) pointers of the heap chunk. By carefully crafting the data in our fake object, we can turn this metadata corruption into a Write-What-Where primitive. We use this to overwrite our process's Token pointer with the address of the System Token, effectively promoting ourselves to administrator.
This is not theoretical. CISA added this to the KEV catalog immediately because ransomware operators love this stuff. In a modern attack chain, getting code execution on a box (via Phishing or RCE) is only step one. You usually land as a low-privileged user.
With CVE-2025-62215, that foothold becomes total compromise in seconds. An attacker can:
lsass.exe memory to steal domain admin hashes.The fact that this works on the latest Windows 11 builds (24H2) and Server 2025 makes it a universal skeleton key for Windows environments.
Microsoft's November 2025 patch introduces stricter locking mechanisms in the Object Manager (Ob). The remediation is binary: you patch, or you are vulnerable.
> [!NOTE]
> Detection Tip: Look for processes generating an absurd number of Handle operations (Event ID 4656) in a short burst, followed by the spawning of a cmd.exe or powershell.exe with System integrity.
If you are a developer, the lesson here is that InterlockedDecrement alone is not a silver bullet for thread safety if the logic surrounding the counter is flawed. Always assume your handle is lying to you.
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H| Product | Affected Versions | Fixed Version |
|---|---|---|
Windows 11 Version 23H2 Microsoft | < 10.0.22631.4391 | 10.0.22631.4391 |
Windows 10 Version 22H2 Microsoft | < 10.0.19045.6575 | 10.0.19045.6575 |
| Attribute | Detail |
|---|---|
| CWE ID | CWE-362 (Race Condition) |
| Secondary CWE | CWE-415 (Double Free) |
| CVSS v3.1 | 7.0 (High) |
| Attack Vector | Local (Kernel Mode) |
| EPSS Score | 0.52% (High percentile) |
| Exploit Status | Active / Weaponized |
| KEV Listed | Yes (Nov 12, 2025) |
Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')
An uncontrolled resource consumption vulnerability exists in the Scala-based http4s-blaze-server package of the http4s/blaze library. The vulnerability allows remote, unauthenticated attackers to cause an Out of Memory Error (OOM) and JVM crash by streaming a continuous sequence of small or empty WebSocket continuation frames with the FIN bit set to 0. This bypasses typical payload size checks because of the JVM's per-object allocation overhead, leading to rapid heap exhaustion with minimal network bandwidth.
A critical path traversal vulnerability has been identified in the OpenList Go-based backend package. The vulnerability exists within the batch rename handler because the application does not validate the source filename parameter before constructing filesystems paths. This omission allows authenticated users to escape their designated directory and rename files in sibling paths.
OpenList version 4.2.3 and prior is vulnerable to an authorization bypass and metadata leakage. When configured with the Bleve search engine backend, OpenList fails to perform separator-aware path matching when validating tenant containment. This allows authenticated users to access sibling directories sharing similar name prefixes. Furthermore, the search backend returns unfiltered global result counts, leaking existence verification data of unauthorized files via side-channel analysis.
An authorization bypass vulnerability in OpenList version 4.2.3 and below allows authenticated users to read arbitrary files outside of their designated base directories due to an insecure path prefix check using Go's standard strings.HasPrefix function.
A security policy bypass vulnerability exists in the AWS API MCP Server (awslabs-aws-api-mcp-server) from version 0.2.13 through 1.3.46. When the server fails to load the read-only operations index during startup (due to transient network failures, file permission issues, or other exceptions), it logs a warning but continues running in an insecure, degraded state. Under this condition, the security policy engine fails open, silently skipping all subsequent security checks and consent prompts for the lifetime of the process. This permits unauthorized mutating AWS CLI commands to execute via indirect prompt injection attacks.
An incomplete escaping vulnerability in the npm package 'shescape' allows unauthenticated users to trigger dynamic shell expansions, absolute path disclosure, and command block break-outs on Unix and Windows systems.