CVE-2025-24985
High · 7.8 CISA KEVCVSS
7.8
EPSS
3.9%
Published
Mar 11, 2025
CISA due date
Apr 1, 2025
Cloudanix analysis
A flaw in Windows can let someone who already has limited access take full control of a computer by getting it to process a malicious storage device or disk image.
- Exploitation
- Local Privilege
- Attacker needs
- Local User
- Complexity
- Moderate
- Impact
- Full Compromise
- Component
- OS kernel
- Class
- Memory Corruption
- Remediation
- Patch
- Effort
- Low
- Patch risk
- Low
What it actually does
CVE-2025-24985 is an integer overflow/wraparound vulnerability in the Windows Fast FAT file system driver, fastfat.sys. When the driver parses specially crafted FAT file system structures, arithmetic can wrap and lead to memory corruption in kernel context. A local, unauthorized attacker who can cause Windows to mount or process a malicious FAT-formatted volume, disk image, or removable media can potentially execute code in the Windows kernel and elevate privileges, commonly to NT AUTHORITY\SYSTEM. Because the vulnerable component is a kernel-mode file system driver, successful exploitation can bypass normal user-mode security boundaries and may allow disabling security tools, credential theft, persistence, or follow-on lateral movement.
Why it matters to the business
This vulnerability can turn a low-privileged foothold on a Windows system into full administrative control of that endpoint or server. It is especially important because it is listed in CISA KEV with active exploitation in the wild and a remediation due date of 2025-04-01, meaning organizations should treat it as a confirmed exploited vulnerability rather than a theoretical risk. Operational consequences include endpoint takeover, security control tampering, data theft, deployment of additional malware, and use as part of a broader intrusion chain. Although it is not specifically marked as used in ransomware campaigns in KEV, local privilege escalation vulnerabilities like this are commonly used after initial access to complete compromise of Windows hosts.
How an attack unfolds
An attacker first obtains local code execution or physical/logical access sufficient to introduce a crafted FAT file system object, such as a removable drive, virtual disk image, or other FAT-formatted volume. The attacker causes Windows to mount, inspect, or otherwise process the malicious file system. The Windows Fast FAT driver parses attacker-controlled metadata and triggers an integer wraparound condition that corrupts kernel memory. If exploitation is reliable, the attacker pivots from a normal user context into kernel-mode execution or SYSTEM-level control. From there, the attacker may create or modify privileged processes, dump credentials, disable endpoint defenses, install persistence, or move laterally. Active in-the-wild exploitation and KEV listing indicate defenders should assume adversaries may already be incorporating this flaw into post-compromise privilege-escalation playbooks.
How to fix it
Apply the relevant Microsoft security update for CVE-2025-24985 across all supported Windows systems. Because no fixed product/version list was provided in the input, use the Microsoft Security Update Guide for this CVE and install the March 2025 cumulative/security updates or any later cumulative update applicable to each Windows release. Prioritize internet-exposed, high-value, shared, kiosk, developer, administrator, and user workstation systems where untrusted files or removable media are common. Where immediate patching is not possible, reduce exposure by restricting removable media, disabling AutoPlay/AutoRun, limiting users’ ability to mount virtual disk images, blocking untrusted VHD/VHDX/IMG handling where operationally feasible, enforcing least privilege, and ensuring endpoint protection can prevent or alert on suspicious privilege escalation and security-tool tampering. Mitigations should be treated as temporary; patching the OS is the required fix.
How to confirm the fix worked
Confirm that each Windows system has installed the Microsoft security update that includes the fix for CVE-2025-24985, or a later cumulative update for the same OS branch. Validate through centralized patch management, Windows Update history, vulnerability scanning, and spot checks using tools such as Get-HotFix, system build/version inventory, and file-version comparison of %SystemRoot%\System32\drivers\fastfat.sys against Microsoft’s patched baseline for the specific Windows release. Re-run authenticated vulnerability scans after patch deployment. Also validate compensating controls by confirming AutoPlay/AutoRun restrictions, removable media policies, and virtual disk image mounting controls are applied where intended. For high-risk systems, perform controlled verification that untrusted removable storage and disk image mounting workflows are blocked or logged according to policy.
Typical attack path
- Gain initial local access to a Windows host through phishing, malware, stolen credentials, remote service compromise, or hands-on access.
- Deliver or stage a specially crafted FAT-formatted removable device, virtual hard disk, disk image, or similar file system object.
- Cause Windows to mount or parse the crafted FAT file system so fastfat.sys processes malicious metadata.
- Trigger the integer overflow/wraparound and corrupt kernel memory.
- Execute attacker-controlled code in kernel context or elevate privileges to SYSTEM.
- Disable security controls, access protected files or credentials, establish persistence, and conduct follow-on actions such as lateral movement or data theft.
How to detect it
This is a local kernel privilege-escalation vulnerability, so there may be no network indicator and exploitation may leave limited direct evidence unless it crashes the system or is followed by visible post-exploitation activity. Prioritize endpoint telemetry, Windows event logs, EDR data, removable media logs, and process creation events. Hunt for sequences where a user mounts or accesses a removable FAT volume or disk image shortly before a process gains SYSTEM privileges, creates services, installs drivers, disables security tooling, dumps credentials, or modifies local administrator membership. Relevant sources include Windows Security logs, Sysmon, EDR process/file/device telemetry, Windows Defender operational logs, PowerShell logs, Microsoft-Windows-Kernel-PnP events, Microsoft-Windows-DriverFrameworks-UserMode events, partition/disk diagnostic events, crash dump analysis, and system bugcheck reports. Review crash dumps and Windows Error Reporting artifacts for references to fastfat.sys, especially around the time removable media or disk images were connected. Because KEV confirms active exploitation, broaden the investigation from vulnerability-specific artifacts to common post-exploitation behaviors, including suspicious SYSTEM shells, unexpected service creation, tampering with Microsoft Defender or EDR, LSASS access, credential dumping tools, and newly created privileged accounts.
- fastfat.sys
- %SystemRoot%\System32\drivers\fastfat.sys
- C:\Windows\System32\drivers\fastfat.sys
- Microsoft-Windows-Kernel-PnP
- Microsoft-Windows-DriverFrameworks-UserMode
- Microsoft-Windows-Partition/Diagnostic
- Microsoft-Windows-WER-SystemErrorReporting
- BugCheck
- Windows Error Reporting
- KMODE_EXCEPTION_NOT_HANDLED
- SYSTEM_SERVICE_EXCEPTION
- PAGE_FAULT_IN_NONPAGED_AREA
- IRQL_NOT_LESS_OR_EQUAL
- Mount-DiskImage
- diskpart.exe
- mountvol.exe
- vds.exe
- DeviceConnected
- Event ID 6416
- Event ID 4688
- Event ID 7045
- Event ID 1001
- \Device\HarddiskVolume
- \.\PhysicalDrive
- .vhd
- .vhdx
- .img
- .iso
What your security team should do
- Treat this as urgent because it is in CISA KEV, has active in-the-wild exploitation, and had a KEV remediation deadline of 2025-04-01.
- Patch all supported Windows systems with the applicable March 2025 or later cumulative/security update, prioritizing endpoints and servers where users can mount removable media or disk images.
- Run authenticated vulnerability scans and patch compliance reporting to identify any Windows systems still missing the fix.
- Hunt for suspicious mounting of FAT-formatted removable media, VHD/VHDX/IMG files, or unusual disk image activity followed by privilege escalation, security-tool tampering, or SYSTEM-level process creation.
- Increase monitoring for kernel crashes or bugchecks referencing fastfat.sys, especially when correlated with removable storage or disk image activity.
- Restrict removable media, disable AutoPlay/AutoRun, and limit virtual disk mounting for non-administrative users where business operations allow.
- Review recent endpoint detections for post-exploitation behavior such as credential dumping, creation of new local administrators, driver/service installation, LSASS access, and security product disabling.
- For systems that cannot be patched promptly, isolate or harden them, remove unnecessary user interaction paths, and document temporary risk acceptance with a deadline for remediation.
The record
Integer overflow or wraparound in Windows Fast FAT Driver allows an unauthorized attacker to execute code locally.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|