A vulnerability in Samba's certificate auto-enrollment Group Policy handling allows retrieval of a CA certificate over unencrypted HTTP without proper verification. This flaw enables a network attacker capable of intercepting or redirecting traffic to install a malicious CA certificate into the local trust store, potentially allowing interception or spoofing of trusted communications. The issue affects specific Samba versions used in Ubuntu 24.04 LTS, 25.10, and 26.04 LTS. Fixes have been released in updated package versions.
A vulnerability exists in Samba's vfs_worm module that allows an authenticated user with write access to overwrite files protected by the write-once, read-many (WORM) mechanism by renaming a newly created file over an existing protected file. This flaw is due to insufficient validation during rename operations. The issue affects multiple Ubuntu Samba package versions and has been assigned CVE-2026-2340 with a medium severity rating.
A vulnerability in Samba affects the handling of NTFS-style reparse points on shares configured with read only = yes. Authenticated users with underlying filesystem write permissions can modify reparse point metadata via SMB operations, even on read-only exports. This allows changes to SMB-visible file behavior, such as converting files into symbolic links or other reparse point types. The issue affects specific Ubuntu Samba package versions and has been fixed in later releases.
Multiple vulnerabilities in Samba were fixed in an update provided for Ubuntu 14.04 LTS, 16.04 LTS, 18.04 LTS, and 20.04 LTS. One issue (CVE-2025-9640) involves incorrect memory initialization in the vfs_streams_xattr module, potentially allowing an authenticated attacker to obtain sensitive information. Another issue (CVE-2025-10230) involves improper handling of names passed to the WINS hook program, which could allow an attacker to execute arbitrary code. These issues are addressed by updating Samba to fixed versions provided by Ubuntu Pro and Legacy Support add-on for older releases.
A critical vulnerability in Samba's front-end WINS hook handling allows unauthenticated network attackers to execute arbitrary commands. The flaw arises because NetBIOS names from registration packets are passed to a shell without proper validation or escaping, enabling remote code execution as the Samba process. Multiple affected Ubuntu package versions exist, with fixes available in updated releases.
A regression was introduced in a Samba update that fixed multiple vulnerabilities, including issues with GSSAPI buffer handling, PAC parsing on 32-bit systems, Kerberos ticket encryption, and Spotlight request handling. These vulnerabilities could allow remote attackers to cause denial of service, escalate privileges, or possibly execute arbitrary code. The regression has been fixed in subsequent updates.
A regression issue in Samba on Ubuntu 20.04 LTS introduced by a build problem caused malfunction in macro handling and other functionalities. The update addresses multiple vulnerabilities including improper handling of read-only files, DirSync control, rpcecho development server, and RPC service listeners. These flaws could allow remote attackers to truncate files, obtain domain secrets, or cause denial of service. The issues affect specific Samba versions on Ubuntu and have been fixed in version 2:4.15.13+dfsg-0ubuntu0.20.04.7.
A regression in Samba security fixes for Ubuntu 20.04 LTS temporarily reverts previous vulnerability patches due to compatibility issues. Multiple vulnerabilities affecting password lockout logic, buffer handling in GSSAPI routines, weak Kerberos keys, and privilege escalation were originally fixed but then reverted pending further investigation. The issues impact Samba versions prior to 2:4.13.17~dfsg-0ubuntu1.20.04.5 and several specific older Ubuntu package versions. The vendor has released an updated patch restoring the fixes.
A regression in Samba's Kerberos authentication was introduced by fixes for multiple vulnerabilities, affecting certain environments. The update USN-5174-1 fixed several security issues including remote downgrade to plaintext authentication, privilege escalation, and denial of service. However, the fix for CVE-2020-25717 caused behavior changes impacting Kerberos authentication. This regression has been addressed in a subsequent update.
A regression in Samba's Kerberos authentication was introduced by upstream changes that affected certain environments. This regression was addressed by an update fixing multiple vulnerabilities, including issues with SMB1 client connections, domain user mapping, Kerberos ticket handling, and memory management. The update resolves these problems and restores secure authentication and privilege handling.
Multiple vulnerabilities in Samba were fixed by USN-5142-1, addressing issues such as incorrect SMB1 client handling, domain user mapping errors, Kerberos ticket sandboxing flaws, and memory handling bugs. Some upstream fixes introduced regressions affecting name mapping and backups, which were resolved in a subsequent update. The vulnerabilities could allow remote attackers to downgrade authentication, escalate privileges, impersonate accounts, cause denial of service, or lead to total domain compromise.
A regression in Samba on Ubuntu 16.04 LTS introduced a vulnerability related to LDAP query handling. This flaw could allow a remote attacker to cause resource exhaustion in Samba, leading to a denial of service. The issue was fixed in an updated package.
A vulnerability in Samba related to incorrect checking of S4U2Self packets could allow a remote attacker to escalate privileges in certain environments. The issue was fixed in version 2:4.3.11+dfsg-0ubuntu0.14.04.20+esm2. An earlier update introduced a regression causing occasional crashes, which was also addressed in the fix.
A vulnerability in Samba related to incorrect checking of S4U2Self packets was fixed by USN-3976-1. However, the update introduced a regression causing occasional crashes in Samba. A subsequent update has fixed this regression. The vulnerability could potentially allow a remote attacker to escalate privileges in certain environments.
A regression vulnerability in Samba was introduced by an upstream fix for a previous symlink handling issue. When Samba is configured to disable following symbolic links, this regression could allow an authenticated remote attacker to access files outside the exported directories. The issue affects multiple Ubuntu Samba package versions and has been fixed in updated releases.
Multiple vulnerabilities in Samba's DCE/RPC, NTLMSSP authentication, LDAP, TLS certificate validation, SMB signing, IPC traffic integrity, and MS-SAMR/MS-LSAD protocols were fixed in updates leading up to version 4.3.9. These flaws could allow remote attackers to perform denial of service, downgrade secure connections, spoof servers, hijack LDAP connections, impersonate users, and obtain sensitive information. A regression introduced in Samba 4.3.9 affecting the ntlm_auth tool was also fixed in a subsequent update.
Multiple vulnerabilities in Samba's DCE/RPC, NTLMSSP authentication, LDAP, TLS certificate validation, SMB signing, and protocol handling were fixed in updates to Samba 4.3.9 and backported to Samba 3.6.25 on Ubuntu LTS releases. These flaws could allow remote attackers to perform denial of service, downgrade secure connections, spoof servers, hijack LDAP connections, impersonate users, and obtain sensitive information. The issues are collectively known as Badlock among others. The fixes address these security issues and also resolve regressions introduced in Samba 4.3.8.
Multiple vulnerabilities in Samba affecting Ubuntu 14.04 LTS, 15.04, and 15.10 were addressed by USN-2855-1. The upstream fix for CVE-2015-5252 introduced a regression in certain environments, which was corrected in a subsequent update. The issues include denial of service via LDAP server packet handling, unauthorized file access through symlink mishandling, failure to enforce signing on encrypted connections, improper access control in the VFS shadow_copy2 module, and privilege bypass during machine account creation. These vulnerabilities could allow remote attackers to cause service disruption, access sensitive information, or bypass access restrictions. The update fixed these problems and resolved the regression.