7.8

CVE-2026-31401: HID: bpf: prevent buffer overflow in hid_hw_request

Modified
AliasesUBUNTU-CVE-2026-31401DEBIAN-CVE-2026-31401
Published 03-04-2026Last modified 19-10-2026

Vulnerability summary

CVE-2026-31401 is a high (CVSS 7.8) Out-of-bounds Write vulnerability in linux. EPSS estimates a 0.14% chance of exploitation in the next 30 days, higher than 3.1% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 7.8, local access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
7.8/10
010
High · v3.1 (CVE.org)
EPSS score
0.14%
0%100%
Low · -0.05 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 5 · Related 5

Timeline

  1. 03-04-2026
    PublishedVulnerability first disclosed.
  2. 19-10-2026
    Last modifiedVulnerability information updated.

Description

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.

CVSS metrics

5 scores · 4 sources · 2 versions

EPSS trend

Probability

0.14%

Chance of exploitation in the next 30 days

Percentile

3%

Versus all other CVEs

30-day change

Decrease -0.05 pp

From 0.19% on 04-10-2026

04-10-202603-11-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: local access, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.

Ubuntu107 products
  • linuxAll versions (No fix recorded)
  • linux-allwinner-5.19All versions (No fix recorded)
  • linux-awsAll versions (No fix recorded)
  • linux-aws-5.0All versions (No fix recorded)
  • linux-aws-5.11All versions (No fix recorded)
Linux2 products
  • linux≥ 8bd0488b5ea58655ad6fdcbe0408ef49b16882b1, < d6efaa50af62fb0790dd1fd4e7e5506b46312510 | ≥ 8bd0488b5ea58655ad6fdcbe0408ef49b16882b1, < 73c5b5aea1c443239c8cb4191b4af7a4bd6fd7b1 | ≥ 8bd0488b5ea58655ad6fdcbe0408ef49b16882b1, < eb57dae20fdf6f3069cdc07821fa3bb46de381d7 | ≥ 8bd0488b5ea58655ad6fdcbe0408ef49b16882b1, < 2b658c1c442ec1cd9eec5ead98d68662c40fe645 | 6.11
  • linux_kernel≥ 6.11, < 6.12.78 | ≥ 6.13, < 6.18.20 | ≥ 6.19, < 6.19.10 | 7.0:rc1 | 7.0:rc2 | 7.0:rc3 | 7.0:rc4
Debian1 product
  • linux< 6.12.85-1 | < 6.19.10-1

3 vendors · 110 products

References

8 links