CVE-2026-62699 — Windows Universal Disk Format File System Driver (UDFS) Remote Code Execution Vulnerability
Executive Summary
Heap-based buffer overflow in Windows Universal Disk Format File System Driver (UDFS) allows an unauthorized attacker to execute code with a physical attack.
Overview
CVSS Vector
CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C
EPSS Score
Affected Products
| Product | KB Article | Severity | Impact | Restart Required |
|---|---|---|---|---|
| Windows 10 Version 1607 for 32-bit Systems | 5120418 (Security Update) |
Important | Remote Code Execution | Yes |
| Windows 10 Version 1607 for x64-based Systems | 5120418 (Security Update) |
Important | Remote Code Execution | Yes |
| Windows 10 Version 1809 for 32-bit Systems | 5120238 (Security Update) |
Important | Remote Code Execution | Yes |
| Windows 10 Version 1809 for x64-based Systems | 5120238 (Security Update) |
Important | Remote Code Execution | Yes |
| Windows 10 Version 21H2 for 32-bit Systems | 5120249 (Security Update) |
Important | Remote Code Execution | Yes |
| Windows 10 Version 21H2 for ARM64-based Systems | 5120249 (Security Update) |
Important | Remote Code Execution | Yes |
| Windows 10 Version 21H2 for x64-based Systems | 5120249 (Security Update) |
Important | Remote Code Execution | Yes |
| Windows 10 Version 22H2 for 32-bit Systems | 5120249 (Security Update) |
Important | Remote Code Execution | Yes |
| Windows 10 Version 22H2 for ARM64-based Systems | 5120249 (Security Update) |
Important | Remote Code Execution | Yes |
| Windows 10 Version 22H2 for x64-based Systems | 5120249 (Security Update) |
Important | Remote Code Execution | Yes |
| Windows 11 Version 23H2 for ARM64-based Systems | 5120240 (Security Update) |
Important | Remote Code Execution | Yes |
| Windows 11 Version 23H2 for x64-based Systems | 5120240 (Security Update) |
Important | Remote Code Execution | Yes |
| Windows 11 Version 24H2 for ARM64-based Systems 5120994 (Security Hotpatch Update) 5121003 (Security Update) Important Remote Code Execution 5101650 Base: 6.8 Temporal: 5.9 Vector: CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C 10.0.26100.9106 10.0.26100.9168 Yes None Windows 11 Version 24H2 for x64-based Systems 5121003 (Security Update) 5120994 (Security Hotpatch Update) Important Remote Code Execution 5101650 Base: 6.8 Temporal: 5.9 Vector: CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C 10.0.26100.9168 10.0.26000.9106 Yes None Windows 11 Version 25H2 for ARM64-based Systems 5121003 (Security Update) 5120994 (Security Hotpatch Update) Important Remote Code Execution 5101650 Base: 6.8 Temporal: 5.9 Vector: CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C 10.0.26200.9168 10.0.26100.9106 Yes None Windows 11 Version 25H2 for x64-based Systems 5121003 (Security Update) 5120994 (Security Hotpatch Update) Important Remote Code Execution 5101650 Base: 6.8 Temporal: 5.9 Vector: CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C 10.0.26200.9168 10.0.26100.9106 Yes None Windows 11 Version 26H1 for ARM64-based Systems | 5121000 (Security Update) |
Important | Remote Code Execution | Yes |
| Windows 11 version 26H1 for x64-based Systems | 5121000 (Security Update) |
Important | Remote Code Execution | Yes |
| Windows Server 2012 | 5120386 (Monthly Rollup) |
Important | Remote Code Execution | Yes |
| Windows Server 2012 (Server Core installation) | 5120386 (Monthly Rollup) |
Important | Remote Code Execution | Yes |
| Windows Server 2012 R2 | 5120385 (Monthly Rollup) |
Important | Remote Code Execution | Yes |
| Windows Server 2012 R2 (Server Core installation) | 5120385 (Monthly Rollup) |
Important | Remote Code Execution | Yes |
| Windows Server 2016 | 5120418 (Security Update) |
Important | Remote Code Execution | Yes |
| Windows Server 2016 (Server Core installation) | 5120418 (Security Update) |
Important | Remote Code Execution | Yes |
| Windows Server 2019 | 5120238 (Security Update) |
Important | Remote Code Execution | Yes |
| Windows Server 2019 (Server Core installation) | 5120238 (Security Update) |
Important | Remote Code Execution | Yes |
Patches
| Article | Type | Restart |
|---|---|---|
5120418 |
Security Update | Yes |
5120238 |
Security Update | Yes |
5120249 |
Security Update | Yes |
5120240 |
Security Update | Yes |
5121000 |
Security Update | Yes |
5120386 |
Monthly Rollup | Yes |
5120385 |
Monthly Rollup | Yes |
Patch Diff
Integer overflow (CWE-190) leading to a heap-based buffer overflow (CWE-122) in the Windows UDF file system driver udfs.sys volume-structure parsing, code execution via a malicious UDF disc (physical attack, AV:P). When mounting a UDF volume, udfs.sys reads on-disk volume-descriptor structures and, in UdfQueryOnDiskVolInfo / UdfUpdateVolumeStructures, computes a pool allocation size from an attacker-controlled count field taken from the disc (size = count << 3, i.e. count * 8, where count is *(uint*)(desc+0x48)). PRE: that size computation was not range-checked, so a large on-disk count makes the 32-bit size calculation wrap (integer overflow), yielding an undersized heap allocation that is then filled from the on-disk data - a heap buffer overflow. Because UDF volume mount runs in the kernel and is triggered by inserting/mounting a crafted UDF disc, this is a code-execution primitive (Microsoft classifies it RCE via physical attack). Diff of udfs.sys 10.0.26100.8972 -> .9168 (Aug 11 2026, KB5121003) confirms the fix: gated behind CFR flag Feature_2661530937, the size derived from the on-disk count is now bounded before use - the 64-bit product (count << 3) is checked to be below 0x100000000 (and related descriptor sizes are validated) so the allocation size can no longer wrap, closing the integer-overflow-to-heap-overflow. UdfUpdateVcbPhase0 / UdfVerifyVolume / UdfQueryFreeBlocksAndNWA were updated under the same gate.
Root Cause Analysis
CVE-2026-62699 — Windows UDF File System udfs.sys On-Disk Count Integer Overflow in Volume-Structure Parsing → Heap Buffer Overflow
Summary
| Product | Windows — udfs.sys (Universal Disk Format file system driver) |
| CVE ID | CVE-2026-62699 |
| Impact | Remote Code Execution (kernel; via physical/mounted media) |
| MSRC severity | Important |
| CVSS | 6.8 / 5.9 — CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C |
| CWE | CWE-190: Integer Overflow → CWE-122: Heap-based Buffer Overflow |
| Delivery | Physical (AV:P) — inserting / mounting a crafted UDF disc/image |
| KB / Fixed build | KB5121003 — udfs.sys 10.0.26100.9168 (Win11 24H2 x64) |
| Patch Date | August 11, 2026 (2026-Aug) |
| Pre-patch binary | udfs.sys 10.0.26100.8972 — SHA256 8a29f2c834fb955f3813b0fea3d880a57a93866f439a890c18d0dfa45376491a |
| Post-patch binary | udfs.sys 10.0.26100.9168 — SHA256 8ac119f739b481d6e97ac332738436649ad1ac62bc82c5730b4ac93c0046a4a3 |
| Feature flag | Feature_2661530937 — the fix is CFR-gated |
| Exploitability | Exploitation Less Likely; not publicly disclosed; not exploited (per MSRC) |
Product Description
udfs.sys is the Windows Universal Disk Format (UDF) file system driver. When a UDF
volume is mounted, the driver reads the on-disk volume/partition descriptor
structures and builds its in-memory volume control block. UdfMountVolume →
UdfUpdateVolumeStructures → UdfQueryOnDiskVolInfo parse these descriptors and
allocate pool buffers sized from fields read directly off the disc.
Vulnerability Summary
One of those allocations is sized from an attacker-controlled count field taken
from the on-disk descriptor (count = *(uint *)(desc + 0x48)), scaled by 8
(count << 3) to size an array. Pre-patch this size computation was not
range-checked, so a large on-disk count causes the size calculation to wrap
(integer overflow, CWE-190), yielding an undersized heap/pool allocation. The
mount code then fills that buffer from the on-disk data, overflowing it — a kernel
heap buffer overflow (CWE-122). Because the parse happens in the kernel at mount
time and is driven entirely by the contents of a crafted UDF disc/image, Microsoft
classifies this as remote code execution via a physical attack (AV:P): an attacker
supplies the malicious medium and the victim mounts it.
Prerequisites and Constraints
- Physical (
AV:P), no privileges/interaction beyond mounting (PR:N,UI:N): the victim inserts or mounts a crafted UDF disc or image. - The disc declares an oversized descriptor count so
count << 3overflows. - Result: an undersized kernel allocation is overflowed with on-disk data during mount.
Vulnerability Details
Root Cause
The pool allocation size derived from an on-disk descriptor count (count * 8) was
used without checking that the product fits, so a crafted count wrapped the size and
produced an allocation smaller than the data subsequently written into it.
The patch (confirmed — diff, .8972 → .9168)
Gated behind Feature_2661530937, the size derived from the on-disk count is now
bounded before use — the 64-bit product is required to be below 0x100000000
(so the value cannot wrap when used as a 32-bit size) and related descriptor sizes
are validated:
// UdfQueryOnDiskVolInfo (10.0.26100.9168) — PATCHED, feature-enabled branch (from our diff)
if (Feature_2661530937__private_IsEnabledDeviceUsageNoInline()) {
pcVar11 = (char *)((ulonglong)*(uint *)(desc + 0x48) << 3); // count * 8, 64-bit
if (pcVar11 < (char *)0x100000000) { // *** overflow guard ***
// validate descriptor sizes (uVar7 bounds, page-rounded length) then proceed
...
}
}
UdfUpdateVolumeStructures applies the same gated size validation before its
descriptor reads/allocations, and UdfUpdateVcbPhase0 / UdfVerifyVolume /
UdfQueryFreeBlocksAndNWA were updated in concert. With the size bounded, the
count-derived allocation can no longer wrap, closing the overflow.
Patch Completeness Assessment
CFR-gated behind Feature_2661530937. The size-overflow validation runs only
when the flag is enabled; the original unchecked computation still ships when
disabled. Verify Feature_2661530937 is enabled to confirm the fix is live.
Detection Guidance
Behavioural. Mounting UDF media with anomalous/oversized volume-descriptor count
fields; heap/pool-overflow bugchecks in udfs!UdfQueryOnDiskVolInfo /
UdfUpdateVolumeStructures during mount on unpatched/flag-disabled builds.
Config. The fix is CFR-gated — confirm Feature_2661530937 is enabled.
References
- MSRC advisory — CVE-2026-62699 (Windows UDFS Remote Code Execution), released 2026-08-11, KB5121003.
- Full binary diff:
/data/patch_diffs/udfs_sys-cve-2026-62699-ghidriff.md
Attack Path
A malicious UDF disc supplies a large descriptor count so the mount allocation size wraps and the heap buffer overflows
Derived from the patch delta: the checks added by the vendor identify which fields crossed a trust boundary unvalidated. Reachability and privilege are taken from the call chain in the RCA report.
Exploits & PoC
Detection Rules
Acknowledgments
Thanatos Tian (HKPolyU) & npc0vo & @2st__ with Diffract