Skip to main content
Mallory
HighExploited in the wildCISA KEVPublic exploitVulnerability

CVE-2018-8611: Windows Kernel Transaction Manager Use-After-Free Privilege Escalation

Published Dec 12, 2018 · Updated 1 month ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 daysNo mention activity in the last 30 days.
CVSS7.8High · v3.1
EPSS4.2%92nd percentile
CISA KEVYesAdded May 24, 2022
In the wildActivePer CISA KEV
Vendor
Microsoft Corporation
IdentifiersCVE-2018-8611CWE-416

CVE-2018-8611 is a race-condition-driven use-after-free vulnerability in the Windows Kernel Transaction Manager (KTM). In TmRecoverResourceManager(), vulnerable code can reuse a _KENLISTMENT pointer after releasing the resource manager mutex and dereferencing the enlistment object. Another thread can finalize and free the enlistment before that pointer is reused, allowing attacker-controlled replacement data to be processed by the kernel. Exploitation enables kernel-memory manipulation and local privilege escalation to SYSTEM. Affected products include Windows 7, Windows 8.1, Windows RT 8.1, Windows 10, and Windows Server 2008 through Windows Server 2019, including the listed R2 releases. Independent exploitation research also demonstrated vulnerable Windows Vista systems. The vulnerability was exploited as a zero-day in 2018 and patched in December 2018.

Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Analyst brief

Impact, mitigation & remediation

What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.

Impact

What an attacker gets, and what they’ve been doing with it.

Successful exploitation permits local elevation to SYSTEM and arbitrary code execution in kernel mode, enabling full system compromise, program installation, data access or modification, and creation of privileged accounts. Exploitation can also escape browser sandboxes in Chrome and Edge. Demonstrated techniques obtain kernel-memory read/write capabilities and replace a process token with the SYSTEM token. Unreliable exploitation can cause a kernel crash and system disruption.

Mitigation

If you can’t patch tonight, do this now.

Until the security update is applied, limit local access to trusted users and monitor for suspicious activity. These measures do not correct the underlying kernel vulnerability.

Remediation

Patch, then assume compromise.

Apply the Microsoft security update addressing CVE-2018-8611, released in December 2018, or upgrade to a fixed Windows version. The fix changes resource-manager recovery to restart enlistment traversal from EnlistmentHead after notification handling rather than reusing a potentially stale enlistment pointer, and adds a transaction-manager-online check.

Public exploits

Exploits

2 exploits validated by Mallory's analysis.

View more in app →
CVE-2018-8611This repository contains a local privilege escalation exploit targeting Microsoft Windows 10 Consumer Edition, version 1803 (March 2018 update, x64). The main exploit logic is implemented in 'exp.cpp', which orchestrates the attack by creating a large number of named pipes to perform pool feng shui, sets up fake kernel object structures (defined in 'obj.h'), and leverages direct system calls (implemented in 'asm.asm') to interact with the Windows kernel. The exploit abuses the Kernel Transaction Manager (KTM) subsystem, manipulating resource manager and enlistment objects to achieve arbitrary kernel memory writes and ultimately escalate privileges. The code is operational and includes all necessary components to perform the attack, but is not part of a framework and does not provide a customizable payload interface. The only fingerprintable endpoint is the use of named pipes (\\.\pipe\*), which are used internally for heap manipulation. The repository is structured with one main exploit file ('exp.cpp'), a header with detailed kernel object definitions ('obj.h'), and a small assembly file for custom system calls ('asm.asm'). The exploit is intended for research or demonstration purposes on the specified Windows version.lsw29475 · Disclosed Apr 27, 2021 · cpp · asm · localOperationalcve-2018-8611This repository is a standalone C++ local privilege-escalation exploit for CVE-2018-8611, a Windows Kernel Transaction Manager (KTM) use-after-free vulnerability. It is not a framework module. The repository is small and focused: CMakeLists.txt builds a single executable from src/exploit.cpp; src/exploit.hpp contains helper macros, constants, context structures, and function declarations; src/nt.h contains large Windows kernel structure definitions and hardcoded offsets needed by the exploit; README.md documents the target CVE and the two exploitation modes. The main exploit logic lives in src/exploit.cpp. It creates KTM objects such as transaction managers, resource managers, transactions, and enlistments, then combines them with aggressive heap feng shui using large named-pipe buffers. Multiple helper routines create named pipes, events, threads, and KTM objects. The exploit spins worker threads for pipe draining and race orchestration, pins threads to CPUs, and uses congestion/recovery timing to win the KTM race and reclaim freed kernel memory with attacker-controlled data. The code clearly implements exploitation rather than detection. The README states two privilege-escalation techniques: default increment primitive and optional write-zero primitive selected with '-w'. The visible code confirms this with a global flag use_write_prim and an escalation path that either calls increment_privesc(ctx) or creates an escape enlistment and injects it to exploit a write-0 primitive against KTHREAD.PreviousMode. The hardcoded offsets in nt.h, especially KTHREAD_PreviousMode = 0x232, indicate the exploit is version-specific and tuned for Windows 10 RS5 x64. Fingerprintable endpoints are limited because this is a local exploit: the main observable artifacts are named pipes \\.\pipe\pipe0, \\.\pipe\pipe1, and \\.\pipe\spray. There are no external network URLs, IPs, or domains. Overall, the repository is an operational PoC exploit that performs local kernel heap manipulation and KTM object corruption to obtain a kernel primitive and elevate privileges on vulnerable Windows systems.ahm3dgg · Disclosed Aug 17, 2026 · cpp · cmake · localOperational
Exposure surface

Affected products & vendors

Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.

VendorProductType
Microsoft CorporationWindows 10 1607operating_system
Microsoft CorporationWindows 10 1703operating_system
Microsoft CorporationWindows 10 1709operating_system
Microsoft CorporationWindows 10 1803operating_system
Microsoft CorporationWindows 10 1809operating_system
Microsoft CorporationWindows 7operating_system
Microsoft CorporationWindows 8.1operating_system
Microsoft CorporationWindows Rt 8.1operating_system
Microsoft CorporationWindows Server 2008operating_system
Microsoft CorporationWindows Server 2012operating_system
Microsoft CorporationWindows Server 2016operating_system
Microsoft CorporationWindows Server 2019operating_system
FAQ

Frequently asked questions

Is CVE-2018-8611 exploited in the wild?
Yes. As of Oct 16, 2026, Mallory has reports of exploitation in the wild, and CISA added it to KEV on May 24, 2022.
Is there a public exploit for CVE-2018-8611?
Yes. Mallory tracks 2 public exploits or proofs of concept for CVE-2018-8611, the earliest disclosed Apr 27, 2021.
Is there a patch for CVE-2018-8611?
Apply the Microsoft security update addressing CVE-2018-8611, released in December 2018, or upgrade to a fixed Windows version. The fix changes resource-manager recovery to restart enlistment traversal from EnlistmentHead after notification handling rather than reusing a potentially stale enlistment pointer, and adds a transaction-manager-online check.
What products are affected by CVE-2018-8611?
Microsoft Corporation Windows 7, Microsoft Corporation Windows 8.1, Microsoft Corporation Windows Rt 8.1, Microsoft Corporation Windows Server 2008, Microsoft Corporation Windows Server 2019, and 7 more.
How severe is CVE-2018-8611?
CVE-2018-8611 has a CVSS v3.1 score of 7.8 (High) and an EPSS score of 4.2% (92nd percentile) as of Oct 16, 2026.
Activity feed

Recent activity

12 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.

View more in app →
+4 more in the timeline. Sign up to see them
Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Mallory platform

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which adversaries are exploiting it right now, and which detections to deploy tonight.
Exposure mappingQuery your assets running an affected version, and investigate the blast radius.
Threat actor evidence1Every report linking this CVE to a named adversary.
Associated malwareMalware families linked to this CVE, with evidence and IOCs.
Detection signatures2YARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Vendor-by-vendor mappingCross-references every affected SKU, including bundled OEM variants.
Social activity4Community discussion across Reddit, Mastodon, and other social sources.