CertiK Uncovers USB Flaw in BitBox02 Hardware Wallet
Key Takeaways
- •CertiK researcher Guanxing Wen discovered the BitBox02 flaw and classified it as a severe out-of-bounds write vulnerability.
- •The issue involved USB commands that could overflow temporary memory and potentially enable control-flow hijacking.
- •BitBox said the wallet’s private keys were not directly exposed and that the patch was included in its July Oeschinen update.
- •Earlier in 2026, Ledger fixed a separate MCU bootloader vulnerability after CertiK found inadequate validation in its firmware update process.
- •CertiK reported that the first half of 2026 saw 344 security incidents and more than $1.31 billion in crypto losses, with wallet compromises causing over $444 million.

Web3 security firm CertiK has identified a severe out-of-bounds (OOB) write vulnerability in the BitBox02 hardware wallet. Discovered by CertiK researcher Guanxing Wen, the flaw opened the door to potential control-flow hijacking through compromised USB commands. The finding underscores a growing concern across the digital asset space: keeping private keys offline is no longer enough, on its own, to guarantee total asset safety.
How the BitBox02 Vulnerability Worked
Hardware wallets are designed to keep private keys off internet-connected devices, yet every transaction still begins outside the wallet. The device must receive commands, parse data, display confirmation details, and produce a signature.
As BitBox publicly disclosed in its July Oeschinen security update, the secret private keys stored inside the wallet were never directly exposed. The problem instead lay in how the device communicated with a computer.
When receiving commands over USB, the wallet's software blindly accepted instructions about how much data was arriving, without verifying whether it would actually fit into the device's temporary memory space. An attacker could exploit this by sending an oversized command to overflow that memory buffer, which BitBox noted could allow them to hijack control of the device. In practical terms, an out-of-bounds write is a classic memory-safety bug: data spills past the end of its allotted buffer and overwrites adjacent memory, and with enough control over that data, an attacker can redirect the device's execution — the control-flow hijacking BitBox warned about. Exploiting it would require feeding the wallet malicious USB commands, which is precisely why CertiK emphasized that a connected computer or smartphone should always be treated as a source of untrusted input, meaning wallet firmware must safely process every command it receives. The fix was rolled into BitBox's July update.
A Broader Pattern in Hardware Wallet Security
The BitBox02 case is not isolated. Earlier in 2026, Ledger patched a MCU bootloader flaw (CVE-2025-15645) after CertiK uncovered that host-provided reset handlers were not properly validated during firmware updates. The flaw affected Ledger's MCU firmware update process, where the bootloader — the small piece of code that initializes a device's microcontroller before the main firmware loads — did not sufficiently validate a host-provided reset_handler address. Ledger remediated the issue and said user funds were never at risk.
The two cases share a common thread: each wallet trusted data arriving from an outside source — a USB command in one instance, a firmware-update input in the other — without validating it adequately.
The stakes for Web3 security have rarely been higher. According to CertiK's Hack3D H1 2026 Report, the first half of 2026 saw 344 security incidents result in more than $1.31 billion in total crypto losses. Wallet compromises proved to be the single most damaging threat, draining over $444 million across just 33 separate attacks.
Against that backdrop — with wallet compromise now among the costliest attack categories in Web3 — the BitBox02 case demonstrates that hardware wallet security depends on more than isolating private keys: firmware, communication protocols, and confirmation flows must also resist untrusted input. For BitBox02 owners, the practical next step is straightforward: install the July Oeschinen update so the patched firmware is running on the device.