p PatchFirst

PatchFirst · Latest vulnerabilities

samba vulnerabilities

Vulnerabilities published for samba in the last 30 days: 0. Listed in the KEV catalogue: 0.

Filter vulnerabilities
Clear filters

Vulnerabilities: 72

  1. CVE-2025-10230

    Critical · CVSS 10EPSS 1.91%Fix available

    Samba: command injection in wins server hook script

    A flaw was found in Samba, in the front-end WINS hook handling: NetBIOS names from registration packets are passed to a shell without proper validation or escaping. Unsanitized NetBIOS name data from WINS registration packets are inserted into a shell command and executed by the Samba Active Directory Domain Controller’s wins hook, allowing an unauthenticated network attacker to achieve remote command execution as the Samba process.

    • Update to 4.21.9-r0
    Published Updated
  2. CVE-2025-9640

    Medium · CVSS 4.3EPSS 0.56%Fix available

    Samba: vfs_streams_xattr uninitialized memory write possible

    A flaw was found in Samba, in the vfs_streams_xattr module, where uninitialized heap memory could be written into alternate data streams. This allows an authenticated user to read residual memory content that may include sensitive data, resulting in an information disclosure vulnerability.

    • Update to 4.21.9-r0
    Published Updated
  3. CVE-2025-0620

    Medium · CVSS 4.9EPSS 0.99%Fix available

    Samba: smbd doesn't pick up group membership changes when re-authenticating an expired smb session

    A flaw was found in Samba. The smbd service daemon does not pick up group membership changes when re-authenticating an expired SMB session. This issue can expose file shares until clients disconnect and then connect again.

    • Update to 4.21.6-r0
    Published Updated
  4. CVE-2023-4154

    High · CVSS 7.5EPSS 1.15%Fix available

    Samba: ad dc password exposure to privileged users and rodcs

    A design flaw was found in Samba's DirSync control implementation, which exposes passwords and secrets in Active Directory to privileged users and Read-Only Domain Controllers (RODCs). This flaw allows RODCs and users possessing the GET_CHANGES right to access all attributes, including sensitive secrets and passwords. Even in a default setup, RODC DC accounts, which should only replicate some passwords, can gain access to all domain secrets, including the vital krbtgt, effectively eliminating the RODC / DC distinction. Furthermore, the vulnerability fails to account for error conditions (fail open), like out-of-memory situations, potentially

    • Update to 4.18.8-r0
    Published Updated
  5. CVE-2023-42669

    Medium · CVSS 6.5EPSS 2.15%Fix available

    Samba: "rpcecho" development server allows denial of service via sleep() call on ad dc

    A vulnerability was found in Samba's "rpcecho" development server, a non-Windows RPC server used to test Samba's DCE/RPC stack elements. This vulnerability stems from an RPC function that can be blocked indefinitely. The issue arises because the "rpcecho" service operates with only one worker in the main RPC task, allowing calls to the "rpcecho" server to be blocked for a specified time, causing service disruptions. This disruption is triggered by a "sleep()" call in the "dcesrv_echo_TestSleep()" function under specific conditions. Authenticated users or attackers can exploit this vulnerability to make calls to the "rpcecho" server, requestin

    • Update to 4.18.8-r0
    Published Updated
  6. CVE-2023-3961

    Critical · CVSS 9.1EPSS 3.05%Fix available

    Samba: smbd allows client access to unix domain sockets on the file system as root

    A path traversal vulnerability was identified in Samba when processing client pipe names connecting to Unix domain sockets within a private directory. Samba typically uses this mechanism to connect SMB clients to remote procedure call (RPC) services like SAMR LSA or SPOOLSS, which Samba initiates on demand. However, due to inadequate sanitization of incoming client pipe names, allowing a client to send a pipe name containing Unix directory traversal characters (../). This could result in SMB clients connecting as root to Unix domain sockets outside the private directory. If an attacker or client managed to send a pipe name resolving to an ext

    • Update to 4.18.8-r0
    Published Updated
  7. CVE-2023-42670

    Medium · CVSS 6.5EPSS 1.48%Fix available

    Samba: ad dc busy rpc multiple listener dos

    A flaw was found in Samba. It is susceptible to a vulnerability where multiple incompatible RPC listeners can be initiated, causing disruptions in the AD DC service. When Samba's RPC server experiences a high load or unresponsiveness, servers intended for non-AD DC purposes (for example, NT4-emulation "classic DCs") can erroneously start and compete for the same unix domain sockets. This issue leads to partial query responses from the AD DC, causing issues such as "The procedure number is out of range" when using tools like Active Directory Users. This flaw allows an attacker to disrupt AD DC services.

    • Update to 4.18.8-r0
    Published Updated
  8. CVE-2023-4091

    Medium · CVSS 6.5EPSS 1.61%Fix available

    Samba: smb clients can truncate files with read-only permissions

    A vulnerability was discovered in Samba, where the flaw allows SMB clients to truncate files, even with read-only permissions when the Samba VFS module "acl_xattr" is configured with "acl_xattr:ignore system acls = yes". The SMB protocol allows opening files when the client requests read-only access but then implicitly truncates the opened file to 0 bytes if the client specifies a separate OVERWRITE create disposition request. The issue arises in configurations that bypass kernel file system permissions checks, relying solely on Samba's permissions.

    • Update to 4.18.8-r0
    Published Updated
  9. CVE-2022-3592

    Medium · CVSS 6.5EPSS 1.42%Fix available

    CVE-2022-3592

    A symlink following vulnerability was found in Samba, where a user can create a symbolic link that will make 'smbd' escape the configured share path. This flaw allows a remote user with access to the exported part of the file system under a share via SMB1 unix extensions or NFS to create symlinks to files outside the 'smbd' configured share path and gain access to another restricted server's filesystem.

    • Update to 4.16.6-r0
    Published Updated
  10. CVE-2022-3437

    Medium · CVSS 4.3EPSS 2.22%Fix available

    CVE-2022-3437

    A heap-based buffer overflow vulnerability was found in Samba within the GSSAPI unwrap_des() and unwrap_des3() routines of Heimdal. The DES and Triple-DES decryption routines in the Heimdal GSSAPI library allow a length-limited write buffer overflow on malloc() allocated memory when presented with a maliciously small packet. This flaw allows a remote user to send specially crafted malicious data to the application, possibly resulting in a denial of service (DoS) attack.

    • Update to 4.16.6-r0
    Published Updated
  11. CVE-2022-42898

    High · CVSS 8.8EPSS 4.66%Fix available

    CVE-2022-42898

    PAC parsing in MIT Kerberos 5 (aka krb5) before 1.19.4 and 1.20.x before 1.20.1 has integer overflows that may lead to remote code execution (in KDC, kadmind, or a GSS or Kerberos application server) on 32-bit platforms (which have a resultant heap-based buffer overflow), and cause a denial of service on other platforms. This occurs in krb5_pac_parse in lib/krb5/krb/pac.c. Heimdal before 7.7.1 has "a similar bug."

    • Update to 4.16.7-r0
    Published Updated
  12. CVE-2022-32746

    Medium · CVSS 5.4EPSS 1.02%Fix available

    CVE-2022-32746

    A flaw was found in the Samba AD LDAP server. The AD DC database audit logging module can access LDAP message values freed by a preceding database module, resulting in a use-after-free issue. This issue is only possible when modifying certain privileged attributes, such as userAccountControl.

    • Update to 4.15.9-r0
    Published Updated
  13. CVE-2022-32742

    Medium · CVSS 4.3EPSS 1.2%Fix available

    CVE-2022-32742

    A flaw was found in Samba. Some SMB1 write requests were not correctly range-checked to ensure the client had sent enough data to fulfill the write, allowing server memory contents to be written into the file (or printer) instead of client-supplied data. The client cannot control the area of the server memory written to the file (or printer).

    • Update to 4.15.9-r0
    Published Updated
  14. CVE-2022-2031

    High · CVSS 8.8EPSS 1.12%Fix available

    CVE-2022-2031

    A flaw was found in Samba. The security vulnerability occurs when KDC and the kpasswd service share a single account and set of keys, allowing them to decrypt each other's tickets. A user who has been requested to change their password, can exploit this flaw to obtain and use tickets to other services.

    • Update to 4.15.9-r0
    Published Updated

Check your server

Check your installed stack and versions against the current vulnerability feeds.

Check your server →