Samba 3.4.0 < 4.24.9 / 4.25.x < 4.25.2 Denial of Service Vulnerability

medium Nessus Plugin ID 393408

Synopsis

The version of Samba installed on the remote host is affected by a denial of service vulnerability.

Description

The version of Samba installed on the remote host is 3.4.0 prior to 4.24.9, or 4.25.x prior to 4.25.2. It is, therefore, affected by a denial of service vulnerability. 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.

Note that Nessus has not tested for this issue but has instead relied only on the application's self-reported version number.

Solution

Upgrade to Samba version 4.24.9, 4.25.2, or later.

See Also

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

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

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

https://www.samba.org/samba/history/security.html

Plugin Details

Severity: Medium

ID: 393408

File Name: samba_CVE-2026-135111.nasl

Version: 1.1

Type: Remote

Family: Misc.

Published: 12/4/2026

Updated: 12/4/2026

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 5

Percentile: 92.58

CVSS v2

Risk Factor: Medium

Base Score: 6.8

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

CVSS Score Source: CVE-2026-135111

CVSS v3

Risk Factor: Medium

Base Score: 5.9

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

Vulnerability Information

CPE: cpe:/a:samba:samba

Required KB Items: SMB/samba, SMB/NativeLanManager

Patch Publication Date: 11/30/2026

Vulnerability Publication Date: 11/21/2026

Reference Information

CVE: CVE-2026-135111

IAVA: 2026-A-1374