CVE-2026-135107 — Samba
Summary
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.
Severity breakdown
Medium · 6.5
An attacker with a normal user account can exploit this over the network, without any user action.
- Attack from
- the network (remotely)
- Attack complexity
- low (no special conditions)
- Login needed
- yes, a normal user account
- User action needed
- no
- Scope
- stays within the vulnerable component
- Impact
- high on availability, none on confidentiality and integrity
Weakness
- CWE-789: Memory Allocation with Excessive Size Value
Affected and fixed versions
| Product | Affected versions | Fixed in |
|---|---|---|
| Samba | ≥ 3.5.0 | — |
References by type
Other references
Affected
- Samba
- Red Hat Enterprise Linux 10
- Red Hat Enterprise Linux 6
- Red Hat Enterprise Linux 7
- Red Hat Enterprise Linux 8
What to do
- Follow the vendor advisory and the references below for fixed versions and workarounds.
Frequently asked questions
What is CVE-2026-135107?
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. Weakness type: Memory Allocation with Excessive Size Value (CWE-789).
How severe is CVE-2026-135107?
CVE-2026-135107 has a CVSS 3.1 base score of 6.5 (medium), from the CNA (redhat.com). An attacker with a normal user account can exploit this over the network, without any user action.
Is CVE-2026-135107 being exploited?
Not as far as is known: CVE-2026-135107 is not in CISA's Known Exploited Vulnerabilities catalog as of November 29, 2026. EPSS estimates a 0.8% chance that it is exploited in the next 30 days.
Which versions are affected by CVE-2026-135107?
Samba ≥ 3.5.0.
How do I fix CVE-2026-135107?
Follow the advisories and patches linked on this page under References for fixed versions and workarounds.
Timeline & sources
References
Related vulnerabilities & news
- Debian Issues Rails Security Update Covering 18 CVEs
- Debian Issues DSA-6668-1 Covering 16 CVEs in the Symfony PHP Framework
- CVE-2026-137941 — Red Hat Enterprise Linux 6
- Privilege Escalation Vulnerability in tuned Affects Local Users
- 12-Year-Old Linux Kernel NFS Flaw Allows Unauthenticated Root Takeover