CVE-2026-135111

medium

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.

References

https://gitlab.com/samba-team/samba/-/merge_requests/4872

https://gitlab.com/samba-team/samba/-/commit/bec3630c643f581a10132e61400d960d17eb960e

https://gitlab.com/samba-team/samba/-/commit/a83c8284d7f8db9d9b0366438d5e587cbbb615c4

https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-140157

https://bugzilla.samba.org/show_bug.cgi?id=16328

https://bugzilla.redhat.com/show_bug.cgi?id=2583142

https://access.redhat.com/security/cve/CVE-2026-135111

Details

Source: Mitre, NVD

Published: 2026-12-01

Updated: 2026-12-01

Risk Information

CVSS v2

Base Score: 7.8

Vector: CVSS2#AV:N/AC:L/Au:N/C:N/I:N/A:C

Severity: High

CVSS v3

Base Score: 5.9

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

Severity: Medium