Exploited now
Vulnerability WatchVulnerabilities, exploits & advisories — updated every 15 minutes
Alerts

Home › CVE › Linux

CVE-2026-135107 — Samba

Medium · CVSS 6.5EPSS 0.8% First seen November 26, 2026
LinuxOperating systemsVulnerabilities

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.

Description: NIST National Vulnerability Database (public domain)

Severity breakdown

Medium · 6.5 CVSS 3.1 base score from the CNA (redhat.com)

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

Vector CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Weakness

  • CWE-789: Memory Allocation with Excessive Size Value

Affected and fixed versions

ProductAffected versionsFixed in
Samba≥ 3.5.0—

From the vendor's CVE record; confirm with the vendor advisory before relying on a version number.

References by type

Other references

Details from NVD (public domain).

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