{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-116776","id":"CVE-2026-116776","title":"USB Test memory corruption in sector-size handling","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 di","descriptionLong":"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.","published":"2026-10-28T15:42:11.023Z","updated":"2026-11-05T21:16:18.508070173Z","reserved":"2026-10-26T21:53:35.166Z","status":"Awaiting Analysis","rejected":false,"assigner":"GitHub_M","metric":{"version":"4.0","score":7,"vector":"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","rating":"high","source":"GitHub_M"},"metrics":[{"version":"4.0","score":7,"vector":"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","rating":"high","source":"GitHub_M"},{"version":"4.0","score":7,"vector":"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/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","rating":"high","source":"github.com"},{"version":"4.0","score":null,"vector":"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","rating":"unrated","source":"OSV"}],"rating":"high","products":["n-romanovich usb-test"],"affectedProducts":[{"vendor":"n-romanovich","product":"usb-test","defaultStatus":null,"versions":[{"version":"< 1.1.5","status":"affected"}],"platforms":[]}],"packages":[],"cwes":["CWE-122"],"aliases":["GHSA-cfrv-c9q2-7cr3"],"references":[{"url":"https://github.com/n-romanovich/usb-test/security/advisories/GHSA-cfrv-c9q2-7cr3","tags":["x_refsource_CONFIRM","exploit","advisory"]},{"url":"https://github.com/n-romanovich/usb-test/commit/5b6caac844461024520b02337d3a541fbe128f89","tags":["x_refsource_MISC","fix"]},{"url":"https://github.com/n-romanovich/usb-test/releases/tag/release-v1.1.5","tags":["x_refsource_MISC","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/116xxx/CVE-2026-116776.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-116776","tags":["advisory"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial"},"epss":0.00177,"epssPercentile":0.07426,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-116776","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-116776","ok":true,"note":"Awaiting Analysis"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-116776","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-116776","ok":true,"note":"scored 2026-11-19"}],"aiTitle":true,"tech":[],"critical":[],"attention":null}