Skip to main content
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain low-privileged local access
  2. Delivery
    Craft malicious CLFS base log file
  3. Exploit
    Invoke CLFS API to parse it
  4. Execution
    Trigger integer underflow in clfs.sys kernel memory
  5. Persist
    Execute code as SYSTEM
  6. Impact
    Steal credentials and move laterally

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Integer underflow checks
Exploitation Conditions

Exploitation requires the attacker to already have a valid local, low-privileged account and the ability to execute code on the target host (CVSS PR:L, AV:L) - this is a local privilege-escalation bug, not remotely reachable. The concrete trigger is getting the kernel-mode CLFS driver (clfs.sys) to parse an attacker-crafted Base Log File so the integer underflow in a size/length computation is hit; this is reachable through standard, always-available CLFS logging APIs, so no non-default feature toggle is needed. No user interaction is required (UI:N) and complexity is low (AC:L). Limiting factors: the attacker must first obtain code execution as an authenticated user on the machine, and the affected build must be pre-patch; there is no network-facing exposure, which is why SSVC marks it Automatable=no.

Impact

The signals are internally consistent and point to a genuine but not emergency-level priority. The CVSS 3.1 vector CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H (base 7.8, HIGH) describes a local, low-complexity attack requiring only low existing privileges and no user interaction, with total impact - the classic profile of a post-compromise SYSTEM escalation, not an initial-access vector. Supporting signals reinforce this: SSVC lists Exploitation=none, Automatable=no (local-only, cannot be mass-worm-driven), and Technical Impact=total, while EPSS is very low at 0.06% (19th percentile) and the CVE is not in CISA KEV. No signals conflict. One note of caution: the supplied Tags include 'Information Disclosure' and the intel labels this 'Integer Overflow,' whereas the authoritative description and CWE-191 specify integer underflow enabling privilege elevation - the CVSS C:H/I:H/A:H supports EoP over pure info-disclosure, so treat the tag as loose metadata. Bottom line: not actively exploited and low probability today, but CLFS underflow/overflow bugs have a strong track record of being weaponized for EoP in ransomware intrusions, so this belongs in the normal Patch Tuesday remediation cycle rather than being deprioritized purely on its EPSS score.

Exploit ScenarioDerived

An attacker who has already gained a low-privileged foothold on a Windows host - for instance via phishing, a compromised service account, or a standard user login on a shared terminal server - crafts a malicious CLFS base log file and invokes the logging APIs to have clfs.sys parse it. The integer underflow corrupts kernel memory and elevates the attacker to SYSTEM, enabling credential theft, defense evasion, and lateral movement. No public exploit is identified at time of analysis and no user interaction is required.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jul 23, 2026

Local privilege escalation in the Windows Common Log File System (CLFS) driver lets an already-authenticated low-privileged user gain SYSTEM-level rights on affected Windows client and server builds by triggering an integer underflow (CWE-191) in the driver's log-file parsing. The flaw yields total confidentiality, integrity, and availability impact on the local machine. There is no public exploit identified at time of analysis, EPSS risk is low (0.06%, 19th percentile), and CISA SSVC records exploitation status as none - but CLFS is a historically heavily-targeted attack surface, so patching is warranted.

RemediationAI

Apply Microsoft's security update for CVE-2026-40397 - the fix is delivered through the standard cumulative/monthly rollup, so install the update that raises the OS to or above the fixed build for your version (for example 10.0.19045.7291 for Windows 10 22H2, 10.0.26100.8457 for Windows 11 24H2, 10.0.20348.5139 for Windows Server 2022, 10.0.26100.32860 for Windows Server 2025), per the MSRC advisory at https://msrc.microsoft.com/update-guide/vulnerability/CVE-2026-40397. Vendor-released patch: apply the cumulative update matching your build. Because CLFS is deeply embedded and disabling clfs.sys is not a supported option, there is no clean feature-level workaround; where immediate patching is impossible, reduce exposure by enforcing least privilege so untrusted or low-trust local accounts cannot run code on the host (this bug requires an existing local foothold), deploy EDR/attack-surface-reduction rules that flag anomalous kernel-driver exploitation, and prioritize multi-user, RDP, and terminal-server systems where low-privileged interactive logons are common. The trade-off of the least-privilege approach is operational friction for shared hosts but no functional loss to CLFS-dependent services.

Affected VersionsENISA

Windows 11 version 26H1 10.0.28000.0 <10.0.28000.2113
Windows 11 Version 25H2 10.0.26200.0 <10.0.26200.8457
Windows Server 2012 R2 6.3.9600.0 <6.3.9600.23181
Windows 10 Version 22H2 10.0.19045.0 <10.0.19045.7291
Windows Server 2012 6.2.9200.0 <6.2.9200.26079
Windows 10 Version 1809 10.0.17763.0 <10.0.17763.8755
Windows Server 2012 (Server Core installation) 6.2.9200.0 <6.2.9200.26079
Windows Server 2022 10.0.20348.0 <10.0.20348.5139
Windows Server 2016 (Server Core installation) 10.0.14393.0 <10.0.14393.9140
Windows 10 Version 21H2 10.0.19044.0 <10.0.19044.7291
Windows Server 2016 10.0.14393.0 <10.0.14393.9140
Windows 11 Version 23H2 10.0.22631.0 <10.0.22631.7079
Windows Server 2025 10.0.26100.0 <10.0.26100.32860
Windows Server 2025 (Server Core installation) 10.0.26100.0 <10.0.26100.32860
Windows 11 Version 24H2 10.0.26100.0 <10.0.26100.8457
Windows Server 2019 10.0.17763.0 <10.0.17763.8755
Windows 10 Version 1607 10.0.14393.0 <10.0.14393.9140
Windows Server 2012 R2 (Server Core installation) 6.3.9600.0 <6.3.9600.23181
Windows Server 2019 (Server Core installation) 10.0.17763.0 <10.0.17763.8755
Windows Server 2022, 23H2 Edition (Server Core installation) 10.0.25398.0 <10.0.25398.2330
Windows 11 version 22H3 10.0.22631.0 <10.0.22631.7079

Affected Packages

euvd windows_10_version_1607 fix: 10.0.14393.9140
euvd windows_10_version_1809 fix: 10.0.17763.8755
euvd windows_10_version_21h2 fix: 10.0.19044.7291
euvd windows_10_version_22h2 fix: 10.0.19045.7291
euvd windows_11_version_22h3 fix: 10.0.22631.7079
euvd windows_11_version_23h2 fix: 10.0.22631.7079
euvd windows_11_version_24h2 fix: 10.0.26100.8457
euvd windows_11_version_25h2 fix: 10.0.26200.8457
euvd windows_11_version_26h1 fix: 10.0.28000.2113
euvd windows_server_2012 fix: 6.2.9200.26079
euvd windows_server_2012_r2 fix: 6.3.9600.23181
euvd windows_server_2012_r2_server_core_installation fix: 6.3.9600.23181
euvd windows_server_2012_server_core_installation fix: 6.2.9200.26079
euvd windows_server_2016 fix: 10.0.14393.9140
euvd windows_server_2016_server_core_installation fix: 10.0.14393.9140
euvd windows_server_2019 fix: 10.0.17763.8755
euvd windows_server_2019_server_core_installation fix: 10.0.17763.8755
euvd windows_server_2022 fix: 10.0.20348.5139
euvd windows_server_2022_23h2_edition_server_core_installation fix: 10.0.25398.2330
euvd windows_server_2025 fix: 10.0.26100.32860
euvd windows_server_2025_server_core_installation fix: 10.0.26100.32860

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 21 packages in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The Common Log File System (CLFS) is a general-purpose transactional logging subsystem implemented in the kernel-mode driver clfs.sys, used by Windows components (TxF/TxR, Kernel Transaction Manager, ETW, and various services) to persist structured log records in Base Log Files (BLFs). The vulnerability is classified as CWE-191 (Integer Underflow / wraparound): a subtraction or size computation over an attacker-influenced field in a crafted log file wraps below zero, producing an unexpectedly large or incorrect length that drives an out-of-bounds memory operation within kernel context. Because clfs.sys runs in the kernel, corrupting its internal state translates directly into arbitrary code execution or memory manipulation at SYSTEM. The CPE set confirms the affected surface is the Microsoft Windows OS itself across Windows 10 (1607, 1809, 21H2, 22H2), Windows 11 (22H3, 23H2, 24H2, 25H2, 26H1), and Windows Server (2012 through 2025).

Know when Windows Server 2012 gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

NVD PRIMARY 7.8 HIGH
AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
vuln.today AI 7.8 HIGH

Local vector and low existing privileges are required (AV:L/PR:L), no user interaction (UI:N), and a kernel-mode compromise yields full SYSTEM control giving total C/I/A impact.

3.1 AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
4.0 AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from NVD.

CVSS VectorNVD

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

DescriptionCVE.org

Integer underflow (wrap or wraparound) in Windows Common Log File System Driver allows an authorized attacker to elevate privileges locally.

Executive ViewAI

Why It Matters

CVE-2026-40397 is a privilege escalation flaw in Windows Common Log File System (CLFS) driver affecting client and server operating systems. An already-authenticated low-privileged user can exploit an integer underflow to gain unrestricted SYSTEM-level access, compromising confidentiality, integrity, and availability of affected machines. No public exploit identified at time of analysis, though the historical targeting of CLFS attack surface warrants immediate patching to contain lateral movement risk.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.1%
Top 81% exploitable
Prevalence
Ubiquitous
CLFS ships in every supported Windows client and server edition
Vendor Status
Publicly Disclosed:No
Exploited:No
Latest Software Release:Exploitation More Likely
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.1%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Small
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

39
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +39
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Integer overflow occurs when an arithmetic operation produces a result that exceeds the maximum value a given integer type can store.

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

CVE-2021-40444 HIGH POC
8.8 Sep 15

Windows MSHTML component contains a remote code execution vulnerability that allows attackers to craft malicious ActiveX

CVE-2021-34527 HIGH POC
8.8 Jul 02

<p>A remote code execution vulnerability exists when the Windows Print Spooler service improperly performs privileged fi

CVE-2017-0199 HIGH POC
7.8 Apr 12

Remote code execution in Microsoft Office 2007-2016 and Windows Vista through 10 allows attackers to execute arbitrary c

CVE-2022-30190 HIGH POC
7.8 Jun 01

Windows MSDT (Microsoft Support Diagnostic Tool) allows remote code execution when called via the ms-msdt URL protocol f

CVE-2017-0147 HIGH POC
7.5 Mar 17

The SMBv1 server in Microsoft Windows Vista SP2; Windows Server 2008 SP2 and R2 SP1; Windows 7 SP1; Windows 8.1; Windows

CVE-2018-8174 HIGH POC
7.5 May 09

The Windows VBScript engine contains a remote code execution vulnerability in object handling that allows full system co

CVE-2021-1675 HIGH POC
7.8 Jun 08

Windows Print Spooler Remote Code Execution Vulnerability. Rated high severity (CVSS 7.8), this vulnerability is no auth

CVE-2016-7255 HIGH POC
7.8 Nov 10

The Win32k kernel-mode driver in Windows Vista through Windows Server 2016 allows local privilege escalation, exploited

CVE-2023-36884 HIGH POC
7.5 Jul 11

Windows Search Remote Code Execution Vulnerability. Rated high severity (CVSS 7.5), this vulnerability is remotely explo

CVE-2019-1458 HIGH POC
7.8 Dec 10

An elevation of privilege vulnerability exists in Windows when the Win32k component fails to properly handle objects in

CVE-2018-8453 HIGH POC
7.8 Oct 10

An elevation of privilege vulnerability exists in Windows when the Win32k component fails to properly handle objects in

CVE-2021-42278 HIGH POC
7.5 Nov 10

Active Directory Domain Services Elevation of Privilege Vulnerability. Rated high severity (CVSS 7.5), this vulnerabilit

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy