All reports
High

Data races in rusb

Affected versions

Rust / Cargorusb
Affected versions
< 0.7.0
Fixed version
0.7.0

Exploitation

CVE-2020-36206

Probability of exploitation in the next 30 days: 0.29%

FIRST EPSS · 2026-11-21

Description

Affected versions of rusb did not require UsbContext to implement Send and Sync. However, through Device and DeviceHandle it is possible to use UsbContexts across threads. This issue allows non-thread safe UsbContext types to be used concurrently leading to data races and memory corruption. The issue was fixed by adding Send and Sync bounds to UsbContext.

Links