Skip to main content
Vulnerability Database/CVE-2025-24987

CVE-2025-24987: Windows 10 1507 Privilege Escalation Flaw

CVE-2025-24987 is a privilege escalation vulnerability in the Windows 10 1507 USB Video Driver caused by an out-of-bounds read. Attackers with physical access can exploit this flaw to gain elevated privileges.

Published:

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

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

CVE-2025-24987 Overview

CVE-2025-24987 is an out-of-bounds read vulnerability [CWE-125] in the Microsoft Windows USB Video Class (UVC) driver. An authenticated attacker with physical access to a target system can exploit the flaw to elevate privileges. The vulnerability affects a broad range of Windows client and server releases, including Windows 10, Windows 11, and Windows Server versions from 2008 through 2025.

Exploitation requires physical attachment of a crafted USB video device. The attack vector is local and tactile, which limits remote mass exploitation but remains relevant in environments where unattended endpoints, kiosks, or shared workstations are accessible.

Critical Impact

Successful exploitation grants an attacker with physical access elevated privileges on affected Windows systems, enabling further compromise of confidentiality, integrity, and availability.

Affected Products

  • Microsoft Windows 10 (1507, 1607, 1809, 21H2, 22H2)
  • Microsoft Windows 11 (22H2, 23H2, 24H2)
  • Microsoft Windows Server 2008, 2012, 2016, 2019, 2022, 2022 23H2, and 2025

Discovery Timeline

  • 2025-03-11 - CVE-2025-24987 published to NVD
  • 2026-06-17 - Last updated in NVD database

Technical Details for CVE-2025-24987

Vulnerability Analysis

The flaw resides in the Windows USB Video Class driver, the kernel-mode component that handles communications with USB video devices such as webcams and capture devices. The driver performs a read operation that extends past the bounds of an allocated buffer when processing data supplied by the attached device. This out-of-bounds read exposes adjacent kernel memory to code paths that an attacker can influence.

Because the vulnerable code executes in kernel context, controlled influence over the read allows the attacker to leverage disclosed data or memory state transitions to achieve privilege elevation. Microsoft classifies the overall impact to confidentiality, integrity, and availability as high.

Root Cause

The root cause is improper validation of length or offset fields in data structures supplied by a USB video device. The driver trusts attacker-controllable descriptors or control transfer payloads and dereferences them without constraining the read to the allocated buffer. This matches the CWE-125 weakness pattern.

Attack Vector

The attack requires physical access to the target machine. An attacker connects a malicious or emulated USB video device, typically built with programmable hardware that advertises crafted UVC descriptors. When Windows enumerates the device and the UVC driver parses the malformed structures, the out-of-bounds read triggers. No prior authentication to the operating system is required, and no user interaction beyond device insertion is needed.

No verified public exploit code is available for CVE-2025-24987 at the time of writing, and the vulnerability is not listed in the CISA Known Exploited Vulnerabilities catalog.

Detection Methods for CVE-2025-24987

Indicators of Compromise

  • Unexpected USB video device enumeration events on servers, kiosks, or endpoints that do not normally use webcams or capture hardware.
  • Kernel-mode crashes, bugchecks, or driver verifier faults originating in usbvideo.sys shortly after device insertion.
  • New or unusual process executions with elevated privileges following a USB connection event.

Detection Strategies

  • Monitor Windows PnP and USB event logs for enumeration of unknown UVC devices, correlating device vendor and product IDs against an approved hardware inventory.
  • Alert on anomalous kernel faults or driver load events tied to usbvideo.sys, which may indicate exploitation attempts or instability from malformed descriptors.
  • Track privilege escalations and token modifications that follow a USB insertion within a short time window.

Monitoring Recommendations

  • Enable Windows auditing for Plug and Play events (Event ID 6416) and ship logs to a centralized SIEM for correlation.
  • Baseline authorized USB video devices per host and generate alerts on deviations.
  • Correlate physical access logs (badge, camera) with USB device enumeration events on sensitive systems.

How to Mitigate CVE-2025-24987

Immediate Actions Required

  • Apply the Microsoft security update referenced in the Microsoft Security Update Guide for CVE-2025-24987 across all affected Windows and Windows Server versions.
  • Prioritize patching for systems located in physically accessible environments such as kiosks, conference rooms, lobbies, and shared workstations.
  • Audit systems running end-of-support Windows versions and plan migration or extended support coverage.

Patch Information

Microsoft has released security updates addressing CVE-2025-24987 for all supported client and server releases. Refer to the Microsoft Security Update Guide for the specific KB articles and build numbers applicable to each product. Install updates through Windows Update, WSUS, Microsoft Update Catalog, or your enterprise patch management solution.

Workarounds

  • Enforce USB device control policies through Group Policy or endpoint management tooling to block unauthorized USB video class devices.
  • Disable the Windows USB Video Class driver on systems that do not require webcam or capture functionality.
  • Restrict physical access to critical systems using locked enclosures, port blockers, and tamper-evident seals.
  • Enable BitLocker and configure pre-boot authentication to limit the attacker's post-exploitation options on lost or stolen devices.
bash
# Example: Block USB Video Class devices via Group Policy registry setting
# Deny installation of devices matching the UVC class GUID
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\DeviceInstall\Restrictions\DenyDeviceClasses" /v 1 /t REG_SZ /d "{6bdd1fc6-810f-11d0-bec7-08002be2092f}" /f
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\DeviceInstall\Restrictions" /v DenyDeviceClasses /t REG_DWORD /d 1 /f

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

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

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.