{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "ff49d1df79aef7580fe3ac99d17c3f886655d080"
            },
            {
              "fixed": "fafc97bd01e4c737eaeafadfdadb1af4bbfa7307"
            },
            {
              "fixed": "a310b4bebda5e4a1b26520c0cc5145ccd6d617e2"
            },
            {
              "fixed": "f9c184a83574549a36ea69b755f650e57d164c78"
            },
            {
              "fixed": "17e76b19de1aff5ff4de64d269290bd1b07a01d3"
            },
            {
              "fixed": "918be519c7876329e1b6e2ea1c59f0b75e792dca"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "6.5.0"
            },
            {
              "fixed": "6.6.141"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.7.0"
            },
            {
              "fixed": "6.12.91"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.13.0"
            },
            {
              "fixed": "6.18.33"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.19.0"
            },
            {
              "fixed": "7.0.10"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/52xxx/CVE-2026-52964.json"
  },
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\nALSA: usb-audio: Bound MIDI 2.0 endpoint descriptor scans\n\nThe USB MIDI 2.0 endpoint parser has the same descriptor walking\npattern as the legacy MIDI parser. It validates bLength against\nbNumGrpTrmBlock before reading baAssoGrpTrmBlkID[], but not against the\nremaining bytes in the endpoint-extra scan.\n\nA malformed device can therefore make later baAssoGrpTrmBlkID[] reads\nconsume bytes past the walked descriptor.\n\nReject zero-length and overlong descriptors while walking endpoint\nextras.",
  "id": "CVE-2026-52964",
  "modified": "2026-07-12T03:55:00.415173578Z",
  "published": "2026-06-24T16:28:44.345Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/17e76b19de1aff5ff4de64d269290bd1b07a01d3"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/918be519c7876329e1b6e2ea1c59f0b75e792dca"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/a310b4bebda5e4a1b26520c0cc5145ccd6d617e2"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/f9c184a83574549a36ea69b755f650e57d164c78"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/fafc97bd01e4c737eaeafadfdadb1af4bbfa7307"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/52xxx/CVE-2026-52964.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-52964"
    },
    {
      "type": "PACKAGE",
      "url": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
    }
  ],
  "schema_version": "1.7.5",
  "summary": "ALSA: usb-audio: Bound MIDI 2.0 endpoint descriptor scans"
}