CVEReports
CVEReports

Automated vulnerability intelligence platform. Comprehensive reports for high-severity CVEs generated by AI.

Product

  • Home
  • Sitemap
  • RSS Feed

Company

  • About
  • Contact
  • Privacy Policy
  • Terms of Service

© 2026 CVEReports. All rights reserved.

Made with love by Amit Schendel & Alon Barad



CVE-2025-62215

Race for the Kernel: Anatomy of the Windows Handle Double-Free (CVE-2025-62215)

Alon Barad
Alon Barad
Software Engineer

Feb 22, 2026·6 min read·122 visits

Executive Summary (TL;DR)

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.

The Hook: Jiggling the Lock

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).

The Flaw: A Game of RefCount Roulette

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.

The Code: Breaking Synchronization

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.

The Exploit: From Crash to System

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.

  1. The Setup: Create a 'target' object. Something simple like a Pipe or an ALPC Port. Create thousands of handles to it.
  2. The Race: Spin up 20+ threads. Have them all hammer CloseHandle and OpenProcess in a tight loop. We are fishing for the race condition.
  3. The First Free: Thread A wins. The object is freed. The memory slot (chunk) is now marked as 'available' in the Free List.
  4. The Spray (The Trap): Immediately spray the heap with fake objects (e.g., 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.
  5. The Second Free: Thread B (the slow racer) finally executes its free. It thinks it's freeing the original object, but it actually frees our fake object (the one we just sprayed).

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.

The Impact: Why CISA is Screaming

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:

  • Bypass EDR: By loading a malicious kernel driver (BYOVD) after gaining System privileges.
  • Dump Credentials: Access lsass.exe memory to steal domain admin hashes.
  • Persist: Burry themselves deep in the OS, outside the view of user-mode antivirus.

The fact that this works on the latest Windows 11 builds (24H2) and Server 2025 makes it a universal skeleton key for Windows environments.

The Fix: Closing the Window

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.

Official Patches

MicrosoftOfficial Security Update Guide

Fix Analysis (1)

Technical Appendix

CVSS Score
7.0/ 10
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS Probability
0.52%
Top 34% most exploited

Affected Systems

Windows 10 Version 21H2/22H2Windows 11 Version 22H2/23H2/24H2Windows Server 2019Windows Server 2022Windows Server 2025

Affected Versions Detail

Product
Affected Versions
Fixed Version
Windows 11 Version 23H2
Microsoft
< 10.0.22631.439110.0.22631.4391
Windows 10 Version 22H2
Microsoft
< 10.0.19045.657510.0.19045.6575
AttributeDetail
CWE IDCWE-362 (Race Condition)
Secondary CWECWE-415 (Double Free)
CVSS v3.17.0 (High)
Attack VectorLocal (Kernel Mode)
EPSS Score0.52% (High percentile)
Exploit StatusActive / Weaponized
KEV ListedYes (Nov 12, 2025)

MITRE ATT&CK Mapping

T1068Exploitation for Privilege Escalation
Privilege Escalation
T1559Inter-Process Communication
Execution
CWE-362
Race Condition

Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')

Known Exploits & Detection

GitHubMultithreaded handle race condition PoC
GitHubHeap spray implementation for stable LPE

Vulnerability Timeline

Vulnerability Published & Patched
2025-11-11
Added to CISA KEV
2025-11-12
PoC Exploit Publicly Released
2025-11-13

References & Sources

  • [1]Microsoft Security Response Center
  • [2]CISA KEV Catalog

Attack Flow Diagram

Press enter or space to select a node. You can then use the arrow keys to move the node around. Press delete to remove it and escape to cancel.
Press enter or space to select an edge. You can then press delete to remove it or escape to cancel.

More Reports

•2 days ago•CVE-2026-115895
8.8

CVE-2026-115895: Code Injection via Unsanitized Import Alias in Happy DOM ECMAScript Module Compiler

CVE-2026-115895 is a high-severity code injection vulnerability (CWE-94) in the happy-dom npm package prior to version 21.0.4. The vulnerability exists within the ECMAScriptModuleCompiler component, which transforms ECMAScript module syntax into executable Node.js functions when JavaScript evaluation is enabled. Due to an incomplete fix for CVE-2026-33943, the compiler failed to validate local named import aliases against legal JavaScript identifier rules. Attackers supplying crafted module imports—specifically utilizing destructuring default initializers alongside JSON module attributes—can inject arbitrary JavaScript expressions directly into the host Node.js runtime context.

Amit Schendel
Amit Schendel
8 views•10 min read
•2 days ago•CVE-2026-115883
6.0

CVE-2026-115883: Cross-Namespace Access via Dot-Delimited Labels in LangGraph Postgres and SQLite Stores

An improper input validation and authorization bypass vulnerability exists in the LangGraph storage layer affecting langgraph, langgraph-checkpoint-postgres, and langgraph-checkpoint-sqlite. Because relational store implementations serialize namespace tuples into dot-delimited strings without validating labels on read, search, delete, and batch operations, an attacker who controls a namespace label can inject periods (.) to traverse namespace boundaries and access, modify, or delete data belonging to other namespaces.

Amit Schendel
Amit Schendel
8 views•9 min read
•2 days ago•CVE-2026-115886
6.5

CVE-2026-115886: Unauthenticated Server-Side Request Forgery and Unsafe Reflection in MLflow Scorer Evaluation Endpoints

CVE-2026-115886 (GHSA-2wqp-q3c6-ccj5) is a Server-Side Request Forgery (SSRF) and Unsafe Reflection vulnerability in MLflow versions 3.12.0rc0 prior to 3.17.0. Unauthenticated REST API endpoints accept serialized third-party scorer JSON payloads that are dynamically deserialized and reflectively instantiated without sanitizing constructor keyword arguments. When optional dependencies such as trulens and trulens-providers-litellm are installed, attackers can inject egress-steering arguments into the scorer payload, forcing the MLflow server to dispatch outbound HTTP requests to arbitrary internal destinations or cloud metadata services.

Alon Barad
Alon Barad
13 views•10 min read
•3 days ago•CVE-2026-113872
7.5

CVE-2026-113872: Unauthenticated Process Crash in Express Multer via Late Busboy Stream Resumption

CVE-2026-113872 (GHSA-q7qp-rjg7-q26m) is a high-severity denial-of-service vulnerability affecting the multer multipart/form-data upload middleware for Node.js and Express in versions 2.0.0 through 2.4.0. When an endpoint is configured to accept multiple files using an asynchronous fileFilter callback, a crafted, truncated multipart HTTP request can trigger an unhandled error event on the underlying busboy stream parser after request teardown has already completed. Because all error listeners are stripped during teardown, Node.js treats the resulting error event as an uncaught exception and immediately terminates the server process.

Amit Schendel
Amit Schendel
10 views•12 min read
•3 days ago•CVE-2026-115897
2.1

CVE-2026-115897: Cross-Site Scripting via Function Body Boundary Bypass in serialize-javascript

CVE-2026-115897 (also tracked as GHSA-m5mm-p8h7-m29v and aliased as CVE-2026-115754) is a Cross-Site Scripting (XSS) vulnerability in the Yahoo serialize-javascript npm package prior to version 7.1.3. The flaw exists in the regular expression used by escapeFunctionBody() to neutralize HTML script closing tags within serialized JavaScript functions. Because function bodies are sanitized in isolation before structural formatting is applied, a function whose string representation terminates directly with the sequence '</script' bypasses the positive lookahead check. When combined with serialization formatting options that introduce whitespace delimiters and a subsequent property that supplies a closing bracket, an attacker can prematurely terminate an enclosing HTML <script> block and inject arbitrary HTML or JavaScript into the rendered document.

Amit Schendel
Amit Schendel
7 views•13 min read
•3 days ago•CVE-2026-109841
5.9

CVE-2026-109841: Subresource Integrity Verification Bypass in Node.js Undici

CVE-2026-109841 is a Subresource Integrity (SRI) verification bypass vulnerability in undici, the official HTTP/1.1 and HTTP/2 client library for Node.js that powers the global fetch() implementation. The flaw stems from improper handling of case sensitivity (CWE-178) when validating cryptographic hash algorithm tokens within SRI metadata. Because undici compared incoming algorithm identifiers against a strictly lowercase set without prior ASCII-lowercase normalization, valid uppercase or mixed-case tokens such as SHA256- or Sha384- were treated as unrecognized algorithms and discarded. Under SRI forward-compatibility rules, discarding all provided tokens results in an empty integrity list, causing undici to fail open and accept tampered HTTP response bodies without cryptographic verification.

Alon Barad
Alon Barad
17 views•9 min read