Skip to main content

BitBox02 EUVDEUVD-2026-139656

| CVE-2026-140033 HIGH
Out-of-bounds Write (CWE-787)
2026-11-30 disclosure@vulncheck.com GHSA-5qxc-42cm-g2m4
8.6
CVSS 4.0 · Vendor: vulncheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Run malicious software on connected USB host
  2. Delivery
    Issue HID SET_REPORT with wLength>64
  3. Exploit
    hid_req() ignores buffer size, writes out of bounds
  4. Execution
    Overwrite memory adjacent to control buffer
  5. Impact
    Corrupt BitBox02 device state

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Bounds checking, write limits
MITRE ATT&CK

2 techniques across 2 tactics: Execution, Privilege Escalation

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Requires malicious host software running on the computer to which the BitBox02 is physically connected via USB; that software must send a USB HID SET_REPORT control request with wLength above 64 bytes, which hid_req() processes without validating against the control buffer size. No PIN, device-side authentication, or user confirmation on the device is needed (PR:N/UI:N), and default configurations are affected. The key limiting factor is the AV:L precondition: the attacker must already have code execution on the connected host and an active USB connection to the device - it cannot be triggered remotely over a network. Affected builds are firmware before 9.26.2 and bootloader before 1.2.0.

Impact

The vendor CVSS 4.0 vector (AV:L/AC:L/AT:N/PR:N/UI:N, score 8.6) is the dominant signal, and it is internally consistent with the description: exploitation is local (AV:L) because it requires issuing USB HID control requests, but requires no attack prerequisites (AT:N), no privileges on the device (PR:N) and no user interaction (UI:N) - so once an attacker controls software on the connected host, triggering the out-of-bounds write is trivial and unauthenticated to the device. No EPSS score, no CISA KEV listing and no confirmed working exploit are present in the input, so there is no evidence of active or at-scale exploitation; the vuln.today Decision label is 'this_week', indicating prompt-but-not-emergency urgency rather than act_now/emergency. The practical risk is gated by the AV:L precondition - the attacker must already be running malicious host software on the computer the BitBox02 is plugged into. For a hardware wallet, whose threat model explicitly assumes a potentially compromised host, defeating that boundary via device memory corruption is a genuine priority for owners, but it is not an internet-facing, mass-exploitable issue. One conflict to flag: the vendor vector asserts VC:H (high confidentiality impact), yet the description only states that the flaw can 'corrupt device state' (integrity/availability); seed or key disclosure would require onward code execution that the available sources do not describe, so the confidentiality rating is inferred, not confirmed.

Exploit ScenarioDerived

Malicious or compromised software already running on the computer to which a BitBox02 is connected over USB sends a HID SET_REPORT control request with wLength greater than 64 bytes. Because hid_req() ignores the buffer size, the oversized payload is written past the 64-byte control buffer, overwriting adjacent memory and corrupting device state. No public exploit is identified at time of analysis, though the vulnerable code path (src/usb/class/hid/hid.c) and the vendor fix are public, which lowers the barrier to building one.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Nov 30, 2026

Out-of-bounds write in the USB HID request handler of the Shift Crypto BitBox02 hardware wallet lets malicious host software overwrite memory adjacent to the device's control buffer by sending a HID SET_REPORT control request with a wLength larger than 64 bytes, which hid_req() processes without checking the destination buffer size. Firmware builds before 9.26.2 and bootloader builds before 1.2.0 are affected in their default configuration; an attacker needs code execution on the computer the device is plugged into, but no PIN, device-side authentication or on-device user confirmation is required, and the consequence per the assessed vector is full loss of integrity and availability with limited confidentiality impact. No public exploit code has been identified at time of analysis and the issue is not in CISA KEV, though the vendor CVSS 4.0 score of 8.6 and the this_week decision label reflect that a host-side attacker who already controls the connected machine can trigger the corruption trivially.

RemediationAI

Vendor-released patch: BitBox02 firmware 9.26.2 and bootloader 1.2.0 (fix commit cbb40634cc2467043ada69b4ba22c23da8a6e29c); update through the official BitBoxApp/desktop updater and verify the installed firmware and bootloader versions afterwards, checking the vendor advisories at https://blog.bitbox.swiss/en/bitbox-07-2026-oeschinen-update/ and https://blog.bitbox.swiss/en/bitbox-08-2026-dixence-update/ for the exact release that ships the hid_req() bounds check, since the commit changelog also lists v9.26.3 and bootloader v1.1.3. Because the vendor states that some customers cannot upgrade their bootloader, treat devices with an unupgradable bootloader as only partially remediated and confirm with Shift Crypto whether the firmware-layer fix alone prevents the over-length SET_REPORT write. Until the device is updated, the only meaningful compensating control is host-side: confine USB access to the wallet to a dedicated, minimally provisioned machine, since the attack requires malicious software already running on the connected computer and the device cannot distinguish a hostile host from a benign one - the trade-off is operational inconvenience and it does not repair the underlying code flaw. Blocking or filtering arbitrary USB HID SET_REPORT traffic via host USB policy or an interposing hub offers partial protection but breaks legitimate HID usage and is easily bypassed by software running on the same host; there is no device-side configuration, PIN change, or network control that mitigates this issue.

Affected VersionsENISA

BitBox02 bootloader 0 <1.2.0
BitBox02 firmware 0 <9.26.2

Affected Packages

euvd bitbox02_bootloader fix: 1.2.0
euvd bitbox02_firmware fix: 9.26.2

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 2 packages in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The BitBox02 is a USB-connected hardware wallet whose firmware implements a HID class interface in src/usb/class/hid/hid.c; the referenced vulnerable region is lines 164-199 of that file, where hid_req() handles host-supplied control requests. USB HID SET_REPORT requests carry a wLength field chosen entirely by the host, and the device firmware copies the report payload into a fixed-size control buffer without comparing wLength against the buffer capacity - a classic CWE-787 out-of-bounds write that lets a long report spill into adjacent memory and corrupt device state. Because the host is by design the untrusted party in a hardware-wallet threat model (the whole point of the device is to not trust the PC), the missing length validation is a structural boundary failure rather than an exotic bug. The reference fix commit cbb40634cc2467043ada69b4ba22c23da8a6e29c is a bundled security release: the excerpt shown here hardens the bootloader chunk counter (FIRMWARE_MAX_NUM_CHUNKS bound), corrects signed/unsigned length handling in the da14531 BLE control handler, adds range validation and zeroization around the shared BLE bond database buffer (memory_shared.c), makes memory_set_ble_bond_db a USE_RESULT function, and enables Rust zeroize features for noise and ed25519-dalek secrets; the specific hid.c bounds check is not visible in the supplied diff excerpt, so the exact patch hunk should be confirmed in the upstream repository. The reported CVSS 4.0 vector is AV:L/AC:L/AT:N/PR:N/UI:N with high VC/VI/VA, consistent with the independent assessment (CVSS 3.1 AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:H): the trigger is local to the USB bus, requires no privileges or interaction on the device, and is not reachable over a network.

Know when the next one hits your stack

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (vulncheck) PRIMARY 8.6 HIGH
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
vuln.today AI 8.0 HIGH

Triggered only by malicious USB-HID host software (AV:L) with no device auth or interaction (PR:N/UI:N); described impact is state corruption (I:H/A:H), with confidentiality only a potential downstream of code execution (C:L).

3.1 AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:H
4.0 AV:L/AC:L/AT:N/PR:N/UI:N/VC:L/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (vulncheck).

CVSS VectorVendor: vulncheck

Attack Vector
Local
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

2
Patch available
Nov 30, 2026 - 20:35 EUVD
CVE Published
Nov 30, 2026 - 20:17 cve.org
HIGH 8.6

DescriptionCVE.org

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.

Executive ViewAI

Why It Matters

A memory corruption flaw in the Shift Crypto BitBox02 hardware wallet firmware could let malicious software on a connected computer overwrite sensitive memory on the device without requiring the user's PIN or any on-device confirmation. The vulnerability undermines the core security promise of the wallet-that a compromised host cannot tamper with the device-affecting any employee or executive using these devices for cryptocurrency custody. Leadership should care because the flaw can compromise asset integrity and device availability for users who rely on the wallet as a trusted custody boundary.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations include restricting affected BitBox02 devices to trusted, hardened host computers with current endpoint protection, avoiding shared or unknown machines, and monitoring vendor channels for the corrected firmware and bootloader releases.

Threat Intelligence Overview

EPSS Score
0.3%
Top 81% exploitable
Prevalence
Low
niche consumer hardware crypto wallet, limited and specialized deployment footprint
Data Quality
4 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact
High

Priority Score

43
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +43
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.

Memory corruption occurs when a program writes data beyond the boundaries of allocated memory regions or accesses memory in unintended ways, violating the integrity of the process's address space.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy