Skip to main content

Samba LDAP Server CVE-2026-125628

| EUVDEUVD-2026-139665 HIGH
Access of Resource Using Incompatible Type (Type Confusion) (CWE-843)
2026-11-30 secalert@redhat.com GHSA-8658-vrj5-g5f7
7.5
CVSS 3.1 · Vendor: redhat
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Connect to Samba AD DC LDAP port
  2. Delivery
    Send extended response as first message
  3. Exploit
    Trigger type confusion in ldapsrv_do_call()
  4. Execution
    Worker process exits, connected clients dropped
  5. Persist
    Resend to crash each replacement
  6. Impact
    Increasing 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.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet 1.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

Samba 4.7.0rc1 <*

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

Vendor (redhat) PRIMARY 7.5 HIGH
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
vuln.today AI 7.5 HIGH

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.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (redhat).

CVSS VectorVendor: redhat

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

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

Why It Matters

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.

Business Impact: High
Compensating Controls

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

EPSS Score
1.0%
Top 35% exploitable
Prevalence
High
Samba AD domain-controller LDAP service, widely deployed across enterprise and Linux environments
Data Quality
3 sources
Confidence: Low

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 1.0%
Patch available No
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
Yes
Human Impact
High
Technical Impact
Partial

Priority Score

39
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +38
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

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.

More in Samba

View all
CVE-2017-7494 CRITICAL POC
9.8 May 30

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

CVE-2012-1182 CRITICAL POC
10.0 Apr 10

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

CVE-2015-0240 CRITICAL POC
10.0 Feb 24

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

CVE-2016-2118 HIGH POC
7.5 Apr 12

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

CVE-2013-4124 MEDIUM POC
5.0 Aug 06

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.

CVE-2014-3560 HIGH
7.9 Aug 06

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

CVE-2023-34966 HIGH
7.5 Jul 20

An infinite loop vulnerability was found in Samba's mdssvc RPC service for Spotlight. Rated high severity (CVSS 7.5), th

CVE-2023-34967 MEDIUM
5.3 Jul 20

A Type Confusion vulnerability was found in Samba's mdssvc RPC service for Spotlight. Rated medium severity (CVSS 5.3),

CVE-2012-0870 HIGH
7.9 Feb 23

Heap-based buffer overflow in process.c in smbd in Samba 3.0, as used in the file-sharing service on the BlackBerry Play

CVE-2015-7540 HIGH
7.5 Dec 29

The LDAP server in the AD domain controller in Samba 4.x before 4.1.22 does not check return values to ensure successful

CVE-2017-15275 HIGH
7.5 Nov 27

Samba before 4.7.3 might allow remote attackers to obtain sensitive information by leveraging failure of the server to c

CVE-2017-14746 CRITICAL
9.8 Nov 27

Use-after-free vulnerability in Samba 4.x before 4.7.3 allows remote attackers to execute arbitrary code via a crafted S

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy