7.0
HIGH CVSS 4.0
CVE-2026-116776
USB Test: Heap-based Buffer Overflow in getSectorSize via untrusted DISK_GEOMETRY.BytesPerSector leads to RCE/DoS
Description

USB Test is a lightweight Windows CLI utility for verifying sector integrity and detecting overreported capacity on USB flash drives. Prior to version 1.1.5, getSectorSize() in USB Test/src/driveinfo.cpp trusts DISK_GEOMETRY.BytesPerSector returned by IOCTL_DISK_GET_DRIVE_GEOMETRY without checking whether the call succeeded or enforcing size bounds. USB Test/src/drivetest.cpp uses the value for division and to size a heap buffer before memcpy(buffer.data(), &sector, 8), so a physically connected malicious USB storage device can report a value below eight bytes and cause repeated out-of-bounds writes, or report zero and cause a divide-by-zero denial of service when a user starts a drive test. The heap corruption can crash the elevated application and may permit arbitrary code execution. This issue is fixed in version 1.1.5.

INFO

Published Date :

Oct. 28, 2026, 4:17 p.m.

Last Modified :

Nov. 4, 2026, 11:10 p.m.

Remotely Exploit :

No
Affected Products

The following products are affected by CVE-2026-116776 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 N-romanovich usb-test
CVSS Scores
The Common Vulnerability Scoring System is a standardized framework for assessing the severity of vulnerabilities in software and systems. We collect and displays CVSS scores from various sources for each CVE.
Score Version Severity Vector Exploitability Score Impact Score Source
CVSS 134c704f-9b21-4f2e-91b3-4a467353bcc0
CVSS 4.0 HIGH [email protected]
Solution
Update USB Test to version 1.1.5 or later to fix heap corruption and denial of service vulnerabilities.
  • Update USB Test to version 1.1.5 or later.
  • Verify sector size validation logic.
  • Avoid division by zero.
  • Enforce buffer size bounds.
References to Advisories, Solutions, and Tools
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2026-116776 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2026-116776 weaknesses.

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2026-116776 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2026-116776 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Translated by [email protected]

    Nov. 04, 2026

    Action Type Old Value New Value
    Added Translation Title: USB Test, Description: USB Test es una utilidad ligera de línea de comandos (CLI) para Windows que verifica la integridad de los sectores y detecta la capacidad sobreinformada en unidades flash USB. Versiones anteriores a la versión 1.1.5, “getSectorSize()” en USB Test/src/driveinfo.cpp confía en “DISK_GEOMETRY.BytesPerSector” devuelto por “IOCTL_DISK_GET_DRIVE_GEOMETRY” sin verificar si la llamada tuvo éxito o sin aplicar límites de tamaño. USB Test/src/drivetest.cpp utiliza el valor para la división y para dimensionar un búfer en el heap antes de “memcpy(buffer.data(), &sector, 8)”, por lo que un dispositivo de almacenamiento USB malicioso conectado físicamente puede informar un valor inferior a ocho bytes y causar escrituras fuera de límites repetidas, o informar cero y causar una denegación de servicio por división por cero cuando un usuario inicia una prueba de unidad. La corrupción del heap puede bloquear la aplicación elevada y podría permitir la ejecución de código arbitrario. Este problema se corrige en la versión 1.1.5.
  • CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0

    Oct. 29, 2026

    Action Type Old Value New Value
    Added Reference https://github.com/n-romanovich/usb-test/security/advisories/GHSA-cfrv-c9q2-7cr3
    Added SSVC {'id': 'CVE-2026-116776', 'role': 'CISA Coordinator', 'options': [{'exploitation': 'poc'}, {'automatable': 'no'}, {'technicalImpact': 'partial'}], 'version': '2.0.3', 'timestamp': '2026-10-29T18:36:46.958376Z'}
  • New CVE Received by [email protected]

    Oct. 28, 2026

    Action Type Old Value New Value
    Added Description USB Test is a lightweight Windows CLI utility for verifying sector integrity and detecting overreported capacity on USB flash drives. Prior to version 1.1.5, getSectorSize() in USB Test/src/driveinfo.cpp trusts DISK_GEOMETRY.BytesPerSector returned by IOCTL_DISK_GET_DRIVE_GEOMETRY without checking whether the call succeeded or enforcing size bounds. USB Test/src/drivetest.cpp uses the value for division and to size a heap buffer before memcpy(buffer.data(), &sector, 8), so a physically connected malicious USB storage device can report a value below eight bytes and cause repeated out-of-bounds writes, or report zero and cause a divide-by-zero denial of service when a user starts a drive test. The heap corruption can crash the elevated application and may permit arbitrary code execution. This issue is fixed in version 1.1.5.
    Added CVSS V4.0 AV:P/AC:L/AT:N/PR:H/UI:P/VC:N/VI:H/VA:H/SC:N/SI:H/SA:H/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
    Added CWE CWE-122
    Added Affected New affected value received. <a href="https://github.com/CVEProject/cvelistV5/blob/main/cves/2026/116xxx/CVE-2026-116776.json">CVE-2026-116776</a>
    Added Reference https://github.com/n-romanovich/usb-test/commit/5b6caac844461024520b02337d3a541fbe128f89
    Added Reference https://github.com/n-romanovich/usb-test/releases/tag/release-v1.1.5
    Added Reference https://github.com/n-romanovich/usb-test/security/advisories/GHSA-cfrv-c9q2-7cr3
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.