Back to CVE catalog
CVE-2026-99331

HID: cp2112: validate response report lengths

Linux Linux

At a glance

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.

Source description · CVE List / CNA

System impact

Attack complexityLow
ConfidentialityNone
IntegrityNone
AvailabilityHigh

CVSS summary v4.0

5.1Medium
Published:
Updated:
EPSS:
0.232%
Exploited in attacks:
Not confirmed
Ransomware campaigns:
Not confirmed
Attack vector:
Physical

Affected software

Vendor, product and affected version ranges.

Vendor, product and affected versions
Vendor:LinuxLinuxAffected versions:
3.15Show full version range for Linux
  • Other versions are affected by default; consult the source for exceptions.
  • Other source statuses: unaffected: < 3.15; unaffected: ≥ 5.10.275, ≤ 5.10.*; unaffected: ≥ 5.15.226, ≤ 5.15.*; unaffected: ≥ 6.1.193, ≤ 6.1.*; unaffected: ≥ 6.6.163, ≤ 6.6.*; unaffected: ≥ 6.12.117, ≤ 6.12.*; unaffected: ≥ 6.18.61, ≤ 6.18.*; unaffected: ≥ 7.3.2, ≤ 7.3.*; unaffected: ≥ 7.4-rc1

Git commit ranges (source code)

  • From commit e932d817866770d456815c9a84b7ed94f0589d80; before commit dfea21d67426b93c60ec4575f27ee1e73c3a75d5
  • From commit e932d817866770d456815c9a84b7ed94f0589d80; before commit 4ebc9aed3fb7326daad7e7b336bb17b9d41b91d2
  • From commit e932d817866770d456815c9a84b7ed94f0589d80; before commit f1b4bed4163e7097cd2d59b2c21220d038b6b20f
  • From commit e932d817866770d456815c9a84b7ed94f0589d80; before commit 50fc069cfcb25e9d36a8cccf9111d53bc47a309c
  • From commit e932d817866770d456815c9a84b7ed94f0589d80; before commit e178cdd6ed0f4ac20afc9220eceae3a89e6719af
  • From commit e932d817866770d456815c9a84b7ed94f0589d80; before commit 94d0e789d8b0d2ea8e25ed5ff2fe2648e11f2297
  • From commit e932d817866770d456815c9a84b7ed94f0589d80; before commit 773307dd4c3e8c27eb31650af2df2d91cba22de8
  • From commit e932d817866770d456815c9a84b7ed94f0589d80; before commit fc54e71a063c0dcc4bceba6d0f71805a9b84082d
Vendor:Canonicallinux-aws-5.4
Environments (1)
  • bionic
Affected versions:
Range not specifiedShow full version range for linux-aws-5.4
  • Other versions are affected by default; consult the source for exceptions.
Vendor:Canonicallinux-azure-4.15
Environments (1)
  • bionic
Affected versions:
Range not specifiedShow full version range for linux-azure-4.15
  • Other versions are affected by default; consult the source for exceptions.
Vendor:Canonicallinux-azure-5.4
Environments (1)
  • bionic
Affected versions:
Range not specifiedShow full version range for linux-azure-5.4
  • Other versions are affected by default; consult the source for exceptions.
Vendor:Canonicallinux-gcp-4.15
Environments (1)
  • bionic
Affected versions:
Range not specifiedShow full version range for linux-gcp-4.15
  • Other versions are affected by default; consult the source for exceptions.
Vendor:Canonicallinux-gcp-5.4
Environments (1)
  • bionic
Affected versions:
Range not specifiedShow full version range for linux-gcp-5.4
  • Other versions are affected by default; consult the source for exceptions.
Vendor:Canonicallinux-hwe-5.4
Environments (1)
  • bionic
Affected versions:
Range not specifiedShow full version range for linux-hwe-5.4
  • Other versions are affected by default; consult the source for exceptions.
Vendor:Canonicallinux-ibm-5.4
Environments (1)
  • bionic
Affected versions:
Range not specifiedShow full version range for linux-ibm-5.4
  • Other versions are affected by default; consult the source for exceptions.
Vendor:Canonicallinux-oracle-5.4
Environments (1)
  • bionic
Affected versions:
Range not specifiedShow full version range for linux-oracle-5.4
  • Other versions are affected by default; consult the source for exceptions.
Vendor:Canonicallinux-raspi-5.4
Environments (1)
  • bionic
Affected versions:
Range not specifiedShow full version range for linux-raspi-5.4
  • Other versions are affected by default; consult the source for exceptions.

1–10 of 377 · Page 1 of 38

CVSS scores and metrics4
canonical · Wazuh CTI (adp)Primary5.1 / 10MediumCVSS 4.0Details
Attack complexity
Low
Confidentiality
None
Integrity
None
Availability
High
Attack vector
Physical
Privileges required
Not required
User interaction
Not required
Attack requirements
None
Subsequent confidentiality
None
Subsequent integrity
None
Subsequent availability
None

Source vector

CVSS:4.0/AV:P/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
redhat · Wazuh CTI (adp)4.6 / 10MediumCVSS 3.1Details
Attack complexity
Low
Confidentiality
None
Integrity
None
Availability
High
Attack vector
Physical
Privileges required
Not required
User interaction
Not required
Scope
Unchanged

Source vector

CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
alas · Wazuh CTI (adp)5.2 / 10MediumCVSS 3.1Details
Attack complexity
Low
Confidentiality
Low
Integrity
None
Availability
High
Attack vector
Physical
Privileges required
Not required
User interaction
Not required
Scope
Unchanged

Source vector

CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H
Red Hat · Red Hat VEX (adp)4.6 / 10MediumCVSS 3.1Details
Attack complexity
Low
Confidentiality
None
Integrity
None
Availability
High
Attack vector
Physical
Privileges required
Not required
User interaction
Not required
Scope
Unchanged

Source vector

CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

CVSS measures severity; EPSS estimates exploitation probability. Lack of confirmed attacks does not mean lack of risk.

Sources and advisories22

This product uses the NVD API but is not endorsed or certified by the NVD. CVE® records © The MITRE Corporation, reproduced under the CVE Terms of Use. Data sources and licences