Menu

Star on GitHub · 3.2k

CVE-2026-31706

8.8 · HIGH

In the Linux kernel, the following vulnerability has been resolved: ksmbd: validate num_aces and harden ACE walk in smb_inherit_dacl() smb_inherit_dacl() trusts the on-disk num_aces value from th…

Published May 1, 2026EPSS 0.63%

Overview

CVE-2026-31706 is a high-severity vulnerability. It was published on May 1, 2026 and has a CVSS 3.1 base score of 8.8 (HIGH).

This vulnerability has a CVSS 3.1 base score of 8.8, 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: validate num_aces and harden ACE walk in smb_inherit_dacl()

smb_inherit_dacl() trusts the on-disk num_aces value from the parent

directory's DACL xattr and uses it to size a heap allocation:

aces_base = kmalloc(sizeof(struct smb_ace) * num_aces * 2, ...);

num_aces is a u16 read from le16_to_cpu(parent_pdacl->num_aces)

without checking that it is consistent with the declared pdacl_size.

An authenticated client whose parent directory's security.NTACL is

tampered (e.g. via offline xattr corruption or a concurrent path that

bypasses parse_dacl()) can present num_aces = 65535 with minimal

actual ACE data. This causes a ~8 MB allocation (not kzalloc, so

uninitialized) that the subsequent loop only partially populates, and

may also overflow the three-way size_t multiply on 32-bit kernels.

Additionally, the ACE walk loop uses the weaker

offsetof(struct smb_ace, access_req) minimum size check rather than

the mini

Remediation

Check the references section for vendor advisories, patches, and mitigation guidance. 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.

Frequently asked questions

What is CVE-2026-31706?

CVE-2026-31706 is a high-severity vulnerability. It was published on May 1, 2026 and has a CVSS 3.1 base score of 8.8 (HIGH).

How severe is CVE-2026-31706?

This vulnerability has a CVSS 3.1 base score of 8.8, 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-31706?

Check the references section for vendor advisories, patches, and mitigation guidance. 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-31706?

CyberStrike is an open-source, AI-augmented pentesting engine. Rather than flag a version number, it tests whether an issue like CVE-2026-31706 is actually reachable in your own applications and APIs, then verifies each finding before reporting it. That tells you if the weakness is a real, exploitable risk in your environment or a false positive you can safely deprioritize.

Related HIGH CVEs from 2026

View all