CVE-2026-99275
smb: client: reject short SESSION_SETUP responses
Check your servers for CVE-2026-99275
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-99275 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
Description
In the Linux kernel, the following vulnerability has been resolved:
smb: client: reject short SESSION_SETUP responses
smb2_check_message() accepts frames shorter than struct smb2_pdu when the SMB2 status is non-zero, before the minimum-PDU check added by b4694f269e66d. A 64-byte STATUS_MORE_PROCESSING_REQUIRED SESSION_SETUP response is therefore accepted even though it cannot contain the SecurityBufferOffset and SecurityBufferLength fields.
The parser then reads those fields from stale bytes left in the reused receive buffer by an earlier frame. With a long stale SecurityBufferLength, decode_ntlmssp_challenge() copies up to about 64 KB from beyond the receive object and sends the data back to the server in the NTLMv2 AUTHENTICATE target info.
Reject short MPR SESSION_SETUP responses before the short-error path, and validate SecurityBufferOffset + SecurityBufferLength against the received response length before decoding the challenge.
The ordering bypass is not new: the short-error early return predates b4694f269e66d, and the unvalidated SecurityBufferLength read predates the 2016 raw NTLMSSP split in 166cea4dc3a4, so all supported stable trees are affected. Reproduced on 6.6.87.2; the path is unchanged on mainline.
Exploitation
EPSS 0.21%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 11.5% of all scored CVEs. Scores of 1 Dec 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 5478f9ba9a34d660eb3227dcd16314689c51f946, before 136128f84f13849b732ffabf24c5ee891a2033d4 affected from 5478f9ba9a34d660eb3227dcd16314689c51f946, before 9a0b6567936c3f8fef34c4f4a995f0a1473af7d0 affected from 5478f9ba9a34d660eb3227dcd16314689c51f946, before df63e01933886153e40706483b9635b2456ad91f affected from 5478f9ba9a34d660eb3227dcd16314689c51f946, before 4d8930afa3446041358a7db33e7b23a0bb9459b5
Other versions: unaffected
|
| Linux |
affected 3.6 unaffected before 3.6 unaffected from 6.12.118 up to and including 6.12.* unaffected from 6.18.64 up to and including 6.18.* unaffected from 7.3.2 up to and including 7.3.* unaffected 7.4-rc1 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2026-99275 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-99275
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2026-99275
trivy image --scanners vuln IMAGE | grep CVE-2026-99275
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/136128f84f13849b732ffabf24c5ee891a2033d4 git.kernel.org
- https://git.kernel.org/stable/c/9a0b6567936c3f8fef34c4f4a995f0a1473af7d0 git.kernel.org
- https://git.kernel.org/stable/c/df63e01933886153e40706483b9635b2456ad91f git.kernel.org
- https://git.kernel.org/stable/c/4d8930afa3446041358a7db33e7b23a0bb9459b5 git.kernel.org
- https://github.com/suruurism/cve-writeups-and-pocs/blob/main/CVE-2026-99275/CVE-2026-99275.md github.com
Source: the record CVE-2026-99275 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse