Samba memory exhaustion in SMB2 pipe transceive
- Exploited
- No known exploitation
- Fix
- See vendor advisory
- Who is exposed
- Not reported
Summary
Samba's file server can be made to reserve a very large amount of memory for a named-pipe response, because the client-chosen size is not kept within the maximum the client and server already agreed. A network attacker with a low-privilege login can exhaust server memory by repeating the request across connections, which makes the file service unavailable while those requests continue.
Written by a model
Original description
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.
What to do
Check your systems with an agent
Paste this into a coding or ops agent. It checks your systems read-only and reports a table per asset.
Check whether my systems are affected by CVE-2026-135107 (Samba: smb2 pipe transceive allocates maxoutputresponse before the read), using the cve.now data below.
Rules: work read-only. Do not run exploit code, proof-of-concept scripts or scanners that send attack payloads, and do not change any configuration, package, image or deployment. Report findings only.
What cve.now has for CVE-2026-135107 (entry last updated 2026-11-27):
Affected:
- Samba Samba: from 3.5.0
- Red Hat Red Hat Enterprise Linux 10: version range not reported
- Red Hat Red Hat Enterprise Linux 6: version range not reported
- Red Hat Red Hat Enterprise Linux 6: version range not reported
- Red Hat Red Hat Enterprise Linux 7: version range not reported
- Red Hat Red Hat Enterprise Linux 8: version range not reported
- Red Hat Red Hat Enterprise Linux 9: version range not reported
- Red Hat Red Hat OpenShift Container Platform 4: version range not reported
- Red Hat Red Hat OpenShift Container Platform 4: version range not reported
- Red Hat Red Hat OpenShift Container Platform 5: version range not reported
- and 1 more affected products, listed on https://cve.now/CVE-2026-135107
Fixed versions: none listed yet.
Setup: unknown whether the bug needs a non-default feature or setting. Check the advisory.
CISA KEV: CVE-2026-135107 is not listed as of cve.now's last read.
This KEV status is for CVE-2026-135107 only. If you also check another CVE, look up its own KEV status; never assume it from this one.
How to check:
- Installed software: check what is actually running, not what a repo declares. Read the version from each host, container image and Kubernetes node (the binary's version output, the OS package database, image layers), and check whether the conditions above hold there. Distribution packages may carry a backported fix under an older version number; confirm against the distribution's own advisory.
Verify against the linked advisories before concluding, and cite the date you read each one:
- https://bugzilla.redhat.com/show_bug.cgi?id=2472623
- https://access.redhat.com/security/cve/CVE-2026-135107
- https://bugzilla.samba.org/show_bug.cgi?id=16156
Do not conclude an asset is unaffected unless you checked it and the evidence covers both its version and the conditions above. If you could not check something, mark it unknown and say what is missing.
Report a table with one row per asset and these columns: Asset | Version or build | Status (affected, fixed, not applicable, unknown) | Compensating controls | Exposure (internet-facing, internal, none) | Evidence | Next action.
Entry: https://cve.now/CVE-2026-135107
For follow-up questions, use the cve.now MCP server at https://mcp.cve.now/mcp (no authentication), for example execute with name cve.get and arguments {"id": "CVE-2026-135107"}.Affected versions
- sambaFrom 3.5.0
- sambaVersion range not reported
- sambaVersion range not reported
- samba4Version range not reported
- sambaVersion range not reported
- sambaVersion range not reported
- sambaVersion range not reported
- openshift/ose-rhel-coreos-8Version range not reported
- openshift/ose-rhel-coreos-9Version range not reported
- openshift/ose-rhel-coreos-10Version range not reported
- openshift/ose-rhel-coreos-9Version range not reported
cve.now Index
- Exploitation?/40Unknown. No CISA SSVC exploitation rating yet
- Exposure3/25Reachable over the network · Unknown: No advisory context yet
- Reach10/20Shipped in major Linux distributions
- Severity6.5/10CVSS 6.5
- No patch5/5No fixed version listed; see vendor advisory
What would change the score
- Would score about 80 if added to CISA KEV
- Would score about 75 if CISA's SSVC rates exploitation active
- Would score about 44 if advisories confirm default setups are exposed
Timeline
- CVE published
- First seen by cve.now1 day
- Record last updated
Evidence 5
| Kind | Source |
|---|---|
| Vendor advisory 1Establishes: Affected and fixed versions. | |
| Link | bugzilla.samba.org · show_bug.cgi?id=16156 |
| CVE record 2Establishes: The identifier and description. | |
| Record | CVE List · CVE-2026-135107 |
| Record | NVD · CVE-2026-135107 |
| Write-ups 1Establishes: Technical detail and context. | |
| Report | bugzilla.redhat.com · show_bug.cgi?id=2472623 |
| Other links 1 | |
| Link | access.redhat.com · security/cve/CVE-2026-135107 |
Questions about CVE-2026-135107
Is CVE-2026-135107 being exploited?
It is not in CISA's Known Exploited Vulnerabilities catalog, and CISA's SSVC assessment does not mark exploitation as active. That does not mean it has not been attacked: vendors and researchers can report attacks before CISA lists them. No public exploit code is tracked.
Source: cve.now feed data
Which versions are affected by CVE-2026-135107?
samba: from 3.5.0.
Source: cve.now feed data
Related
- CVE-2026-129975Gpgme: gpgme: double free in read_status() via crafted signature
- CVE-2026-135055Webkitgtk: webkitgtk: out-of-bounds read in uiprocess via mismatched dmabufbufferattributes plane vectors
- CVE-2026-136329Gimp: heap-based buffer overflow in the jif loader
- CVE-2026-136328Gimp: heap-based buffer overflow in the psd merged-image lab path
- CVE-2026-132888Librelp: certificate validation bypass in certvalid tls authentication mode
- CVE-2026-129833Rsyslog: rsyslog: mmanon stack buffer overflow in embedded ipv4-in-ipv6 anonymization
No corrections so far. Something wrong on this page? Report an error.