CVE-2026-31401CWE-120CWE-787

CVE-2026-31401

High · published April 3, 2026

CVSS v3.1
7.8
EPSS
0%
Percentile
8.1
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
7.8 · HIGH
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00189 · 8.1th percentile
Weaknesses
CWE-120 · Buffer Copy without Checking Size of Input ('Classic Buffer Overflow'); CWE-787 · Out-of-bounds Write
Published
2026-04-03T20:16Z
Affected products (7)
ProductVersionsFixed in
linux/linux_kernel≥ 6.11, < 6.12.786.12.78
linux/linux_kernel≥ 6.13, < 6.18.206.18.20
linux/linux_kernel≥ 6.19, < 6.19.106.19.10
linux/linux_kernelall versions—
linux/linux_kernelall versions—
linux/linux_kernelall versions—
linux/linux_kernelall versions—
References (4)
EPSS history
Timeline
  • 03 APR 15:16Z
    HID: bpf: prevent buffer overflow in hid_hw_request
    cvelistv5