# CVE-2025-38103: HID: usbhid: Eliminate recurrent out-of-bounds bug in usbhid_parse()

- Severity: High 7.1 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.24%, higher than 16% of CVEs (2026-12-01)
- Published: 2025-07-03T08:35:13.941Z
- Modified: 2026-11-05T21:18:09.857Z
- Weaknesses: CWE-125
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

HID: usbhid: Eliminate recurrent out-of-bounds bug in usbhid_parse()

Update struct hid_descriptor to better reflect the mandatory and
optional parts of the HID Descriptor as per USB HID 1.11 specification.
Note: the kernel currently does not parse any optional HID class
descriptors, only the mandatory report descriptor.

Update all references to member element desc[0] to rpt_desc.

Add test to verify bLength and bNumDescriptors values are valid.

Replace the for loop with direct access to the mandatory HID class
descriptor member for the report descriptor. This eliminates the
possibility of getting an out-of-bounds fault.

Add a warning message if the HID descriptor contains any unsupported
optional HID class descriptors.

(As written by CVE List.)

## Affected

- Linux Linux: from f043bfc98c193c284e2cd768fefabe18ac2fed9b before 7a6d6b68db128da2078ccd9a751dfa3f75c9cf5b; from f043bfc98c193c284e2cd768fefabe18ac2fed9b before 41827a2dbdd7880df9881506dee13bc88d4230bb; from f043bfc98c193c284e2cd768fefabe18ac2fed9b before 1df80d748f984290c895e843401824215dcfbfb0; from f043bfc98c193c284e2cd768fefabe18ac2fed9b before a8f842534807985d3a676006d140541b87044345; from f043bfc98c193c284e2cd768fefabe18ac2fed9b before 4fa7831cf0ac71a0a345369d1a6084f2b096e55e; from f043bfc98c193c284e2cd768fefabe18ac2fed9b before 74388368927e9c52a69524af5bbd6c55eb4690de; from f043bfc98c193c284e2cd768fefabe18ac2fed9b before 485e1b741eb838cbe1d6b0e81e5ab62ae6c095cf; from f043bfc98c193c284e2cd768fefabe18ac2fed9b before fe7f7ac8e0c708446ff017453add769ffc15deed; 99de0781e0de7c866f762b931351c2a501c3074f; 8d675aa967d3927ac100f7af48f2a2af8a041d2d; f4cf5d75416ae3d79e03179fe6f4b9f1231ae42c; 439f76690d7d5dd212ea7bebc1f2fa077e3d645d; and 11 more (not affected: before 4.14; from 5.4.295 up to 5.4.*; from 5.10.239 up to 5.10.*; from 5.15.186 up to 5.15.*; from 6.1.142 up to 6.1.*; from 6.6.94 up to 6.6.*; from 6.12.34 up to 6.12.*; from 6.15.3 up to 6.15.*; from 6.16 up to *)
- linux linux_kernel: from 3.2.95 before 3.3; from 3.16.50 before 3.17; from 3.18.76 before 3.19; from 4.1.46 before 4.2; from 4.4.93 before 4.5; from 4.9.57 before 4.10; from 4.13.8 before 4.14; from 4.14.1 before 5.4.295; from 5.5 before 5.10.239; from 5.11 before 5.15.186; from 5.16 before 6.1.142; from 6.2 before 6.6.94; and 3 more
- debian debian_linux: 11.0

## References

- <https://git.kernel.org/stable/c/7a6d6b68db128da2078ccd9a751dfa3f75c9cf5b> (patch)
- <https://git.kernel.org/stable/c/41827a2dbdd7880df9881506dee13bc88d4230bb> (patch)
- <https://git.kernel.org/stable/c/1df80d748f984290c895e843401824215dcfbfb0> (patch)
- <https://git.kernel.org/stable/c/a8f842534807985d3a676006d140541b87044345> (patch)
- <https://git.kernel.org/stable/c/4fa7831cf0ac71a0a345369d1a6084f2b096e55e> (patch)
- <https://git.kernel.org/stable/c/74388368927e9c52a69524af5bbd6c55eb4690de> (patch)
- <https://git.kernel.org/stable/c/485e1b741eb838cbe1d6b0e81e5ab62ae6c095cf> (patch)
- <https://git.kernel.org/stable/c/fe7f7ac8e0c708446ff017453add769ffc15deed> (patch)
- <https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html> (mailing-list, third-party-advisory)
- <https://lists.debian.org/debian-lts-announce/2025/10/msg00007.html> (mailing-list, third-party-advisory)

## Sources

- CVE List: [CVE-2025-38103](https://www.cve.org/CVERecord?id=CVE-2025-38103), CVE Terms of Use, modified 2026-11-05
- NVD: [CVE-2025-38103](https://nvd.nist.gov/vuln/detail/CVE-2025-38103), Public domain, modified 2026-11-05

---

Page: https://cve.day/CVE-2025-38103 · Whole record: https://cve.day/CVE-2025-38103.json · Rebuilt by cve.day 2026-11-25T22:59:00.510Z
