CVE-2026-125628
HighCVSS 7.5Exploitation Probability (EPSS)
Elevated risk65th percentile - higher than 65% of all known CVEs
Summary
A type confusion exists in ldapsrv_do_call() in ldap_backend.c of the Samba LDAP server. An unauthenticated network attacker can send an extended response as the first LDAP message, causing the process serving the connection to exit and disconnect other clients.
Risk Assessment
Repeating the message causes repeated crashes with increasing restart delays, resulting in denial of service of the LDAP service.
Recommendation
Update Samba to a version that contains the fix for this vulnerability.
Other vulnerabilities in Samba
See all- CVE-2026-135114Unknown
This CVE has been rejected at Upstream (reference: https://bugzilla.samba.org/show_bug.cgi?id=16403#c12). No confirmed vulnerability to describe.
- CVE-2026-120377Unknown
This CVE has been rejected at Upstream (reference: https://bugzilla.samba.org/show_bug.cgi?id=16169#c6). No confirmed vulnerability to describe.
- CVE-2026-120369Unknown
This CVE has been rejected at Upstream (reference: https://bugzilla.samba.org/show_bug.cgi?id=16161#c10). No confirmed vulnerability to describe.
- CVE-2026-135106Unknown
This CVE has been rejected by Upstream. The rejection is documented with a reference to the Samba bugzilla.
- CVE-2026-58221Medium
A low-privilege authenticated Samba AD user can modify internal LDB special DNs via LDAP access, enabling a domain takeover.
- CVE-2026-4408Critical
A flaw in Samba allows remote command execution due to improper escaping of shell meta-characters in the 'check password script' feature when using the %u substitution. This affects non-standard configurations with samba-dcerpcd running as a system service.
- CVE-2026-4480Critical
The Samba printing subsystem contains a vulnerability where the client-controlled job description string is passed to the command configured with the 'print command' setting via the '%J' substitution character without escaping shell meta characters. A remote attacker can send a specially crafted print job description containing unescaped shell characters, leading to remote code execution.
- CVE-2025-10230Critical
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.
- CVE-2023-3961Critical
A path traversal vulnerability was identified in Samba when processing client pipe names connecting to Unix domain sockets within a private directory. Due to inadequate sanitization of incoming client pipe names, a client can send a pipe name containing Unix directory traversal characters (../), potentially causing SMB clients to connect as root to Unix domain sockets outside the private directory.
- CVE-2017-15275High
Samba before 4.7.3 might allow remote attackers to obtain sensitive information by leveraging failure of the server to clear allocated heap memory.
Original NVD description (English source)
A **type confusion** has been found in the ldapsrv_do_call() function in ldap_backend.c of the LDAP server in the **Samba** package. The function reads an extended response as an extended request while checking a connection that has not authenticated. A network attacker or user sends an extended response as the first LDAP message. The process that accepted the connection also serves other LDAP clients. That process exits, which disconnects those clients, and the directory starts a replacement process. Sending the message again crashes the replacement, and each further crash waits longer before the next replacement starts, so repeating the message keeps the LDAP service from staying available.
Vulnerability data from NVD (NIST) · CISA KEV · EPSS

