Description
Shift Crypto BitBox02 firmware before 9.26.2 and bootloader before 1.2.0 contain an out-of-bounds write in hid_req() that ignores buffer size for HID SET_REPORT requests. Malicious host software can send a SET_REPORT request with wLength above 64 bytes to overwrite memory adjacent to the control buffer and corrupt device state.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Shift Crypto | BitBox02 bootloader | 0 <1.2.0 | — |
| Shift Crypto | BitBox02 firmware | 0 <9.26.2 | — |
References
- https://github.com/BitBoxSwiss/bitbox02-firmware/commit/cbb40634cc2467043ada69b4ba22c23da8a6e29c
- https://blog.bitbox.swiss/en/bitbox-07-2026-oeschinen-update/
- https://blog.bitbox.swiss/en/bitbox-08-2026-dixence-update/
- https://github.com/BitBoxSwiss/bitbox02-firmware/blob/189957a8d9e3ae26415b0f22c88a39892960e7cb/src/usb/class/hid/hid.c#L164-L199
- https://github.com/BitBoxSwiss/bitbox02-firmware
- https://www.vulncheck.com/advisories/shift-crypto-bitbox02-firmware-before-9.26.2-and-bootloader-before-1.2.0-out-of-bounds-write-via-usb-hid-set-report