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: 78

  1. CVE-2026-3238

    High · CVSS 7.5EPSS 2.02%Fix available

    Samba: denial of service against ad dc wins server

    A flaw was found in Samba’s WINS server component when running as an Active Directory Domain Controller. The WINS protocol handlers for certain request types did not properly validate incoming packets, allowing an unauthenticated remote attacker to trigger a NULL pointer dereference and crash the WINS service using specially crafted UDP packets.

    • Update to 4.22.10-r0
    Published Updated
  2. CVE-2026-4408

    Critical · CVSS 9EPSS 1.75%Fix available

    Samba: remote code execution in samr

    A flaw was found in Samba. A remote attacker can exploit a misconfiguration in Samba file servers and classic domain controllers that use the "check password script" feature. If this script is configured with the %u substitution character, the client-controlled username is passed without proper escaping of shell meta-characters. This vulnerability allows an attacker to achieve remote command execution on the affected system. This issue primarily affects non-standard configurations where the "check password script" is used with %u and the samba-dcerpcd service is started as a system service.

    • Update to 4.22.10-r0
    Published Updated
  3. CVE-2026-1933

    High · CVSS 7.1EPSS 0.61%Fix available

    Samba: missing access check on reparse point operations

    A flaw was found in Samba’s handling of NTFS-style reparse points on shares configured with read only = yes. Due to missing SMB-layer access checks, authenticated users with underlying filesystem write permissions may create or delete reparse point metadata through SMB operations even on read-only exports. This could allow modification of SMB-visible file behavior, including converting files into symbolic links or other reparse point types.

    • Update to 4.22.10-r0
    Published Updated
  4. CVE-2026-2340

    Medium · CVSS 6.5EPSS 0.64%Fix available

    Samba: vfs_worm does not block directory modification

    A flaw was found in Samba’s vfs_worm module. The module is intended to provide write-once, read-many (WORM) protections by preventing modification of files after a configurable grace period. Due to insufficient validation during rename operations, an authenticated user with write access to a share could overwrite a protected file by renaming a newly created file over the existing WORM-protected file.

    • Update to 4.22.10-r0
    Published Updated
  5. CVE-2026-3012

    High · CVSS 8EPSS 0.23%Fix available

    Samba: group policy certificate enrollment uses http:// without validation

    A flaw was found in Samba’s certificate auto-enrollment Group Policy handling. When certificate auto-enrollment is enabled, Samba may retrieve a CA certificate over an unencrypted HTTP connection and install it into the local trust store without proper verification. An attacker with the ability to intercept or redirect network traffic could exploit this behavior to supply a malicious certificate authority certificate, potentially allowing interception or spoofing of trusted communications.

    • Update to 4.22.10-r0
    Published Updated
  6. CVE-2026-4480

    Critical · CVSS 9EPSS 4.31%Public exploitFix available

    Samba: samba: remote code execution in printing subsystem via unescaped job description

    A flaw was found in the Samba printing subsystem. Samba passes the client-controlled job description string to the command configured with the "print command" setting via the "%J" substitution character without escaping shell meta characters. A remote attacker could exploit this vulnerability by sending a specially crafted print job description that contains unescaped shell characters. This could lead to remote code execution on the affected system.

    • Update to 4.22.10-r0
    Published Updated
  7. 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
  8. 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
  9. 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
  10. 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
  11. 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
  12. 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
  13. 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
  14. 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
  15. 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
  16. 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
  17. 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

Check your server

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

Check your server →