CVE-2026-135107: 
Samba Analyse et atténuation de la vulnérabilité

Aperçu

CVE-2026-135107 is an uncontrolled memory allocation vulnerability in Samba's SMB2 named-pipe ioctl handling, specifically in the smbd_smb2_ioctl_pipe_write_done() function within source3/smbd/smb2_ioctl_named_pipe.c. The flaw allows a low-privileged authenticated network attacker to cause a denial of service by exhausting server memory. It affects Samba versions from 3.5.0 onward, as well as Red Hat products including samba, samba4, and OpenShift RHEL CoreOS variants (8, 9, 10). The vulnerability was reported on November 26, 2026, with a patch advisory published the same day. It carries a CVSS v3.1 base score of 6.5 (Medium) (Red Hat Advisory, Github Advisory).

Détails techniques

The root cause is classified as CWE-789 (Memory Allocation with Excessive Size Value). In the FSCTL_PIPE_TRANSCEIVE named-pipe code path, the server reads the client-controlled MaxOutputResponse field from the SMB2 IOCTL request body (at offset 0x2C) and uses it directly to allocate an output buffer via data_blob_talloc() before performing the pipe read — without validating the value against the negotiated per-connection transaction limit (smb2.server.max_trans). An attacker with valid SMB credentials and access to IPC$ can set MaxOutputResponse to a very large value (e.g., 0x20000000, approximately 512 MiB on SMB 2.1+) and supply sufficient CreditCharge to bypass early credit-based rejection. The proposed fix adds a bounds check rejecting requests where state->in_max_output exceeds state->smb2req->xconn->smb2.server.max_trans before the allocation occurs (Red Hat Bugzilla, Red Hat Advisory).

Impact

Successful exploitation results in a denial of service affecting the availability of the Samba file service. Each malicious connection can cause the server to reserve up to approximately 512 MiB of memory (on SMB 2.1+ with multi-credit negotiation), and repeating this across multiple concurrent connections can exhaust system memory, leading to service instability or OOM conditions. There is no confidentiality or integrity impact — the vulnerability is strictly an availability issue confined to the Samba service scope (Red Hat Advisory, Red Hat Bugzilla).

Exploitabilité

No public proof-of-concept exploit code is known to exist, and there is no evidence of in-the-wild exploitation at this time. The EPSS score is 0.0, and the vulnerability is not listed in the CISA Known Exploited Vulnerabilities catalog. Exploitation requires low-privilege authentication (valid SMB credentials and access to IPC$), making it accessible to any authenticated user in a default Samba configuration. The vulnerability was discovered by AISLE Research in partnership with Red Hat Product Security (Red Hat Advisory, Github Advisory).

Étapes d’exploitation

  1. Reconnaissance: Identify Samba file servers (version 3.5.0 or later) exposed on TCP port 445 using network scanning tools such as Nmap or Shodan. Confirm SMB2/3 is enabled.
  2. Authentication: Obtain valid low-privilege SMB credentials (any authenticated user in the default configuration suffices) and authenticate to the target server.
  3. Access IPC$: Connect to the IPC$ share and open a named pipe handle, such as \PIPE\srvsvc.
  4. Craft malicious IOCTL request: Construct an SMB2 IOCTL request with CtlCode = FSCTL_PIPE_TRANSCEIVE and set MaxOutputResponse (request body offset 0x2C) to a large value such as 0x20000000 (512 MiB). Set CreditCharge high enough to satisfy the server's SMB2 credit checks (relevant for SMB 2.1+ multi-credit negotiation).
  5. Send concurrent requests: Dispatch the crafted request simultaneously from multiple authenticated sessions or connections to amplify memory pressure on the server.
  6. Observe impact: Monitor the target server for rising smbd memory consumption, service instability, or OOM-triggered crashes, rendering the file service unavailable while the requests remain outstanding (Red Hat Bugzilla).

Indicateurs de compromis

  • Network: Unusual volume of SMB2 IOCTL requests (CtlCode = FSCTL_PIPE_TRANSCEIVE) from one or more clients to TCP port 445; multiple concurrent SMB sessions from the same or different source IPs targeting IPC$ and named pipes.
  • Process/Memory: Abnormal and rapidly increasing memory consumption by smbd processes; OOM killer events in system logs (/var/log/messages or dmesg) referencing smbd.
  • Logs: Samba logs showing repeated FSCTL_PIPE_TRANSCEIVE IOCTL requests with unusually large MaxOutputResponse values; authentication events for low-privilege accounts followed by IPC$ share access and named pipe opens.
  • System: Elevated swap usage or memory pressure alerts on the Samba server host coinciding with SMB activity spikes.

Atténuation et solutions de contournement

Red Hat has rated this vulnerability as Moderate and states there is no practical temporary workaround that fully mitigates the issue; customers are advised to apply security updates when they become available. The proposed code fix adds a bounds check in source3/smbd/smb2_ioctl_named_pipe.c to reject FSCTL_PIPE_TRANSCEIVE requests where MaxOutputResponse exceeds the negotiated smb2.server.max_trans limit before any allocation occurs. As an operational measure, administrators should restrict IPC$ and named-pipe access to only trusted, known-good authenticated users, and consider limiting SMB2 client concurrency or network access to the SMB service to reduce exposure (Red Hat Advisory, Red Hat Bugzilla).

Réactions de la communauté

Red Hat Product Security rated the vulnerability as Moderate severity and acknowledged the discovery by AISLE Research in partnership with Red Hat Product Security. Red Hat noted that no practical temporary workaround meeting their standards is available and advised customers to await security updates. No significant broader community or media commentary has been identified at this time (Red Hat Advisory).

Ressources supplémentaires

État de correction de la distribution Linux

Corrigez la disponibilité entre les grandes distributions Linux et leurs versions.

RHEL / CentOS

Affecté

OpenShift

openshift/ose-rhel-coreos-8

Affecté

RHEL 8

samba.src

Affecté

RHEL 9

samba.src

Affecté

RHEL 10

samba.src

Affecté

Source: Ce rapport a été généré à l’aide de l’IA

Connexe Samba Vulnérabilités :

CVE ID

Gravité

Partition

Technologies

Nom du composant

Exploit CISA KEV

A corrigé

Date de publication

CVE-2026-6949HIGH7.5
  • Samba logoSamba
  • samba-common-tools-debuginfo
NonOuiNov 16, 2026
CVE-2026-123613MEDIUM6.9
  • Samba logoSamba
  • aws-nitro-enclaves-cli
NonOuiNov 08, 2026
CVE-2026-135107MEDIUM6.5
  • Samba logoSamba
  • ctdb-tests
NonNonNov 26, 2026
CVE-2026-125634MEDIUM6.5
  • Samba logoSamba
  • samba
NonNonNov 25, 2026
CVE-2026-123612MEDIUM4.6
  • Samba logoSamba
  • mesa-libEGL-devel
NonOuiNov 08, 2026

Évaluation gratuite des vulnérabilités

Évaluez votre posture de sécurité cloud

Évaluez vos pratiques de sécurité cloud dans 9 domaines de sécurité afin d’évaluer votre niveau de risque et d’identifier les lacunes dans vos défenses.

Évaluation de la demande

Ressources Wiz supplémentaires

Obtenez une démo personnalisée

Prêt(e) à voir Wiz en action ?

"La meilleure expérience utilisateur que j’ai jamais vue, offre une visibilité totale sur les workloads cloud."
David EstlickRSSI
"Wiz fournit une interface unique pour voir ce qui se passe dans nos environnements cloud."
Adam FletcherChef du service de sécurité
"Nous savons que si Wiz identifie quelque chose comme critique, c’est qu’il l’est réellement."
Greg PoniatowskiResponsable de la gestion des menaces et des vulnérabilités