{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "fixed": "cbb40634cc2467043ada69b4ba22c23da8a6e29c"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "cbb40634cc2467043ada69b4ba22c23da8a6e29c"
            }
          ],
          "repo": "https://github.com/bitboxswiss/bitbox02-firmware",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "VulnCheck",
    "cwe_ids": [
      "CWE-787"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/140xxx/CVE-2026-140033.json",
    "unresolved_ranges": [
      {
        "extracted_events": [
          {
            "range": [
              {
                "fixed": "9.26.2"
              },
              {
                "fixed": "1.2.0"
              }
            ],
            "source": "AFFECTED_FIELD",
            "strategy": "StandardRange"
          }
        ]
      },
      {
        "extracted_events": [
          {
            "range": [
              {
                "fixed": "9.26.2"
              }
            ],
            "source": "CPE_FIELD",
            "strategy": "CPEApplicability"
          }
        ]
      },
      {
        "extracted_events": [
          {
            "range": [
              {
                "fixed": "9.26.2"
              },
              {
                "fixed": "1.2.0"
              }
            ],
            "source": "DESCRIPTION"
          }
        ]
      }
    ]
  },
  "details": "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.",
  "id": "CVE-2026-140033",
  "modified": "2026-12-02T20:45:32.972314776Z",
  "published": "2026-11-30T19:18:16.051Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://blog.bitbox.swiss/en/bitbox-07-2026-oeschinen-update/"
    },
    {
      "type": "ADVISORY",
      "url": "https://blog.bitbox.swiss/en/bitbox-08-2026-dixence-update/"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/140xxx/CVE-2026-140033.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-140033"
    },
    {
      "type": "ADVISORY",
      "url": "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"
    },
    {
      "type": "FIX",
      "url": "https://github.com/BitBoxSwiss/bitbox02-firmware/commit/cbb40634cc2467043ada69b4ba22c23da8a6e29c"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/BitBoxSwiss/bitbox02-firmware"
    },
    {
      "type": "ARTICLE",
      "url": "https://github.com/BitBoxSwiss/bitbox02-firmware/blob/189957a8d9e3ae26415b0f22c88a39892960e7cb/src/usb/class/hid/hid.c#L164-L199"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "score": "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",
      "type": "CVSS_V4"
    }
  ],
  "summary": "Shift Crypto BitBox02 Firmware before 9.26.2 and Bootloader before 1.2.0 Out-of-Bounds Write via USB HID SET_REPORT"
}