freenode

← CVE tracker

CVE-2026-135107

Samba: smb2 pipe transceive allocates maxoutputresponse before the read

Severity
medium CVSS 6.5 (v3.1)
Affects
Samba
Weakness
CWE-789: Memory Allocation with Excessive Size Value
Published
26 November 2026 by redhat
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.

Our coverage

We have not written about this one. Know why it matters? Send a tip.