7.8
HIGH CVSS 3.1
CVE-2026-64274
Input: goodix - clamp the device-reported contact count
Description

In the Linux kernel, the following vulnerability has been resolved: Input: goodix - clamp the device-reported contact count goodix_ts_read_input_report() copies the number of touch points reported by the device into an on-stack buffer u8 point_data[2 + GOODIX_MAX_CONTACT_SIZE * GOODIX_MAX_CONTACTS]; which is sized for at most GOODIX_MAX_CONTACTS (10) contacts. The only runtime check bounds the per-interrupt count against ts->max_touch_num, but that value is taken verbatim from a 4-bit field of the device configuration block and is never clamped: ts->max_touch_num = ts->config[MAX_CONTACTS_LOC] & 0x0f; The nibble can be 0..15, so a malfunctioning, malicious or counterfeit controller (or an attacker tampering with the I2C bus) can advertise up to 15 contacts. goodix_ts_read_input_report() then accepts a touch_num of up to 15 and the second goodix_i2c_read() writes ts->contact_size * (touch_num - 1) bytes past the one-contact header into point_data - up to 30 bytes (45 with the 9-byte report format) beyond the 92-byte buffer: a stack out-of-bounds write. Clamp max_touch_num to GOODIX_MAX_CONTACTS, the number of contacts point_data[] is sized for, when reading it from the configuration.

INFO

Published Date :

July 25, 2026, 10:17 a.m.

Last Modified :

Aug. 17, 2026, 5:17 a.m.

Remotely Exploit :

No

Source :

416baaa9-dc9f-4396-8d5f-8c081fb06d67
Affected Products

The following products are affected by CVE-2026-64274 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Linux linux_kernel
CVSS Scores
The Common Vulnerability Scoring System is a standardized framework for assessing the severity of vulnerabilities in software and systems. We collect and displays CVSS scores from various sources for each CVE.
Score Version Severity Vector Exploitability Score Impact Score Source
CVSS 3.1 HIGH [email protected]
Solution
Fix stack buffer overflow by clamping the reported contact count.
  • Apply the patch to the Linux kernel.
  • Update the Linux kernel to a patched version.
  • Clamp max_touch_num to the buffer size.
  • Ensure touch_num is within bounds.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2026-64274 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2026-64274 weaknesses.

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2026-64274 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2026-64274 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67

    Aug. 17, 2026

    Action Type Old Value New Value
    Changed Affected [{'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': 'a7ac7c95d4682883d141c5d7a7544d2818f0a09f', 'lessThan': 'e825f352ef5271255cd08cc994b0dc25648a2f38', 'versionType': 'git'}, {'status': 'affected', 'version': 'a7ac7c95d4682883d141c5d7a7544d2818f0a09f', 'lessThan': '4bfea9c3a0981c1c7fc5d1a1b27197b2de247902', 'versionType': 'git'}, {'status': 'affected', 'version': 'a7ac7c95d4682883d141c5d7a7544d2818f0a09f', 'lessThan': '98b2caef249183b572c04451365246f919707845', 'versionType': 'git'}, {'status': 'affected', 'version': 'a7ac7c95d4682883d141c5d7a7544d2818f0a09f', 'lessThan': '719d1a2c83a46be6bf81af905e4f6adb3d32dc28', 'versionType': 'git'}, {'status': 'affected', 'version': 'a7ac7c95d4682883d141c5d7a7544d2818f0a09f', 'lessThan': '46addbd13dbf4aacb71cfbca964a5e552d0f45ae', 'versionType': 'git'}, {'status': 'affected', 'version': 'a7ac7c95d4682883d141c5d7a7544d2818f0a09f', 'lessThan': '3b32303460155603d25444274856013d211d5e1f', 'versionType': 'git'}, {'status': 'affected', 'version': 'a7ac7c95d4682883d141c5d7a7544d2818f0a09f', 'lessThan': '2a67668690129953e898923260a2dd1c7c196495', 'versionType': 'git'}, {'status': 'affected', 'version': 'a7ac7c95d4682883d141c5d7a7544d2818f0a09f', 'lessThan': '5ed62a96e06be4e94b8296b7932afee550a70e04', 'versionType': 'git'}], 'programFiles': ['drivers/input/touchscreen/goodix.c'], 'defaultStatus': 'unaffected'}, {'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '4.1'}, {'status': 'unaffected', 'version': '0', 'lessThan': '4.1', 'versionType': 'semver'}, {'status': 'unaffected', 'version': '5.10.261', 'versionType': 'semver', 'lessThanOrEqual': '5.10.*'}, {'status': 'unaffected', 'version': '5.15.212', 'versionType': 'semver', 'lessThanOrEqual': '5.15.*'}, {'status': 'unaffected', 'version': '6.1.178', 'versionType': 'semver', 'lessThanOrEqual': '6.1.*'}, {'status': 'unaffected', 'version': '6.6.145', 'versionType': 'semver', 'lessThanOrEqual': '6.6.*'}, {'status': 'unaffected', 'version': '6.12.96', 'versionType': 'semver', 'lessThanOrEqual': '6.12.*'}, {'status': 'unaffected', 'version': '6.18.39', 'versionType': 'semver', 'lessThanOrEqual': '6.18.*'}, {'status': 'unaffected', 'version': '7.1.4', 'versionType': 'semver', 'lessThanOrEqual': '7.1.*'}, {'status': 'unaffected', 'version': '7.2-rc1', 'versionType': 'original_commit_for_fix', 'lessThanOrEqual': '*'}], 'programFiles': ['drivers/input/touchscreen/goodix.c'], 'defaultStatus': 'affected'}] [{'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': 'a7ac7c95d4682883d141c5d7a7544d2818f0a09f', 'lessThan': 'e825f352ef5271255cd08cc994b0dc25648a2f38', 'versionType': 'git'}, {'status': 'affected', 'version': 'a7ac7c95d4682883d141c5d7a7544d2818f0a09f', 'lessThan': '4bfea9c3a0981c1c7fc5d1a1b27197b2de247902', 'versionType': 'git'}, {'status': 'affected', 'version': 'a7ac7c95d4682883d141c5d7a7544d2818f0a09f', 'lessThan': '98b2caef249183b572c04451365246f919707845', 'versionType': 'git'}, {'status': 'affected', 'version': 'a7ac7c95d4682883d141c5d7a7544d2818f0a09f', 'lessThan': '719d1a2c83a46be6bf81af905e4f6adb3d32dc28', 'versionType': 'git'}, {'status': 'affected', 'version': 'a7ac7c95d4682883d141c5d7a7544d2818f0a09f', 'lessThan': '46addbd13dbf4aacb71cfbca964a5e552d0f45ae', 'versionType': 'git'}, {'status': 'affected', 'version': 'a7ac7c95d4682883d141c5d7a7544d2818f0a09f', 'lessThan': '3b32303460155603d25444274856013d211d5e1f', 'versionType': 'git'}, {'status': 'affected', 'version': 'a7ac7c95d4682883d141c5d7a7544d2818f0a09f', 'lessThan': '2a67668690129953e898923260a2dd1c7c196495', 'versionType': 'git'}, {'status': 'affected', 'version': 'a7ac7c95d4682883d141c5d7a7544d2818f0a09f', 'lessThan': '5ed62a96e06be4e94b8296b7932afee550a70e04', 'versionType': 'git'}], 'programFiles': ['drivers/input/touchscreen/goodix.c'], 'defaultStatus': 'unaffected'}, {'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '4.1'}, {'status': 'unaffected', 'version': '0', 'lessThan': '4.1', 'versionType': 'semver'}, {'status': 'unaffected', 'version': '5.10.261', 'versionType': 'semver', 'lessThanOrEqual': '5.10.*'}, {'status': 'unaffected', 'version': '5.15.212', 'versionType': 'semver', 'lessThanOrEqual': '5.15.*'}, {'status': 'unaffected', 'version': '6.1.178', 'versionType': 'semver', 'lessThanOrEqual': '6.1.*'}, {'status': 'unaffected', 'version': '6.6.145', 'versionType': 'semver', 'lessThanOrEqual': '6.6.*'}, {'status': 'unaffected', 'version': '6.12.96', 'versionType': 'semver', 'lessThanOrEqual': '6.12.*'}, {'status': 'unaffected', 'version': '6.18.39', 'versionType': 'semver', 'lessThanOrEqual': '6.18.*'}, {'status': 'unaffected', 'version': '7.1.4', 'versionType': 'semver', 'lessThanOrEqual': '7.1.*'}, {'status': 'unaffected', 'version': '7.2', 'versionType': 'original_commit_for_fix', 'lessThanOrEqual': '*'}], 'programFiles': ['drivers/input/touchscreen/goodix.c'], 'defaultStatus': 'affected'}]
  • Initial Analysis by [email protected]

    Aug. 13, 2026

    Action Type Old Value New Value
    Added CVSS V3.1 AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
    Added CWE CWE-787
    Added CPE Configuration OR *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.11 up to (excluding) 5.15.212 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.16 up to (excluding) 6.1.178 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.2 up to (excluding) 6.6.145 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.7 up to (excluding) 6.12.96 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.13 up to (excluding) 6.18.39 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.19 up to (excluding) 7.1.4 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 4.1 up to (excluding) 5.10.261
    Added Reference Type kernel.org: https://git.kernel.org/stable/c/2a67668690129953e898923260a2dd1c7c196495 Types: Patch
    Added Reference Type kernel.org: https://git.kernel.org/stable/c/3b32303460155603d25444274856013d211d5e1f Types: Patch
    Added Reference Type kernel.org: https://git.kernel.org/stable/c/46addbd13dbf4aacb71cfbca964a5e552d0f45ae Types: Patch
    Added Reference Type kernel.org: https://git.kernel.org/stable/c/4bfea9c3a0981c1c7fc5d1a1b27197b2de247902 Types: Patch
    Added Reference Type kernel.org: https://git.kernel.org/stable/c/5ed62a96e06be4e94b8296b7932afee550a70e04 Types: Patch
    Added Reference Type kernel.org: https://git.kernel.org/stable/c/719d1a2c83a46be6bf81af905e4f6adb3d32dc28 Types: Patch
    Added Reference Type kernel.org: https://git.kernel.org/stable/c/98b2caef249183b572c04451365246f919707845 Types: Patch
    Added Reference Type kernel.org: https://git.kernel.org/stable/c/e825f352ef5271255cd08cc994b0dc25648a2f38 Types: Patch
  • New CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67

    Jul. 25, 2026

    Action Type Old Value New Value
    Added Affected [{'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': 'a7ac7c95d4682883d141c5d7a7544d2818f0a09f', 'lessThan': 'e825f352ef5271255cd08cc994b0dc25648a2f38', 'versionType': 'git'}, {'status': 'affected', 'version': 'a7ac7c95d4682883d141c5d7a7544d2818f0a09f', 'lessThan': '4bfea9c3a0981c1c7fc5d1a1b27197b2de247902', 'versionType': 'git'}, {'status': 'affected', 'version': 'a7ac7c95d4682883d141c5d7a7544d2818f0a09f', 'lessThan': '98b2caef249183b572c04451365246f919707845', 'versionType': 'git'}, {'status': 'affected', 'version': 'a7ac7c95d4682883d141c5d7a7544d2818f0a09f', 'lessThan': '719d1a2c83a46be6bf81af905e4f6adb3d32dc28', 'versionType': 'git'}, {'status': 'affected', 'version': 'a7ac7c95d4682883d141c5d7a7544d2818f0a09f', 'lessThan': '46addbd13dbf4aacb71cfbca964a5e552d0f45ae', 'versionType': 'git'}, {'status': 'affected', 'version': 'a7ac7c95d4682883d141c5d7a7544d2818f0a09f', 'lessThan': '3b32303460155603d25444274856013d211d5e1f', 'versionType': 'git'}, {'status': 'affected', 'version': 'a7ac7c95d4682883d141c5d7a7544d2818f0a09f', 'lessThan': '2a67668690129953e898923260a2dd1c7c196495', 'versionType': 'git'}, {'status': 'affected', 'version': 'a7ac7c95d4682883d141c5d7a7544d2818f0a09f', 'lessThan': '5ed62a96e06be4e94b8296b7932afee550a70e04', 'versionType': 'git'}], 'programFiles': ['drivers/input/touchscreen/goodix.c'], 'defaultStatus': 'unaffected'}, {'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '4.1'}, {'status': 'unaffected', 'version': '0', 'lessThan': '4.1', 'versionType': 'semver'}, {'status': 'unaffected', 'version': '5.10.261', 'versionType': 'semver', 'lessThanOrEqual': '5.10.*'}, {'status': 'unaffected', 'version': '5.15.212', 'versionType': 'semver', 'lessThanOrEqual': '5.15.*'}, {'status': 'unaffected', 'version': '6.1.178', 'versionType': 'semver', 'lessThanOrEqual': '6.1.*'}, {'status': 'unaffected', 'version': '6.6.145', 'versionType': 'semver', 'lessThanOrEqual': '6.6.*'}, {'status': 'unaffected', 'version': '6.12.96', 'versionType': 'semver', 'lessThanOrEqual': '6.12.*'}, {'status': 'unaffected', 'version': '6.18.39', 'versionType': 'semver', 'lessThanOrEqual': '6.18.*'}, {'status': 'unaffected', 'version': '7.1.4', 'versionType': 'semver', 'lessThanOrEqual': '7.1.*'}, {'status': 'unaffected', 'version': '7.2-rc1', 'versionType': 'original_commit_for_fix', 'lessThanOrEqual': '*'}], 'programFiles': ['drivers/input/touchscreen/goodix.c'], 'defaultStatus': 'affected'}]
    Added Description In the Linux kernel, the following vulnerability has been resolved: Input: goodix - clamp the device-reported contact count goodix_ts_read_input_report() copies the number of touch points reported by the device into an on-stack buffer u8 point_data[2 + GOODIX_MAX_CONTACT_SIZE * GOODIX_MAX_CONTACTS]; which is sized for at most GOODIX_MAX_CONTACTS (10) contacts. The only runtime check bounds the per-interrupt count against ts->max_touch_num, but that value is taken verbatim from a 4-bit field of the device configuration block and is never clamped: ts->max_touch_num = ts->config[MAX_CONTACTS_LOC] & 0x0f; The nibble can be 0..15, so a malfunctioning, malicious or counterfeit controller (or an attacker tampering with the I2C bus) can advertise up to 15 contacts. goodix_ts_read_input_report() then accepts a touch_num of up to 15 and the second goodix_i2c_read() writes ts->contact_size * (touch_num - 1) bytes past the one-contact header into point_data - up to 30 bytes (45 with the 9-byte report format) beyond the 92-byte buffer: a stack out-of-bounds write. Clamp max_touch_num to GOODIX_MAX_CONTACTS, the number of contacts point_data[] is sized for, when reading it from the configuration.
    Added Reference https://git.kernel.org/stable/c/2a67668690129953e898923260a2dd1c7c196495
    Added Reference https://git.kernel.org/stable/c/3b32303460155603d25444274856013d211d5e1f
    Added Reference https://git.kernel.org/stable/c/46addbd13dbf4aacb71cfbca964a5e552d0f45ae
    Added Reference https://git.kernel.org/stable/c/4bfea9c3a0981c1c7fc5d1a1b27197b2de247902
    Added Reference https://git.kernel.org/stable/c/5ed62a96e06be4e94b8296b7932afee550a70e04
    Added Reference https://git.kernel.org/stable/c/719d1a2c83a46be6bf81af905e4f6adb3d32dc28
    Added Reference https://git.kernel.org/stable/c/98b2caef249183b572c04451365246f919707845
    Added Reference https://git.kernel.org/stable/c/e825f352ef5271255cd08cc994b0dc25648a2f38
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.