Skip to main content
Mallory
HighExploited in the wildCISA KEVPublic exploitVulnerability

CVE-2024-49138: Windows Common Log File System Driver Heap Overflow Privilege Escalation

Published Dec 10, 2024 · Updated 5 days ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 days9 mentions · peak 3 in a dayToday
CVSS7.8High · v3.1
EPSS4.7%93rd percentile
CISA KEVYesAdded Dec 10, 2024
In the wildActivePer CISA KEV
Vendor
Microsoft Corporation
IdentifiersCVE-2024-49138CWE-122 · Heap-based Buffer Overflow

CVE-2024-49138 is a heap-based buffer overflow in the Windows Common Log File System (CLFS) driver that allows a local, low-privileged attacker to escalate privileges to SYSTEM. Affected platforms include Windows 10, Windows 11, and Windows Server editions. Public proof-of-concept exploitation demonstrates arbitrary kernel memory read/write followed by process-token replacement to obtain a SYSTEM shell. The vulnerability requires no user interaction and was actively exploited before Microsoft addressed it in the December 2024 security updates. Microsoft rates it Important with a CVSS v3.1 base score of 7.8.

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 compromises the confidentiality, integrity, and availability of the affected host by granting SYSTEM privileges. An attacker can use the elevated context to deploy malware, access protected information, modify system resources, and disrupt services. Exploitation has been associated with malware deployment on outdated point-of-sale systems and subsequent payment-card data theft.

Mitigation

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

Use endpoint protection with explicit detection coverage for CVE-2024-49138 as a defense-in-depth measure while deploying updates. Detection coverage does not eliminate the vulnerability or replace patching. No verified vulnerability-specific configuration workaround is established by the available information.

Remediation

Patch, then assume compromise.

Install the applicable Microsoft December 2024 Windows security updates addressing CVE-2024-49138, or a superseding cumulative update containing the fix. Prioritize unpatched systems because exploitation has been detected in the wild. CISA included the vulnerability in its Known Exploited Vulnerabilities Catalog with a remediation deadline of December 31, 2024.

Public exploits

Exploits

3 exploits validated by Mallory's analysis. Hidden: 11 rejected by Mallory's analysis as not a working exploit; 1 not yet analyzed, such as Exploit-DB entries.

View more in app →
CVE-2024-49138-POCThis repository contains a working proof-of-concept (POC) exploit for CVE-2024-49138, a local privilege escalation vulnerability in the Microsoft Windows CLFS.sys driver. The main exploit logic is implemented in 'CVE-2024-49138-POC.cpp', which is a C++ application designed to be built and run on Windows 11 23H2. The exploit abuses a vulnerability in CLFS.sys to achieve arbitrary kernel read/write, then locates and swaps the current process token with the SYSTEM process token, finally spawning a SYSTEM shell (cmd.exe). The README provides hashes of the tested driver and kernel files, as well as detailed usage instructions and output examples. The exploit requires local access and is not a remote exploit. The repository includes Visual Studio project files, a resource script, and a small resource file, but the core exploit is in the C++ source file. The attack vector is local, targeting the Windows kernel via a vulnerable driver. The exploit is operational and provides a SYSTEM shell if successful.MrAle98 · Disclosed Jan 15, 2025 · c++ · localOperationalCVE-2024-49138-POCThis repository is a Proof-of-Concept (PoC) exploit for CVE-2024-49138, a privilege escalation vulnerability in the Microsoft Windows CLFS.sys driver. The main exploit logic is implemented in 'CVE-2024-49138-POC.cpp', which is a C++ program designed to be built as a 64-bit Windows executable. The exploit works by leveraging a vulnerability in CLFS.sys to achieve arbitrary kernel read/write, then locates the current process's EPROCESS structure, swaps its token with that of the SYSTEM process, and finally spawns a SYSTEM-level command shell (cmd.exe). The exploit uses several hardcoded kernel structure offsets and interacts directly with kernel memory via NtReadVirtualMemory and NtWriteVirtualMemory. It creates and uses the directory 'C:\temp' and a resource file 'mylogdddd.blf.blf' as part of the exploitation process. The repository includes Visual Studio project files for building the exploit, a resource header and script, and a README with build instructions and sample output demonstrating successful privilege escalation. No network endpoints are involved; the attack vector is local privilege escalation on a vulnerable Windows system.bananoname · Disclosed Jan 21, 2025 · cpp · rc · localOperationalCVE-2024-49138This is a compact Windows local privilege escalation repository consisting of a single substantive source file (main.cpp) plus a resource header. It is not a framework module. The code is a native C++ proof-of-concept/operational exploit targeting a Windows kernel vulnerability identified by the repository metadata as CVE-2024-49138 and using CLFS-related components (clfsw32.h / Clfsw32.lib). Repository structure: main.cpp contains all exploit logic, including kernel base discovery, handle-to-kernel-address resolution, setup of native API function pointers, vulnerability triggering, validation of arbitrary read/write, token stealing, and shell spawning. resource.h only defines a resource identifier and appears ancillary. Main exploit capability: the code aims to convert a vulnerability trigger into arbitrary kernel read/write primitives by calling NtReadVirtualMemory and NtWriteVirtualMemory with pseudo-handle -1 after the bug is triggered. It then enumerates loaded drivers to find the ntoskrnl base, uses hardcoded offsets for kernel globals/structures (such as PsActiveProcessHead, ActiveProcessLinks, UniqueProcessId, Token, and token privilege fields), walks the active process list to find the current process, reads the SYSTEM token from the SYSTEM EPROCESS, overwrites the current process token with that SYSTEM token, restores KTHREAD PreviousMode, and finally launches cmd.exe. This is classic token-stealing LPE behavior. Notable implementation details: the exploit uses EnumDeviceDrivers/GetDeviceDriverBaseName to identify the kernel base; dynamically resolves NtQuerySystemInformation from ntdll; allocates and parses SystemHandleInformation to map user handles to kernel object addresses; and relies on build-specific hardcoded offsets, which means reliability is likely limited to specific Windows versions/builds. The presence of CLFS headers and library linkage strongly suggests the vulnerability trigger abuses CLFS internals, though the provided excerpt truncates the exact trigger path. Overall purpose: achieve local elevation from a normal user context to SYSTEM on a vulnerable Windows host, then provide an interactive SYSTEM shell. This is a real exploit, not merely a detector, and includes an actual post-exploitation payload.vettrivel007 · Disclosed Apr 4, 2026 · cpp · c/c++ header · 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 1507operating_system
Microsoft CorporationWindows 10 1607operating_system
Microsoft CorporationWindows 10 1809operating_system
Microsoft CorporationWindows 10 21h2operating_system
Microsoft CorporationWindows 10 22h2operating_system
Microsoft CorporationWindows 11 22h2operating_system
Microsoft CorporationWindows 11 23h2operating_system
Microsoft CorporationWindows 11 24h2operating_system
Microsoft CorporationWindows Server 2008operating_system
Microsoft CorporationWindows Server 2008 R2operating_system
Microsoft CorporationWindows Server 2008 Sp2operating_system
Microsoft CorporationWindows Server 2012operating_system
Microsoft CorporationWindows Server 2012 R2operating_system
Microsoft CorporationWindows Server 2016operating_system
Microsoft CorporationWindows Server 2019operating_system
Microsoft CorporationWindows Server 2022operating_system
Microsoft CorporationWindows Server 2022 23h2operating_system
Microsoft CorporationWindows Server 2025operating_system
Microsoft CorporationWindows Server 23h2operating_system
FAQ

Frequently asked questions

Is CVE-2024-49138 exploited in the wild?
Yes. As of Nov 23, 2026, Mallory has reports of exploitation in the wild, and CISA added it to KEV on Dec 10, 2024.
Is there a public exploit for CVE-2024-49138?
Yes. Mallory tracks 3 public exploits or proofs of concept for CVE-2024-49138, the earliest disclosed Jan 15, 2025.
Is there a patch for CVE-2024-49138?
Install the applicable Microsoft December 2024 Windows security updates addressing CVE-2024-49138, or a superseding cumulative update containing the fix. Prioritize unpatched systems because exploitation has been detected in the wild.
What products are affected by CVE-2024-49138?
Microsoft Corporation Windows 10 1507, Microsoft Corporation Windows 10 1607, Microsoft Corporation Windows 10 1809, Microsoft Corporation Windows 10 21h2, Microsoft Corporation Windows 10 22h2, and 14 more.
How severe is CVE-2024-49138?
CVE-2024-49138 has a CVSS v3.1 score of 7.8 (High) and an EPSS score of 4.7% (93rd percentile) as of Nov 23, 2026.
Activity feed

Recent activity

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

View more in app →
+7 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 evidenceEvery 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 activity9Community discussion across Reddit, Mastodon, and other social sources.