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-31712

8.3 · HIGH
Published May 1, 2026 linux CWE-787 EPSS 0.32% (24th pctl)

Overview

CVE-2026-31712 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 8.3 (HIGH).

This vulnerability has a CVSS 3.1 base score of 8.3, rated HIGH. It can be exploited remotely over the network. Some level of privileges is required for exploitation.

Technical Description

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

ksmbd: require minimum ACE size in smb_check_perm_dacl()

Both ACE-walk loops in smb_check_perm_dacl() only guard against an

under-sized remaining buffer, not against an ACE whose declared

`ace->size` is smaller than the struct it claims to describe:

if (offsetof(struct smb_ace, access_req) > aces_size)

break;

ace_size = le16_to_cpu(ace->size);

if (ace_size > aces_size)

break;

The first check only requires the 4-byte ACE header to be in bounds;

it does not require access_req (4 bytes at offset 4) to be readable.

An attacker who has set a crafted DACL on a file they own can declare

ace->size == 4 with aces_size == 4, pass both checks, and then

granted |= le32_to_cpu(ace->access_req); /* upper loop */

compare_sids(&sid, &ace->sid); /* lower loop */

reads access_req at offset 4 (OOB by up to 4 bytes) and ace->sid at

offset 8 (OOB by up to CIFS_SID_BASE_SIZE

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 >= 5.15, < 6.12.84 Affected

Frequently Asked Questions

What is CVE-2026-31712?

CVE-2026-31712 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 8.3 (HIGH).

How severe is CVE-2026-31712?

This vulnerability has a CVSS 3.1 base score of 8.3, rated HIGH. It can be exploited remotely over the network. Some level of privileges is required for exploitation.

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

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-31712?

CyberStrike's AI-powered security agents can automatically detect CVE-2026-31712 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.