{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "0"
                  },
                  {
                    "fixed": "0.21.0"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              },
              {
                "original_tag": "0.21.0",
                "range": [
                  {
                    "fixed": "dae3f9a366bfcddbf9dcf1b48d7500286a849539"
                  }
                ],
                "source": "REFERENCES_TAG"
              },
              {
                "range": [
                  {
                    "fixed": "85047e1777f5c20b7a936aa905c746125d3ed066"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "dae3f9a366bfcddbf9dcf1b48d7500286a849539"
            },
            {
              "fixed": "85047e1777f5c20b7a936aa905c746125d3ed066"
            }
          ],
          "repo": "https://github.com/hathach/tinyusb",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "VulnCheck",
    "cwe_ids": [
      "CWE-191"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/61xxx/CVE-2026-61497.json"
  },
  "details": "TinyUSB before 0.21.0 contains an integer underflow vulnerability in the HID host report descriptor parser tuh_hid_parse_report_descriptor() in src/class/hid/hid_host.c that allows a malicious USB device to trigger an out-of-bounds read by subtracting an item size from the remaining descriptor length without validating the item fits within the remaining buffer. Attackers can present a crafted USB device with a truncated report descriptor causing the uint16_t desc_len value to underflow, resulting in out-of-bounds memory reads and denial of service on the host system.",
  "id": "CVE-2026-61497",
  "modified": "2026-11-28T14:45:37.029628609Z",
  "published": "2026-11-03T20:21:53.640Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/61xxx/CVE-2026-61497.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-61497"
    },
    {
      "type": "ADVISORY",
      "url": "https://www.vulncheck.com/advisories/tinyusb-integer-underflow-via-hid-report-descriptor-parser"
    },
    {
      "type": "FIX",
      "url": "https://github.com/hathach/tinyusb/commit/85047e1777f5c20b7a936aa905c746125d3ed066"
    },
    {
      "type": "FIX",
      "url": "https://github.com/hathach/tinyusb/releases/tag/0.21.0"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/hathach/tinyusb"
    },
    {
      "type": "EVIDENCE",
      "url": "https://gist.github.com/Shukhrat-03/8fe6e5881614a7f86b5d2b87d44ea706"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "score": "CVSS:4.0/AV:P/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:H/SC:N/SI:N/SA:N",
      "type": "CVSS_V4"
    }
  ],
  "summary": "TinyUSB \u003c 0.21.0 Integer Underflow via HID Report Descriptor Parser"
}