{
  "schemaVersion": 1,
  "attribution": [
    {
      "source": "CISA Known Exploited Vulnerabilities",
      "url": "https://www.cisa.gov/known-exploited-vulnerabilities-catalog",
      "licence": "US government work"
    },
    {
      "source": "GitHub Advisory Database",
      "url": "https://github.com/advisories",
      "licence": "CC BY 4.0"
    },
    {
      "source": "Have I Been Pwned",
      "url": "https://haveibeenpwned.com/",
      "licence": "CC BY 4.0"
    },
    {
      "source": "CVE Program (CVE records)",
      "url": "https://www.cve.org/Legal/TermsOfUse",
      "licence": "CVE Terms of Use",
      "notice": "Copyright © 1999-2026, The MITRE Corporation. CVE is a trademark and the CVE logo is a registered trademark of The MITRE Corporation.",
      "terms": "CVE Usage: MITRE hereby grants you a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, sublicense, and distribute Common Vulnerabilities and Exposures (CVE™). Any copy you make for such purposes is authorized provided that you reproduce MITRE's copyright designation and this license in any such copy."
    },
    {
      "source": "FIRST EPSS",
      "url": "https://www.first.org/epss/",
      "licence": "free to use; FIRST requests attribution"
    }
  ],
  "record": {
    "id": "CVE-2026-31720",
    "sourceURL": "https://www.cve.org/CVERecord?id=CVE-2026-31720",
    "idYear": 2026,
    "status": "PUBLISHED",
    "publishedAt": "2026-05-01T14:14:22.832Z",
    "updatedAt": "2026-05-11T22:14:27.286Z",
    "importedAt": "2026-10-24T01:58:02.025Z",
    "snapshot": {
      "id": "cve_2026-10-24_midnight_baseline",
      "at": "2026-10-24T00:00:00.000Z",
      "source": "https://github.com/CVEProject/cvelistV5/releases/tag/cve_2026-10-24_0100Z"
    },
    "facts": {
      "title": "usb: gadget: f_uac1_legacy: validate control request size",
      "summary": "In the Linux kernel, the following vulnerability has been resolved:\n\nusb: gadget: f_uac1_legacy: validate control request size\n\nf_audio_complete() copies req->length bytes into a 4-byte stack\nvariable:\n\n  u32 data = 0;\n  memcpy(&data, req->buf, req->length);\n\nreq->length is derived from the host-controlled USB request path,\nwhich can lead to a stack out-of-bounds write.\n\nValidate req->actual against the expected payload size for the\nsupported control selectors and decode only the expected amount\nof data.\n\nThis avoids copying a host-influenced length into a fixed-size\nstack object.",
      "affected": [
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "unaffected",
          "versions": [
            {
              "version": "c6994e6f067cf0fc4c6cca3d164018b1150916f8",
              "status": "affected",
              "versionType": "git",
              "lessThan": "557d1d4e862eccd0b74cc377b66de3e1e8d49605"
            },
            {
              "version": "c6994e6f067cf0fc4c6cca3d164018b1150916f8",
              "status": "affected",
              "versionType": "git",
              "lessThan": "21b11e8581285c6f10ef43d05df349d445f24273"
            },
            {
              "version": "c6994e6f067cf0fc4c6cca3d164018b1150916f8",
              "status": "affected",
              "versionType": "git",
              "lessThan": "0d41772d98dcaf6c17e875b7d0ea0154ae1191ee"
            },
            {
              "version": "c6994e6f067cf0fc4c6cca3d164018b1150916f8",
              "status": "affected",
              "versionType": "git",
              "lessThan": "c6da4fed7537aec19880c24f6c3a95065adb1406"
            },
            {
              "version": "c6994e6f067cf0fc4c6cca3d164018b1150916f8",
              "status": "affected",
              "versionType": "git",
              "lessThan": "be2d32f0c3fe333d14c0a9ca90328dacbc3e06b8"
            },
            {
              "version": "c6994e6f067cf0fc4c6cca3d164018b1150916f8",
              "status": "affected",
              "versionType": "git",
              "lessThan": "8e5eb1d6e6a3d7bbea9c92132d0cda5793176426"
            },
            {
              "version": "c6994e6f067cf0fc4c6cca3d164018b1150916f8",
              "status": "affected",
              "versionType": "git",
              "lessThan": "26304d124e7f0383f8fe1168b5801a0ac7e16b1c"
            },
            {
              "version": "c6994e6f067cf0fc4c6cca3d164018b1150916f8",
              "status": "affected",
              "versionType": "git",
              "lessThan": "6e0e34d85cd46ceb37d16054e97a373a32770f6c"
            }
          ]
        },
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "affected",
          "versions": [
            {
              "version": "2.6.31",
              "status": "affected"
            },
            {
              "version": "0",
              "status": "unaffected",
              "versionType": "semver",
              "lessThan": "2.6.31"
            },
            {
              "version": "5.10.253",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "5.10.*"
            },
            {
              "version": "5.15.203",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "5.15.*"
            },
            {
              "version": "6.1.168",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.1.*"
            },
            {
              "version": "6.6.134",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.6.*"
            },
            {
              "version": "6.12.81",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.12.*"
            },
            {
              "version": "6.18.22",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.18.*"
            },
            {
              "version": "6.19.12",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.19.*"
            },
            {
              "version": "7.0",
              "status": "unaffected",
              "versionType": "original_commit_for_fix",
              "lessThanOrEqual": "*"
            }
          ]
        }
      ]
    }
  }
}