CVE-2025-38103

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

No CVSS score yet EPSS 0.24%

Published 3 Jul 2025 Updated 5 Nov 2026 CNA: Linux

Check your servers for CVE-2025-38103

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2025-38103 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

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.

Exploitation

EPSS 0.24%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 16.5% of all scored CVEs. Scores of 1 Dec 2026.

The assessment of CISA (SSVC, 5 Nov 2026):

Exploitation
none: CISA did not find evidence of exploitation or a public proof of concept
Automatable
no: each attack takes manual steps
Technical impact
partial: limited control or limited data

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from f043bfc98c193c284e2cd768fefabe18ac2fed9b, before 7a6d6b68db128da2078ccd9a751dfa3f75c9cf5b
affected from f043bfc98c193c284e2cd768fefabe18ac2fed9b, before 41827a2dbdd7880df9881506dee13bc88d4230bb
affected from f043bfc98c193c284e2cd768fefabe18ac2fed9b, before 1df80d748f984290c895e843401824215dcfbfb0
affected from f043bfc98c193c284e2cd768fefabe18ac2fed9b, before a8f842534807985d3a676006d140541b87044345
affected from f043bfc98c193c284e2cd768fefabe18ac2fed9b, before 4fa7831cf0ac71a0a345369d1a6084f2b096e55e
affected from f043bfc98c193c284e2cd768fefabe18ac2fed9b, before 74388368927e9c52a69524af5bbd6c55eb4690de
affected from f043bfc98c193c284e2cd768fefabe18ac2fed9b, before 485e1b741eb838cbe1d6b0e81e5ab62ae6c095cf
affected from f043bfc98c193c284e2cd768fefabe18ac2fed9b, before fe7f7ac8e0c708446ff017453add769ffc15deed
affected 99de0781e0de7c866f762b931351c2a501c3074f
affected 8d675aa967d3927ac100f7af48f2a2af8a041d2d
affected f4cf5d75416ae3d79e03179fe6f4b9f1231ae42c
affected 439f76690d7d5dd212ea7bebc1f2fa077e3d645d
affected 2929cb995378205bceda86d6fd3cbc22e522f97f
affected 57265cddde308292af881ce634a5378dd4e25900
affected 984154e7eef1f9e543dabd7422cfc99015778732
affected from 3.2.95, before 3.3
affected from 3.16.50, before 3.17
affected from 3.18.76, before 3.19
affected from 4.1.46, before 4.2
affected from 4.4.93, before 4.5
affected from 4.9.57, before 4.10
affected from 4.13.8, before 4.14
Other versions: unaffected
Linux
affected 4.14
unaffected before 4.14
unaffected from 5.4.295 up to and including 5.4.*
unaffected from 5.10.239 up to and including 5.10.*
unaffected from 5.15.186 up to and including 5.15.*
unaffected from 6.1.142 up to and including 6.1.*
unaffected from 6.6.94 up to and including 6.6.*
unaffected from 6.12.34 up to and including 6.12.*
unaffected from 6.15.3 up to and including 6.15.*
unaffected 6.16 and later
Other versions: affected

Is my server affected?

This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:

uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2025-38103 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2025-38103

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2025-38103
trivy image --scanners vuln IMAGE | grep CVE-2025-38103

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Other references

Source: the record CVE-2025-38103 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.