AZL-116323: CVE-2026-135107 affecting package samba 4.18.3-2
An uncontrolled memory allocation flaw has been found in the smbdsmb2ioctlpipewritedone() function in source3/smbd/smb2ioctlnamedpipe.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.
Affected Software
Event History
Frequently Asked Questions
Who can exploit this issue?
A low-privileged network attacker or user who can open an SMB named pipe can trigger the excessive allocation. Exploitation does not require elevated privileges, but it requires access to the affected Samba file service and the ability to open a named pipe.
What is the likely impact of exploitation?
An attacker can request an excessively large named-pipe response, causing the server to reserve memory until the request completes. Repeating requests across multiple connections can exhaust system memory and leave the Samba file service unavailable while the requests remain active.
What condition makes a system vulnerable?
The affected SMB2 named-pipe ioctl handling reserves response memory based on a client-selected size without restricting it to the maximum already negotiated between client and server. Systems are exposed when Samba serves SMB clients that can access named pipes.
How can I tell whether an attack may be underway?
Look for sustained or repeated SMB named-pipe requests that cause unusually large memory allocations, increasing memory consumption, or degradation of the Samba file service. The allocation is held for the duration of each request, so concurrent long-running requests are particularly relevant.