CVE-2026-64367CWE-787

CVE-2026-64367

High · published July 25, 2026

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

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

HID: hid-goodix-spi: validate report size to prevent stack buffer overflow

goodix_hid_set_raw_report() builds a protocol frame in a 128-byte stack

buffer (tmp_buf), writing an 11-12 byte header followed by the

caller-supplied report data. The HID core caps report size at

HID_MAX_BUFFER_SIZE (16384) by default, while the driver does not set

hid_ll_driver.max_buffer_size and performs no bounds checking before

copying the payload:

memcpy(tmp_buf + tx_len, buf, len);

A hidraw SET_REPORT ioctl with a report larger than ~116 bytes

overflows the stack buffer.

Add a size check after constructing the header, rejecting reports that

would exceed the buffer capacity.

Discovered by Atuin - Automated Vulnerability Discovery Engine.

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.00142 · 3.2th percentile
Weakness
CWE-787 · Out-of-bounds Write
Published
2026-07-25T14:17Z
Affected products (3)
ProductVersionsFixed in
linux/linux_kernel≥ 6.12, < 6.12.966.12.96
linux/linux_kernel≥ 6.13, < 6.18.396.18.39
linux/linux_kernel≥ 6.19, < 7.1.47.1.4
References (4)
EPSS history
Timeline
  • 25 JUL 08:50Z
    HID: hid-goodix-spi: validate report size to prevent stack buffer overflow
    cvelistv5