Out-of-bounds read in Linux kernel - CVE-2026-31742

 

Out-of-bounds read in Linux kernel - CVE-2026-31742

Published: May 2, 2026


Vulnerability identifier: #VU128961
CSH Severity: Low
CVSS v4: 6.8 [CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2026-31742
CWE-ID: CWE-125
Exploitation vector: Local access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a local user to cause a denial of service.

The vulnerability exists due to an out-of-bounds read in the virtual terminal unicode screen buffer handling when leaving the alternate screen after a console resize. A local user can trigger alternate screen transitions and resize the console to cause a kernel oops.

The issue occurs when a stale saved unicode buffer is restored after the console dimensions have changed, causing buffer iteration to use mismatched row and column dimensions.


Affected software

Linux kernel

How to mitigate CVE-2026-31742

Install security update from vendor's repository.

Linux kernel - update to 7.0 rc3

External References

Related Security Bulletins