Servers and applications
CVE-2026-135111
Samba: samba4: smbd listener counts a failed fork as a child and exhausts max smbd processes
- Severity
- Medium 5.9
- Published
- 1 Dec 2026
- Last changed
- 1 Dec 2026
- Added to UpHeron
- 1 Dec 2026
- Weakness
- CWE-772
- Attack
- Over the network · Only under certain conditions · No login needed · No user action needed
- Attacker can
- Take it down
- CVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H- Sources
- CVE Program
Description
An incorrect child count after a failed fork issue has been found in the smbd_accept_connection() function in source3/smbd/server.c of the smbd listener in the Samba package. The parent stores each failed attempt to create a worker in its list of children. The handler that runs when a child exits removes a process the kernel reports. A failed creation has no process for that handler to remove. A network attacker or user can open connections to the file server while the host cannot create another process. Each failed creation stays in the parent's count of children. When an administrator has set a maximum number of smbd processes, and the count reaches that maximum, the listener closes later connections and leaves those clients without a worker. The count remains after the host can create processes again, so clients stay unable to connect until smbd is restarted.
Affected software
| Software | Affected versions |
|---|---|
SambaServers and applications · cna:samba|samba |
|
About Samba
free software re-implementation of the SMB networking protocol
- Developer
- The Samba TeamWikidata
- License
- GNU Lesser General Public License, version 3.0 or laterWikidata
- Written in
- C, C++, PythonWikidata
- First released
- 1992Wikidata
Release lines
| Release | Latest | Security fixes |
|---|---|---|
| 4.25 | 4.25.1 | Until 31 Mar 2028 |
| 4.24 | 4.24.8 | Until 30 Sept 2027 |
| 4.23 | 4.23.13 | Until 31 Mar 2027 |
| 4.22 | 4.22.11 | Ended 30 Sept 2026 |
| 4.21 | 4.21.10 | Ended 31 Mar 2026 |
| 4.20 | 4.20.8 | Ended 12 Sept 2025 |
From endoflife.date.
Vulnerabilities in Samba
- In our list
- 223
- Published in the last 12 months
- 13
- Critical, last 12 months
- 2
- High, last 12 months
- 2
- Known exploited
- 2
- CVE-2026-125628Samba: samba4: extended response type confusion in ldapsrv_do_call crashes the ad dc ldap workerHigh 7.5 30 Nov 2026
- CVE-2026-125633Samba: samba4: hinfo type confusion in dns_to_dnsp_convert crashes the ad dc rpc workerMedium 6.5 27 Nov 2026
- CVE-2026-125627Samba: samba4: null dereference in vlv_value_compare crashes the ad dc ldap workerMedium 6.5 27 Nov 2026
- CVE-2026-135107Samba: smb2 pipe transceive allocates maxoutputresponse before the readMedium 6.5 26 Nov 2026
- CVE-2026-125634Samba: null dereference in ad dc validated dns host name and spn checksMedium 6.5 25 Nov 2026
- CVE-2026-109411Samba: access control bypass via vfs_ceph_rgw case-insensitive openHigh 8.1 28 Oct 2026
References
- CVE.org https://www.cve.org/CVERecord?id=CVE-2026-135111