Skip to content
DayZeroHub
Medium Not yet writtenCVSS 6.5CVE-2026-135107

CVE-2026-135107: Samba: samba: smb2 pipe transceive allocates maxoutputresponse before the read

Samba Samba

Preliminary notice: published right away from the original source data, without editorial write-up. It will shortly be replaced by a written and reviewed version.

Summary

CVE-2026-135107: medium-severity vulnerability (CVSS 6.5) in Samba Samba.

What happened

Original description from the source: 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.

Why it matters

Medium severity, CVSS 6.5.

Affected products and versions

Samba Samba 3.5.0; Red Hat Red Hat Enterprise Linux 10; Red Hat Red Hat Enterprise Linux 6; Red Hat Red Hat Enterprise Linux 7; Red Hat Red Hat Enterprise Linux 8; Red Hat Red Hat Enterprise Linux 9; Red Hat Red Hat OpenShift Container Platform 4; Red Hat Red Hat OpenShift Container Platform 5

ProductVersionsFixed in
Samba Samba3.5.0—
Red Hat Red Hat Enterprise Linux 10——
Red Hat Red Hat Enterprise Linux 6——
Red Hat Red Hat Enterprise Linux 6——
Red Hat Red Hat Enterprise Linux 7——
Red Hat Red Hat Enterprise Linux 8——
Red Hat Red Hat Enterprise Linux 9——
Red Hat Red Hat OpenShift Container Platform 4——
Red Hat Red Hat OpenShift Container Platform 4——
Red Hat Red Hat OpenShift Container Platform 5——
Red Hat Red Hat OpenShift Container Platform 5——

Action recommended by the source

See the official references for the fix or mitigation.

Information taken from the source or the vendor. Verify it at the original link before acting.

Sources and references

Weaknesses (CWE): CWE-789

Relevant change history

  1. Published

    Preliminary advisory published.