Skip to main content

Over 150 LLM Providers · Over 5,300 Models The most extensible AI-powered pentesting platform. Open source. Star on GitHub

CVE-2026-31742

7.8 · HIGH
Published May 1, 2026 linux CWE-125 EPSS 0.13% (3th pctl)

Overview

CVE-2026-31742 is a high-severity vulnerability affecting linux linux_kernel. It was published on May 1, 2026 and has a CVSS 3.1 base score of 7.8 (HIGH).

This vulnerability has a CVSS 3.1 base score of 7.8, rated HIGH. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

Technical Description

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

vt: discard stale unicode buffer on alt screen exit after resize

When enter_alt_screen() saves vc_uni_lines into vc_saved_uni_lines and

sets vc_uni_lines to NULL, a subsequent console resize via vc_do_resize()

skips reallocating the unicode buffer because vc_uni_lines is NULL.

However, vc_saved_uni_lines still points to the old buffer allocated for

the original dimensions.

When leave_alt_screen() later restores vc_saved_uni_lines, the buffer

dimensions no longer match vc_rows/vc_cols. Any operation that iterates

over the unicode buffer using the current dimensions (e.g. csi_J clearing

the screen) will access memory out of bounds, causing a kernel oops:

BUG: unable to handle page fault for address: 0x0000002000000020

RIP: 0010:csi_J+0x133/0x2d0

The faulting address 0x0000002000000020 is two adjacent u32 space

characters (0x20) interpreted as a pointer, read from the row data area

past the end of the 25-entry po

Remediation

Check the references section for vendor advisories and patches from linux. Update linux_kernel to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Affected Products

Vendor Product Versions Status
linux linux_kernel >= 6.18.20, < 6.18.22 Affected

Frequently Asked Questions

What is CVE-2026-31742?

CVE-2026-31742 is a high-severity vulnerability affecting linux linux_kernel. It was published on May 1, 2026 and has a CVSS 3.1 base score of 7.8 (HIGH).

How severe is CVE-2026-31742?

This vulnerability has a CVSS 3.1 base score of 7.8, rated HIGH. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

How do I fix or remediate CVE-2026-31742?

Check the references section for vendor advisories and patches from linux. Update linux_kernel to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2026-31742?

CyberStrike's AI-powered security agents can automatically detect CVE-2026-31742 across your infrastructure using autonomous pentesting, DAST scanning, and HackBrowser. The platform continuously monitors for known vulnerabilities and provides actionable remediation guidance prioritized by real-world exploitability.