All vulnerabilities

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.

From the CVE Program.

Affected software

SoftwareAffected versions
SambaServers and applications · cna:samba|samba
  • From 3.4.0 on

About Samba

free software re-implementation of the SMB networking protocol

From Wikidata, CC0 1.0.
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

ReleaseLatestSecurity fixes
4.254.25.1Until 31 Mar 2028
4.244.24.8Until 30 Sept 2027
4.234.23.13Until 31 Mar 2027
4.224.22.11Ended 30 Sept 2026
4.214.21.10Ended 31 Mar 2026
4.204.20.8Ended 12 Sept 2025

From endoflife.date.

References

  • CVE.org https://www.cve.org/CVERecord?id=CVE-2026-135111