CVE Explore

Buffer overflow in Linux

CVE-2026-31401

CVSS v3
7.8 High
Public exploits
None known
EPSS
0.001 · 3.4th percentile
Published
2026-04-03

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

HID: bpf: prevent buffer overflow in hid_hw_request

right now the returned value is considered to be always valid. However,
when playing with HID-BPF, the return value can be arbitrary big,
because it's the return value of dispatch_hid_bpf_raw_requests(), which
calls the struct_ops and we have no guarantees that the value makes
sense.

Vulnerability class: Buffer Overflow

Published · last modified .

CVSS v3 metric

CVSS v3 base score 7.8 (High). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.

Attack Vector
Local AV:L
Attack Complexity
Low AC:L
Privileges Required
Low PR:L
User Interaction
None UI:N
Scope
Unchanged S:U
Confidentiality
High C:H
Integrity
High I:H
Availability
High A:H

EPSS exploit prediction

EPSS 0.001, 3.4th percentile (last changed ); unchanged over 30 days. About EPSS.

Affected products

  • Linux — versions 8bd0488b5ea58655ad6fdcbe0408ef49b16882b1, 6.11, 0
  • Linux Kernel — versions 7.0

Weakness classification (CWE)

References