PatchaPalooza

CVE-2026-31718: ksmbd: fix use-after-free in __ksmbd_close_fd() via durable scavenger

CVE-2026-31718 is a vulnerability in ksmbd: fix use-after-free in __ksmbd_close_fd() via durable scavenger, rated Critical by Microsoft, with a CVSS 3.1 base score of 9.8 (Critical). An attacker can exploit it remotely over the network, without any privileges and without user interaction. Microsoft has not reported exploitation in the wild. The EPSS model estimates a 0.65% probability of exploitation activity in the next 30 days, higher than 46% of all scored vulnerabilities. Microsoft published it on 7 May 2026, outside Patch Tuesday. It affects 1 product in 1 product family (Open Source Software).

Key facts

CVE ID
CVE-2026-31718
Severity
Critical CVSS 9.8
Microsoft severity
Critical
Exploited in the wild
No
Publicly disclosed
No
Weakness
CWE-416
EPSS
0.65% (percentile 46%)
CISA KEV
Not listed
Released
Last updated
Patch Tuesday
May 2026 Patch Tuesday
Product families
Open Source Software

CVSS score and vector

Microsoft scores CVE-2026-31718 at 9.8 (temporal 9.8) using CVSS 3.1. Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

MetricValue
Attack vectorNetwork
Attack complexityLow
Privileges requiredNone
User interactionNone
ScopeUnchanged
Confidentiality impactHigh
Integrity impactHigh
Availability impactHigh

Affected products (1)

Open Source Software

ProductSecurity updateTypeFixed buildRestart
azl3 kernel 6.6.137.1-2 on Azure Linux 3.0

NIST NVD data

NVD status
Modified
NVD CVSS
9.8 (CRITICAL)
NVD weakness
CWE-416
Published to NVD
NVD last modified

Affected configurations (CPE)

ProductVulnerable versions
linux kernelfrom 6.6.32, before 6.7
linux kernelfrom 6.9, before 6.12.84
linux kernelfrom 6.13, before 6.18.25
linux kernelfrom 6.19, before 7.0.2
linux kernel 7.1all listed versions

References

Revision history

VersionDateDescription
1.0Information published.
2.0Information published.
3.0Information published.

Sources