1. Accueil
  2. Vulnérabilités
  3. CVE-2026-116776

CVE-2026-116776

USB Test: Heap-based Buffer Overflow in getSectorSize via untrusted DISK_GEOMETRY.BytesPerSector leads to RCE/DoS

Publiée le 28 oct. 2026 · modifiée le 4 nov. 2026 · Sources : NVD, CNA (éditeur ou attributeur), EPSS (FIRST)

Faible 36/100

Résumé

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.

Aucune traduction française : description d’origine affichée.

Produits et versions affectés

n-romanovich (1 ligne(s))
n-romanovich
ProduitVersionsCorrigé dansSource
usb-test Versions non précisées — CNA (éditeur ou attributeur)

Correctif

Non renseigné par l’éditeur.

Contournement

Aucun contournement renseigné.

Savoir si vous êtes touché

Exploit signalé par les sources

Ces liens sont étiquetés « exploit » par le NVD ou par CVE.org. Nous ne les avons pas vérifiés ni copiés ; ouvrez-les avec prudence.

Chronologie

  1. — Publication de la CVE (cve)

Références

Provenance des données

Statut
NVD
Date de publication
NVD
Description
CNA (éditeur ou attributeur)
Score CVSS
CNA (éditeur ou attributeur)
Faiblesse (CWE)
NVD
Vecteur CVSS
CVSS:4.0/AV:P/AC:L/AT:N/PR:H/UI:P/VC:N/VI:H/VA:H/SC:N/SI:H/SA:H (CVSS 4.0, CNA:GitHub_M)
Faiblesse
CWE-122 · Corruption mémoire

Comment sont obtenues et calculées ces données