Heap-based buffer overflow in Linux kernel - CVE-2026-64565

 

Heap-based buffer overflow in Linux kernel - CVE-2026-64565

Published: August 4, 2026


Vulnerability identifier: #VU140939
CSH Severity: Medium
CVSS v4: 7 [CVSS:4.0/AV:P/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2026-64565
CWE-ID: CWE-122
Exploitation vector: Local access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows an attacker with physical access to execute arbitrary code.

The vulnerability exists due to a heap-based buffer overflow in ims_pcu_handle_response() when processing oversized packets from a malicious USB device. An attacker with physical access can send a specially crafted oversized USB packet to execute arbitrary code.

The issue arises because ims_pcu_process_data() does not properly bound-check read_pos, allowing it to be overwritten and later used as a controlled index during response handling.


Affected software

Linux kernel

How to mitigate CVE-2026-64565

Install security update from vendor's repository.

Linux kernel - update to 7.0 rc3

External References

Related Security Bulletins