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

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.1
- **CVSS:** 7.1 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.30% (percentile 15, 2026-11-26)
- **CWE:** CWE-125
- **Published:** 2025-07-03T08:35:13.941Z
- **Modified:** 2026-11-05T21:18:09.857Z

## Who should check

- Anyone running Linux \>= f043bfc98c193c284e2cd768fefabe18ac2fed9b, \< 7a6d6b68db128da2078ccd9a751dfa3f75c9cf5b; \>= f043bfc98c193c284e2cd768fefabe18ac2fed9b, \< 41827a2dbdd7880df9881506dee13bc88d4230bb; \>= f043bfc98c193c284e2cd768fefabe18ac2fed9b, \< 1df80d748f984290c895e843401824215dcfbfb0; \>= f043bfc98c193c284e2cd768fefabe18ac2fed9b, \< a8f842534807985d3a676006d140541b87044345; \>= f043bfc98c193c284e2cd768fefabe18ac2fed9b, \< 4fa7831cf0ac71a0a345369d1a6084f2b096e55e; \>= f043bfc98c193c284e2cd768fefabe18ac2fed9b, \< 74388368927e9c52a69524af5bbd6c55eb4690de; \>= f043bfc98c193c284e2cd768fefabe18ac2fed9b, \< 485e1b741eb838cbe1d6b0e81e5ab62ae6c095cf; \>= f043bfc98c193c284e2cd768fefabe18ac2fed9b, \< fe7f7ac8e0c708446ff017453add769ffc15deed; 99de0781e0de7c866f762b931351c2a501c3074f; 8d675aa967d3927ac100f7af48f2a2af8a041d2d; …
- Anyone running 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.

## Affected and fixed versions

- Linux: \>= f043bfc98c193c284e2cd768fefabe18ac2fed9b, \< 7a6d6b68db128da2078ccd9a751dfa3f75c9cf5b; \>= f043bfc98c193c284e2cd768fefabe18ac2fed9b, \< 41827a2dbdd7880df9881506dee13bc88d4230bb; \>= f043bfc98c193c284e2cd768fefabe18ac2fed9b, \< 1df80d748f984290c895e843401824215dcfbfb0; \>= f043bfc98c193c284e2cd768fefabe18ac2fed9b, \< a8f842534807985d3a676006d140541b87044345; \>= f043bfc98c193c284e2cd768fefabe18ac2fed9b, \< 4fa7831cf0ac71a0a345369d1a6084f2b096e55e; \>= f043bfc98c193c284e2cd768fefabe18ac2fed9b, \< 74388368927e9c52a69524af5bbd6c55eb4690de; \>= f043bfc98c193c284e2cd768fefabe18ac2fed9b, \< 485e1b741eb838cbe1d6b0e81e5ab62ae6c095cf; \>= f043bfc98c193c284e2cd768fefabe18ac2fed9b, \< fe7f7ac8e0c708446ff017453add769ffc15deed; 99de0781e0de7c866f762b931351c2a501c3074f; 8d675aa967d3927ac100f7af48f2a2af8a041d2d; … (cvelist)
- Linux: 4.14 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2025-38103. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-38103.md
Affected: Linux >= f043bfc98c193c284e2cd768fefabe18ac2fed9b, < 7a6d6b68db128da2078ccd9a751dfa3f75c9cf5b; >= f043bfc98c193c284e2cd768fefabe18ac2fed9b, < 41827a2dbdd7880df9881506dee13bc88d4230bb; >= f043bfc98c193c284e2cd768fefabe18ac2fed9b, < 1df80d748f984290c895e843401824215dcfbfb0; >= f043bfc98c193c284e2cd76…
Fixed in: Linux 7a6d6b68db128da2078ccd9a751dfa3f75c9cf5b, Linux 41827a2dbdd7880df9881506dee13bc88d4230bb, Linux 1df80d748f984290c895e843401824215dcfbfb0, Linux 4fa7831cf0ac71a0a345369d1a6084f2b096e55e, Linux 74388368927e9c52a69524af5bbd6c55eb4690de, Linux 485e1b741eb838cbe1d6b0e81e5ab62ae6c095cf

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2025-38103 being exploited?

There is no confirmed exploitation: CVE-2025-38103 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.30% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2025-38103?

High: CVSS 7.1 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2025-38103?

Linux \>= f043bfc98c193c284e2cd768fefabe18ac2fed9b, \< 7a6d6b68db128da2078ccd9a751dfa3f75c9cf5b; \>= f043bfc98c193c284e2cd768fefabe18ac2fed9b, \< 41827a2dbdd7880df9881506dee13bc88d4230bb; \>= f043bfc98c193c284e2cd768fefabe18ac2fed9b, \< 1df80d748f984290c895e843401824215dcfbfb0; \>= f043bfc98c193c284e2cd768fefabe18ac2fed9b, \< a8f842534807985d3a676006d140541b87044345; \>= f043bfc98c193c284e2cd768fefabe18ac2fed9b, \< 4fa7831cf0ac71a0a345369d1a6084f2b096e55e; \>= f043bfc98c193c284e2cd768fefabe18ac2fed9b, \< 74388368927e9c52a69524af5bbd6c55eb4690de; \>= f043bfc98c193c284e2cd768fefabe18ac2fed9b, \< 485e1b741eb838cbe1d6b0e81e5ab62ae6c095cf; \>= f043bfc98c193c284e2cd768fefabe18ac2fed9b, \< fe7f7ac8e0c708446ff017453add769ffc15deed; 99de0781e0de7c866f762b931351c2a501c3074f; 8d675aa967d3927ac100f7af48f2a2af8a041d2d; …; Linux 4.14.

### Is there a fix for CVE-2025-38103?

Yes. Fixed in Linux 7a6d6b68db128da2078ccd9a751dfa3f75c9cf5b, Linux 41827a2dbdd7880df9881506dee13bc88d4230bb, Linux 1df80d748f984290c895e843401824215dcfbfb0, Linux 4fa7831cf0ac71a0a345369d1a6084f2b096e55e, Linux 74388368927e9c52a69524af5bbd6c55eb4690de, Linux 485e1b741eb838cbe1d6b0e81e5ab62ae6c095cf. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2025-38103?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <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>
- other: <https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html>
- other: <https://lists.debian.org/debian-lts-announce/2025/10/msg00007.html>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2025-38103>

HTML: <https://flawdb.com/CVE-2025-38103> · JSON: <https://flawdb.com/api/v1/entries/CVE-2025-38103>
