Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessConnect to Samba AD DC LDAP port
-
DeliverySend extended response as first message
-
ExploitTrigger type confusion in ldapsrv_do_call()
-
ExecutionWorker process exits, connected clients dropped
-
PersistResend to crash each replacement
-
ImpactIncreasing restart backoff sustains LDAP outage
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Type safety enforcement
MITRE ATT&CK
1 technique across 1 tactic: Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires a reachable Samba LDAP server (the Active Directory domain controller LDAP service); the attacker sends a single LDAP extended response as the first message on a connection before authentication occurs. Consistent with the CVSS vector (PR:N/UI:N/AC:L), no credentials, no user interaction, and no special non-default configuration are stated - the flaw is in the unauthenticated connection-handling path. The main limiting factor is exposure: the target must be running Samba in a role that serves LDAP (AD DC) and have that LDAP port network-reachable from the attacker. Impact is confined to availability; there is no path to code execution or data access described. The self-prolonging outage (worker shared across clients, lengthening restart backoff) is a property of the service architecture, not an additional attacker prerequisite. |
| Impact | Signals are consistent and point to a genuine but impact-limited availability risk. The CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H, base 7.5) describes a remotely reachable, low-complexity, unauthenticated flaw with no confidentiality or integrity impact - purely denial of service. This matches the description: the type confusion is triggered on a connection that has not yet authenticated, so no privileges are needed. The vuln.today decision label is 'this_week' (not act_now/emergency), and there is no CISA KEV listing and no EPSS score in the provided data, so exploitation-probability and active-exploitation signals cannot be compared - their absence should not be read as low risk, only as unmeasured here. No SSVC decision parameters (automatable, technical impact) were supplied beyond the priority label. The practical severity is amplified by the described self-worsening behavior: each crash takes down a worker serving multiple LDAP clients, and the directory's increasing restart backoff means repeated messages keep the service down rather than causing a brief blip. This is a real patch priority for exposed Samba AD DC LDAP services, but it is a service-availability issue, not a code-execution or data-exposure one despite the 'Memory Corruption' tag - the technical impact is confined to availability. |
| Exploit ScenarioDerived | A network attacker opens an LDAP connection to a Samba Active Directory domain controller and sends an LDAP extended *response* as the very first message on the still-unauthenticated connection; the server's ldapsrv_do_call() misinterprets it as an extended request (type confusion), crashing the worker process that also serves other LDAP clients. Resending the message crashes each replacement process, and because the directory waits progressively longer before each restart, repeated messages keep the LDAP service unavailable. No public exploit identified at time of analysis. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 30, 2026
Unauthenticated remote attackers can knock the Samba LDAP service offline by sending a single LDAP extended response as the first message on a fresh connection, triggering a type confusion in ldapsrv_do_call(). Because the affected worker process is shared with other LDAP clients, each crash disconnects legitimate sessions, and the server's lengthening restart backoff means repeated messages keep the directory from staying available. Samba deployments acting as an Active Directory domain controller with the LDAP port reachable from untrusted networks are exposed; impact is availability-only, with no code execution or data exposure described, and no public exploit has been identified at time of analysis.
RemediationAI
Upstream fix available (merge request at gitlab.com/samba-team/samba/-/merge_requests/4819); a released patched Samba version is not independently confirmed in the supplied data, so confirm the fixed build against Samba Bugzilla 16306 and the Red Hat advisory at access.redhat.com/security/cve/CVE-2026-125628 before rolling out. Because the flaw is reachable without authentication, the practical interim control is exposure reduction: restrict LDAP and LDAPS (TCP 389/636) on domain controllers to known management and member-server networks and rate-limit or block new connections from untrusted segments - the trade-off is that any client outside the allowed ranges loses directory authentication and lookups until the patch is applied, so scope the restriction to the exposed interfaces rather than all of them. Note that the crash consumes a worker shared with other LDAP clients and that each restart lengthens the backoff, so an outage can persist after the offending traffic stops; monitor the LDAP worker for unexpected restarts so repeated attempts are visible. No configuration setting that disables the vulnerable pre-authentication message path is described in the available sources.
Affected VersionsENISA
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The flaw is a CWE-843 type confusion in ldap_backend.c's ldapsrv_do_call(), the Samba LDAP server's dispatch path for incoming protocol messages. Before a connection has authenticated, the code reads what is actually an extended response as though it were an extended request, so a message of the wrong protocol type is processed along the wrong code path and the accepting process terminates. Two architectural details amplify the effect: the process that accepted the connection also serves other LDAP clients, so its exit disconnects them, and the supervising directory starts a replacement worker with a backoff that grows on each successive crash - so a repeating message converts a single process death into a sustained outage rather than a one-off reconnect. The trigger sits in the pre-authentication connection-handling path of the Samba AD DC LDAP service, which is consistent with the assessed CVSS:3.1/AV:N/AC:L/PR:N/UI:N vector; no special non-default configuration, credentials, or user interaction are stated in the available sources. Upstream work is tracked in Samba Bugzilla 16306 and merge request 4819, with Red Hat tracking under Bugzilla 2587434 and its CVE page.
Know when Samba gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Unauthenticated, low-complexity network LDAP message triggers a crash (PR:N/AC:L/AV:N), impact limited to service availability, so C:N/I:N/A:H and scope unchanged.
Primary rating from Vendor (redhat).
CVSS VectorVendor: redhat
DescriptionCVE.org
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.
Executive ViewAI
A high-severity unauthenticated denial-of-service vulnerability in Samba's LDAP service (CVE-2026-125628) allows any remote attacker to crash the directory service with a single malicious message, disrupting authentication and directory access for all users. Organizations running Samba as an Active Directory domain controller with LDAP exposed to untrusted networks are at risk, potentially leading to widespread outages and loss of productivity.
Restrict LDAP port access to trusted networks via firewall rules, implement network segmentation, deploy rate limiting or an LDAP proxy to filter malformed traffic, and enable monitoring for anomalous connection patterns.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Memory corruption occurs when a program writes data beyond the boundaries of allocated memory regions or accesses memory in unintended ways, violating the integrity of the process's address space.
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
Samba since version 3.5.0 and before 4.6.4, 4.5.10 and 4.4.14 is vulnerable to remote code execution vulnerability, allo
The RPC code generator in Samba 3.x before 3.4.16, 3.5.x before 3.5.14, and 3.6.x before 3.6.4 does not implement valida
The Netlogon server implementation in smbd in Samba 3.5.x and 3.6.x before 3.6.25, 4.0.x before 4.0.25, 4.1.x before 4.1
The MS-SAMR and MS-LSAD protocol implementations in Samba 3.x and 4.x before 4.2.11, 4.3.x before 4.3.8, and 4.4.x befor
Integer overflow in the read_nttrans_ea_list function in nttrans.c in smbd in Samba 3.x before 3.5.22, 3.6.x before 3.6.
NetBIOS name services daemon (nmbd) in Samba 4.0.x before 4.0.21 and 4.1.x before 4.1.11 allows remote attackers to exec
An infinite loop vulnerability was found in Samba's mdssvc RPC service for Spotlight. Rated high severity (CVSS 7.5), th
A Type Confusion vulnerability was found in Samba's mdssvc RPC service for Spotlight. Rated medium severity (CVSS 5.3),
Heap-based buffer overflow in process.c in smbd in Samba 3.0, as used in the file-sharing service on the BlackBerry Play
The LDAP server in the AD domain controller in Samba 4.x before 4.1.22 does not check return values to ensure successful
Samba before 4.7.3 might allow remote attackers to obtain sensitive information by leveraging failure of the server to c
Use-after-free vulnerability in Samba 4.x before 4.7.3 allows remote attackers to execute arbitrary code via a crafted S
EUVD-2026-139665
GHSA-8658-vrj5-g5f7
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB