Skip to main content

Samba AD DC EUVDEUVD-2026-135344

| CVE-2026-125634 MEDIUM
NULL Pointer Dereference (CWE-476)
2026-11-25 secalert@redhat.com GHSA-79fq-725c-j9j9
6.5
CVSS 3.1 · Vendor: redhat
View

Attack ChainAIDerived

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

  1. Access
    Authenticate as low-privileged domain user
  2. Delivery
    Craft LDAP modify on own computer account
  3. Exploit
    Combine DNS/SPN update with sAMAccountName removal
  4. Execution
    Trigger NULL deref in ACL module
  5. Persist
    Crash directory process
  6. Impact
    Repeat modify to sustain DC outage

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A10:2025 - Mishandling of Exceptional Conditions
ASVS 5.0
V16 - Security Logging and Error Handling Null pointer safety, defensive checks
MITRE ATT&CK

1 technique across 1 tactic: Impact

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires Samba to be running in the Active Directory domain controller role (the acl.c AD DC ACL module), not merely as a file/print server. The attacker needs a valid authenticated account able to update the dnsHostName or servicePrincipalName of its own computer account - by default any domain-joined machine account holds this write capability over its own object, so the practical privilege bar is low. The crafted LDAP modify must, within the same request, also remove sAMAccountName so the subsequent ACL check reads an absent value. Limiting factors: valid domain credentials are required (PR:L, so not anonymous), and only AD DC deployments are affected; the impact is confined to availability (crash/outage) with no data disclosure or modification.

Impact

This is a genuine but bounded denial-of-service issue, not a confidentiality/integrity emergency. The supplied CVSS:3.1 vector (AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H, base 6.5) shows a network-reachable, low-complexity attack requiring only low privileges and no user interaction, with impact limited entirely to availability (C:N/I:N but A:H). The vuln.today priority is 'this_month' rather than act_now/emergency, which aligns with the signal picture: there is no CISA KEV listing and no EPSS score in the supplied data, so there is no evidence of active exploitation or a high predicted exploitation probability. The GitLab merge request reference is the upstream fix, not an exploit - no public exploit was identified at time of analysis. The key caveat is that PR:L maps to a near-universal Active Directory capability: by default any machine account can write its own DNS host name and servicePrincipalName attributes, so the 'low privilege' barrier is effectively any valid domain member, making the practical barrier low even though it is not unauthenticated. Because repeating the malicious LDAP modify keeps the directory service down, the realistic worst case is a sustained outage of the domain controller rather than a one-time crash. No KEV/EPSS data means exploitation likelihood cannot be quantified from the input and must be treated as unknown.

Exploit ScenarioDerived

A low-privileged domain member (or the owner of any computer account) sends a single LDAP modify to the Samba AD domain controller that updates its own dnsHostName or servicePrincipalName while, in the same request, removing sAMAccountName. The ACL check in acl.c then reads the now-absent account name and dereferences a NULL pointer, crashing the directory process; resending the request repeatedly keeps the DC offline. No public exploit code was identified, but the trigger is simple and well-described in the advisory.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.8% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Nov 25, 2026

NULL pointer dereference in Samba's Active Directory domain controller ACL module allows an authenticated low-privileged user to crash the directory service and keep it down by repeating a single crafted LDAP modify. Exploitation requires Samba running in the AD DC role and a valid account that can write the dnsHostName or servicePrincipalName of its own computer account - a capability ordinary domain-joined machine accounts hold by default - with the same request also deleting sAMAccountName so the ACL check reads an absent value. Severity is 6.5 (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H), impact is availability-only with no disclosure or modification, and no public exploit code and no CISA KEV entry were identified at time of analysis.

RemediationAI

Apply the upstream fix referenced by the Samba merge request https://gitlab.com/samba-team/samba/-/merge_requests/4800; that reference is a merge request rather than a tagged release, so a released patched Samba version is not independently confirmed from this data - check the Red Hat advisory at https://access.redhat.com/security/cve/CVE-2026-125634 and https://bugzilla.redhat.com/show_bug.cgi?id=2583971 for the fixed package builds for your distribution. The provided sources describe no vendor-documented workaround, so installing a build that contains the NULL check in acl_check_dns_host_name() and acl_validate_spn_value() is the complete fix. Because a successful request crashes the directory service on every repeat, affected AD DCs should be treated as restart-sensitive until patched, and any interim risk reduction should focus on limiting which accounts can perform self-writes to dnsHostName and servicePrincipalName, recognising that tightening those permissions can break normal machine account and service principal name management in the domain.

Affected VersionsENISA

Samba 4.17.0 <*

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-476 NULL pointer dereference in source4/dsdb/samdb/ldb_modules/acl.c, specifically in acl_check_dns_host_name() and acl_validate_spn_value(), which the AD DC ACL LDB module uses to authorise writes to a computer account's DNS host name and service principal name attributes. The checks evaluate the account name after processing an LDAP modify that removes sAMAccountName in the same request, and they do not test whether that value is still present before dereferencing it, so the smbd/ldb directory process handling the modify crashes. Because the failing path is part of the AD DC access-control layer, only deployments running Samba as an Active Directory domain controller (the dsdb/samdb acl module) are in scope; a Samba file or print server does not exercise this code. The trigger is a single LDAP modify combining a self-write to dnsHostName or servicePrincipalName with removal of sAMAccountName, and the request can be replayed to keep the service unavailable. Valid domain credentials are required (PR:L), so the flaw is not anonymously reachable, and the resulting impact is confined to service availability on the directory controller.

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 6.5 MEDIUM
AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
vuln.today AI 6.5 MEDIUM

Network LDAP reachability with a self-service machine-account attribute write gives AV:N/AC:L/PR:L/UI:N; impact is a directory crash only, so C:N/I:N/A:H.

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

Primary rating from Vendor (redhat).

CVSS VectorVendor: redhat

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

DescriptionCVE.org

A NULL pointer dereference has been found in the acl_check_dns_host_name() and acl_validate_spn_value() functions in source4/dsdb/samdb/ldb_modules/acl.c of the Active Directory domain controller ACL module in the Samba package. The checks read the account name after a request that removes it, and they do not test that the value is present. A low-privileged network attacker or user who can update the DNS host name or service principal name of their own computer account can include a removal of sAMAccountName in that same LDAP modify. The directory process crashes. Repeating the modify keeps the directory service unavailable.

Threat Intelligence Overview

EPSS Score
0.8%
Top 47% exploitable
Prevalence
High
Samba is widely deployed enterprise software; AD DC role common in mixed environments
Data Quality
6 sources
Confidence: High

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 MEDIUM
CISA KEV No
Public POC No
EPSS 0.8%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.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· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact· derived
High

Priority Score

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

Attack Technique

A null pointer dereference occurs when a program attempts to access memory through a pointer that has been set to NULL (address 0x0).

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

Vendor StatusVendor

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