CVE-2026-99331 (GCVE-0-2026-99331)

Vulnerability from cvelistv5 – Published: 2026-11-19 14:21 – Updated: 2026-11-19 14:33
VLAI
Title
HID: cp2112: validate response report lengths
Summary
In the Linux kernel, the following vulnerability has been resolved: HID: cp2112: validate response report lengths The HID core invokes raw_event callbacks before validating the report length. cp2112_raw_event() reads every field of a transfer status response without checking size. For a data response, it reads the length at offset two and copies that many bytes from offset three, again without ensuring that the input report contains them. Require a complete transfer status structure. For data responses, first require the header and then ensure the clamped payload length fits in the received report before copying it. Commit 47669bec44fe ("HID: asus: refactor the two workqueues and init sequence") added the same kind of raw_event length validation to hid-asus.
Severity
No CVSS data available.
Impacted products
Vendor Product Version
Linux Linux Affected: e932d817866770d456815c9a84b7ed94f0589d80 , < e178cdd6ed0f4ac20afc9220eceae3a89e6719af (git)
Affected: e932d817866770d456815c9a84b7ed94f0589d80 , < 94d0e789d8b0d2ea8e25ed5ff2fe2648e11f2297 (git)
Affected: e932d817866770d456815c9a84b7ed94f0589d80 , < 773307dd4c3e8c27eb31650af2df2d91cba22de8 (git)
Affected: e932d817866770d456815c9a84b7ed94f0589d80 , < fc54e71a063c0dcc4bceba6d0f71805a9b84082d (git)
Create a notification for this product.
Linux Linux Affected: 3.15
Unaffected: 0 , < 3.15 (semver)
Unaffected: 6.12.117 , ≤ 6.12.* (semver)
Unaffected: 6.18.61 , ≤ 6.18.* (semver)
Unaffected: 7.3.2 , ≤ 7.3.* (semver)
Unaffected: 7.4-rc1 , ≤ * (original_commit_for_fix)
Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "drivers/hid/hid-cp2112.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "e178cdd6ed0f4ac20afc9220eceae3a89e6719af",
              "status": "affected",
              "version": "e932d817866770d456815c9a84b7ed94f0589d80",
              "versionType": "git"
            },
            {
              "lessThan": "94d0e789d8b0d2ea8e25ed5ff2fe2648e11f2297",
              "status": "affected",
              "version": "e932d817866770d456815c9a84b7ed94f0589d80",
              "versionType": "git"
            },
            {
              "lessThan": "773307dd4c3e8c27eb31650af2df2d91cba22de8",
              "status": "affected",
              "version": "e932d817866770d456815c9a84b7ed94f0589d80",
              "versionType": "git"
            },
            {
              "lessThan": "fc54e71a063c0dcc4bceba6d0f71805a9b84082d",
              "status": "affected",
              "version": "e932d817866770d456815c9a84b7ed94f0589d80",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "drivers/hid/hid-cp2112.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "3.15"
            },
            {
              "lessThan": "3.15",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.12.*",
              "status": "unaffected",
              "version": "6.12.117",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.18.*",
              "status": "unaffected",
              "version": "6.18.61",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "7.3.*",
              "status": "unaffected",
              "version": "7.3.2",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "7.4-rc1",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.12.117",
                  "versionStartIncluding": "3.15",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.18.61",
                  "versionStartIncluding": "3.15",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.3.2",
                  "versionStartIncluding": "3.15",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.4-rc1",
                  "versionStartIncluding": "3.15",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nHID: cp2112: validate response report lengths\n\nThe HID core invokes raw_event callbacks before validating the report\nlength.  cp2112_raw_event() reads every field of a transfer status response\nwithout checking size.  For a data response, it reads the length at offset\ntwo and copies that many bytes from offset three, again without ensuring\nthat the input report contains them.\n\nRequire a complete transfer status structure.  For data responses, first\nrequire the header and then ensure the clamped payload length fits in the\nreceived report before copying it.\n\nCommit 47669bec44fe (\"HID: asus: refactor the two workqueues and init\nsequence\") added the same kind of raw_event length validation to hid-asus."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-11-19T14:33:57.001Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/e178cdd6ed0f4ac20afc9220eceae3a89e6719af"
        },
        {
          "url": "https://git.kernel.org/stable/c/94d0e789d8b0d2ea8e25ed5ff2fe2648e11f2297"
        },
        {
          "url": "https://git.kernel.org/stable/c/773307dd4c3e8c27eb31650af2df2d91cba22de8"
        },
        {
          "url": "https://git.kernel.org/stable/c/fc54e71a063c0dcc4bceba6d0f71805a9b84082d"
        }
      ],
      "title": "HID: cp2112: validate response report lengths",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-99331",
    "datePublished": "2026-11-19T14:21:38.080Z",
    "dateReserved": "2026-09-25T10:25:14.408Z",
    "dateUpdated": "2026-11-19T14:33:57.001Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2026-99331",
      "date": "2026-11-22",
      "epss": "0.00221",
      "percentile": "0.12704"
    },
    "microsoft_vex": {
      "current_release_date": "2026-11-21T01:13:47.000Z",
      "cve": "CVE-2026-99331",
      "id": "msrc_CVE-2026-99331",
      "initial_release_date": "2026-11-21T01:13:47.000Z",
      "product_status:known_affected": "1",
      "source": "Microsoft CSAF VEX",
      "status": "final",
      "title": "HID: cp2112: validate response report lengths",
      "url": "https://msrc.microsoft.com/csaf/vex/2026/msrc_cve-2026-99331.json",
      "version": "1"
    },
    "nvd": {
      "cve": {
        "affected": [
          {
            "affectedData": [
              {
                "defaultStatus": "unaffected",
                "product": "Linux",
                "programFiles": [
                  "drivers/hid/hid-cp2112.c"
                ],
                "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                "vendor": "Linux",
                "versions": [
                  {
                    "lessThan": "e178cdd6ed0f4ac20afc9220eceae3a89e6719af",
                    "status": "affected",
                    "version": "e932d817866770d456815c9a84b7ed94f0589d80",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "94d0e789d8b0d2ea8e25ed5ff2fe2648e11f2297",
                    "status": "affected",
                    "version": "e932d817866770d456815c9a84b7ed94f0589d80",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "773307dd4c3e8c27eb31650af2df2d91cba22de8",
                    "status": "affected",
                    "version": "e932d817866770d456815c9a84b7ed94f0589d80",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "fc54e71a063c0dcc4bceba6d0f71805a9b84082d",
                    "status": "affected",
                    "version": "e932d817866770d456815c9a84b7ed94f0589d80",
                    "versionType": "git"
                  }
                ]
              },
              {
                "defaultStatus": "affected",
                "product": "Linux",
                "programFiles": [
                  "drivers/hid/hid-cp2112.c"
                ],
                "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                "vendor": "Linux",
                "versions": [
                  {
                    "status": "affected",
                    "version": "3.15"
                  },
                  {
                    "lessThan": "3.15",
                    "status": "unaffected",
                    "version": "0",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "6.12.*",
                    "status": "unaffected",
                    "version": "6.12.117",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "6.18.*",
                    "status": "unaffected",
                    "version": "6.18.61",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "7.3.*",
                    "status": "unaffected",
                    "version": "7.3.2",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "*",
                    "status": "unaffected",
                    "version": "7.4-rc1",
                    "versionType": "original_commit_for_fix"
                  }
                ]
              }
            ],
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
          }
        ],
        "cveTags": [],
        "descriptions": [
          {
            "lang": "en",
            "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nHID: cp2112: validate response report lengths\n\nThe HID core invokes raw_event callbacks before validating the report\nlength.  cp2112_raw_event() reads every field of a transfer status response\nwithout checking size.  For a data response, it reads the length at offset\ntwo and copies that many bytes from offset three, again without ensuring\nthat the input report contains them.\n\nRequire a complete transfer status structure.  For data responses, first\nrequire the header and then ensure the clamped payload length fits in the\nreceived report before copying it.\n\nCommit 47669bec44fe (\"HID: asus: refactor the two workqueues and init\nsequence\") added the same kind of raw_event length validation to hid-asus."
          }
        ],
        "id": "CVE-2026-99331",
        "lastModified": "2026-11-19T15:17:43.993",
        "metrics": {},
        "published": "2026-11-19T15:17:43.993",
        "references": [
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/773307dd4c3e8c27eb31650af2df2d91cba22de8"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/94d0e789d8b0d2ea8e25ed5ff2fe2648e11f2297"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/e178cdd6ed0f4ac20afc9220eceae3a89e6719af"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/fc54e71a063c0dcc4bceba6d0f71805a9b84082d"
          }
        ],
        "sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "vulnStatus": "Received"
      }
    },
    "redhat_vex": {
      "aggregate_severity": "Moderate",
      "current_release_date": "2026-11-19T21:02:18+00:00",
      "cve": "CVE-2026-99331",
      "id": "CVE-2026-99331",
      "initial_release_date": "2026-11-19T14:21:38.080000+00:00",
      "product_status:known_not_affected": "204",
      "source": "Red Hat CSAF VEX",
      "status": "final",
      "title": "kernel: kernel: Denial of Service via unvalidated report length in cp2112 driver",
      "url": "https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-99331.json",
      "version": "3"
    }
  }
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Loading…

Loading…

Related by attack behaviour

Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.


Loading…