CVE-2026-135107: Samba: smb2 pipe transceive allocates maxoutputresponse before the read
CVE-2026-135107 affects 250 listed versions of Samba in the Dawnsentry catalogue.
Affected products and versions
The versions in the Dawnsentry catalogue this CVE affects, judged from the vendor's own advisory where there is one, otherwise from the CVE record and NVD, as each version's own page says.
Samba
250 of 250 listed versions are affected. No fixed release is named. The newest release, 4.25.1, is affected too.
4.25.1 4.25.0 4.24.8 4.24.7 4.24.6 4.24.5 4.24.4 4.24.3 4.24.2 4.24.1 4.24.0 4.23.13 4.23.12 4.23.11 4.23.10 4.23.9 4.23.8 4.23.7 4.23.6 4.23.5 4.23.4 4.23.3 4.23.2 4.23.1 4.23.0 4.22.11 4.22.10 4.22.9 4.22.8 4.22.7 4.22.6 4.22.5 4.22.4 4.22.3 4.22.2 4.22.1 4.22.0 4.21.10 4.21.9 4.21.8 4.21.7 4.21.6 4.21.5 4.21.4 4.21.3 4.21.2 4.21.1 4.21.0 4.20.8 4.20.7 4.20.6 4.20.5 4.20.4 4.20.3 4.20.2 4.20.1 4.20.0 4.19.9 4.19.8 4.19.7 and 190 more
What it is
An **uncontrolled memory allocation** flaw has been found in the smbd_smb2_ioctl_pipe_write_done() function in source3/smbd/smb2_ioctl_named_pipe.c of the SMB2 named-pipe ioctl handling in the **Samba** package. The file server reserves memory for a named-pipe response using a size chosen by the client. It does not keep that size within the maximum the client and the server have already agreed. A low-privileged network attacker or user who can open a named pipe can request a very large response. The file server reserves that memory before it reads the pipe and holds it until the request ends. Repeating this on more connections can exhaust memory and keep the file service unavailable while those requests continue.
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H (Red Hat)
Published by Red Hat on 26 November 2026. Last changed 1 December 2026.
Sources
Check one version you run: look CVE-2026-135107 up, or pick a product and version in the quick lookup.
Updated 2 December 2026.