Skip to main content
CVE Vulnerability Database
Vulnerability Database/CVE-2026-40404

CVE-2026-40404: Windows 10 1607 UDFS Privilege Escalation

CVE-2026-40404 is a privilege escalation vulnerability in the Windows 10 1607 Universal Disk Format File System Driver that allows attackers to gain elevated system privileges. This article covers technical details, affected versions, impact analysis, and mitigation strategies.

Published:

CVE-2026-40404 Overview

CVE-2026-40404 is an elevation of privilege vulnerability in the Windows Universal Disk Format File System Driver (UDFS). The flaw is classified as a heap-based buffer overflow [CWE-122] in kernel-mode code responsible for parsing UDF file system structures. A locally authenticated attacker who triggers the vulnerable code path can corrupt kernel heap memory and gain SYSTEM-level privileges on the affected host.

Microsoft published the advisory on June 9, 2026, and the issue affects supported Windows 10, Windows 11, and Windows Server releases. No public exploit code or in-the-wild exploitation has been reported at the time of writing.

Critical Impact

Successful exploitation grants kernel-mode code execution and full SYSTEM privileges, enabling attackers to disable security controls, install persistent implants, and pivot deeper into the environment.

Affected Products

  • Microsoft Windows 10 (1607, 1809, 21H2, 22H2)
  • Microsoft Windows 11 (23H2, 24H2, 25H2, 26H1)
  • Microsoft Windows Server 2012, 2012 R2, 2016, 2019, 2022, and 2025

Discovery Timeline

  • 2026-06-09 - CVE-2026-40404 published to NVD and Microsoft Security Update Guide
  • 2026-06-10 - Last updated in NVD database

Technical Details for CVE-2026-40404

Vulnerability Analysis

The vulnerability lives in the Universal Disk Format File System Driver (udfs.sys), a kernel-mode driver that mounts and parses UDF volumes used on optical media and disk images. The driver mishandles size calculations or length fields when processing attacker-controlled UDF metadata, leading to a heap-based buffer overflow [CWE-122] in non-paged pool memory.

Because the parsing executes in kernel context, corruption of adjacent pool allocations can be steered into a write-what-where primitive. Attackers commonly leverage such primitives to overwrite token privileges or callback pointers, achieving SYSTEM execution. The attack requires local access and low-privileged authentication, with no user interaction once the malicious volume is mounted.

Root Cause

The root cause is improper validation of length or offset fields embedded in UDF descriptors before they are used to size or index heap buffers. When the driver copies file system metadata into an undersized allocation, the surplus bytes overwrite adjacent kernel pool chunks. Microsoft has not published implementation-level details beyond the CWE-122 classification.

Attack Vector

Exploitation requires a local, authenticated attacker. The attacker crafts a malformed UDF image (.iso, .img, or physical optical media) and induces the operating system to mount it. Mounting can be triggered by standard user actions such as double-clicking an ISO file in Explorer, which transparently invokes the UDFS driver. Once parsing begins, the overflow corrupts kernel memory and the attacker gains SYSTEM privileges within the same logon session.

No verified proof-of-concept code is publicly available. Refer to the Microsoft Security Update Guide for CVE-2026-40404 for vendor-supplied details.

Detection Methods for CVE-2026-40404

Indicators of Compromise

  • Unexpected mounts of UDF-formatted ISO or IMG files by non-administrative users, especially from temp directories or user download folders.
  • Bug checks or kernel pool corruption crashes referencing udfs.sys in MEMORY.DMP or WER reports.
  • New SYSTEM-level processes spawned shortly after a UDF image was opened or attached.

Detection Strategies

  • Hunt for process creation events where a medium-integrity user process is followed by SYSTEM-level child processes without a legitimate service trigger.
  • Monitor Windows kernel event logs (Microsoft-Windows-Kernel-General) for unexpected mount operations of removable or virtual UDF volumes.
  • Correlate file events involving .iso, .img, and .udf artifacts with subsequent privilege transitions on the same host.

Monitoring Recommendations

  • Forward endpoint telemetry, kernel crash data, and Windows Defender Application Control logs to a centralized analytics platform for longitudinal review.
  • Alert on any load or modification of udfs.sys outside of Microsoft-signed update activity.
  • Track ISO mount activity per user and baseline normal behavior to surface anomalies tied to local privilege escalation attempts.

How to Mitigate CVE-2026-40404

Immediate Actions Required

  • Apply the Microsoft June 2026 security update for all affected Windows client and server SKUs as the primary remediation.
  • Prioritize patching on multi-user systems, jump hosts, and developer workstations where local accounts are most exposed.
  • Audit the local user population and remove unnecessary interactive logon rights on sensitive servers.

Patch Information

Microsoft has released cumulative updates that remediate CVE-2026-40404 across all supported Windows versions. Patch availability and KB identifiers per build are documented in the Microsoft Security Update Guide for CVE-2026-40404. Install the appropriate cumulative update for each affected Windows 10, Windows 11, or Windows Server release.

Workarounds

  • Block standard users from mounting ISO and UDF images using Group Policy or AppLocker rules that restrict the Mount-DiskImage and Explorer ISO handlers.
  • Restrict physical and virtual optical media access on servers and high-value workstations where UDF support is not required.
  • Use attack surface reduction policies to prevent untrusted ISO files from being executed or auto-mounted from email and download paths.
bash
# Configuration example: disable ISO/UDF auto-mount via registry
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\Explorer" /v NoAutoplayfornonVolume /t REG_DWORD /d 1 /f
reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Explorer" /v NoDriveTypeAutoRun /t REG_DWORD /d 255 /f

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.