CVE-2026-125634: 
Samba Analyse et atténuation de la vulnérabilité

Aperçu

CVE-2026-125634 is a NULL pointer dereference vulnerability in the Active Directory domain controller ACL module of the Samba package, specifically in the acl_check_dns_host_name() and acl_validate_spn_value() functions within source4/dsdb/samdb/ldb_modules/acl.c. A low-privileged authenticated user or domain-joined computer can craft an LDAP modify request that simultaneously removes sAMAccountName and updates the DNS host name or service principal name (SPN), causing the directory process to crash. Repeating the request keeps the Active Directory domain controller unavailable. The vulnerability affects Samba versions starting from 4.17.0 (released 2022-09-13); versions prior to 4.17.0 are unaffected. It was disclosed on November 25, 2026, and carries a CVSS v3.1 base score of 6.5 (Medium) (Red Hat Advisory, Github Advisory).

Détails techniques

The root cause is a NULL pointer dereference (CWE-476) introduced during validated-write work for CVE-2022-32743. The helper function dsdb_msg_get_single_value() returns a NULL pointer when sAMAccountName is deleted or replaced with no values in the same LDAP modify request; the ACL functions acl_check_dns_host_name() and acl_validate_spn_value() then read samAccountName->length without first checking whether the pointer is NULL. Because the ACL module is loaded ahead of samldb and objectclass_attrs — the modules that would normally reject removal of the mandatory sAMAccountName — the NULL dereference occurs before any rejection logic runs, terminating the LDAP worker process. The attack requires only network access and low privileges: by default, a domain-joined computer has validated-write rights on its own computer account (dNSHostName and servicePrincipalName), making the vulnerable code path reachable in a default Samba AD DC configuration (Red Hat Bugzilla, Red Hat Advisory).

Impact

Successful exploitation results in a crash of the LDAP worker process handling the request; the AD DC restarts the process, but repeated requests sustain a persistent denial of service against the directory service. The stored object is left unchanged because the fault occurs before the modify is committed, so there is no confidentiality or integrity impact. The primary risk is availability: an attacker with a domain-joined computer account can continuously crash the domain controller, preventing authentication and directory lookups for all domain members (Red Hat Bugzilla, Github Advisory).

Exploitabilité

As of the disclosure date (November 25, 2026), there is no public proof-of-concept exploit and no evidence of in-the-wild exploitation (Github Advisory). The EPSS score is 0.0, and the vulnerability is not listed in the CISA Known Exploited Vulnerabilities catalog. The attack requires only low privileges (a domain-joined computer account or any principal with validated-write on a computer object), no user interaction, and is reachable over the network, making it relatively straightforward to exploit once the technique is understood (Red Hat Advisory).

Étapes d’exploitation

  1. Reconnaissance: Identify a Samba AD DC running version 4.17.0 or later. Confirm the attacker controls a domain-joined computer account (or any principal with validated-write on a computer object's dNSHostName or servicePrincipalName).
  2. Craft malicious LDAP modify request: Construct an LDAP modify operation targeting the attacker's own computer account that includes two changes in the same request: (a) a delete or replace-with-no-values operation on sAMAccountName, and (b) a validated write to dNSHostName or servicePrincipalName.
  3. Send the request: Authenticate to the domain controller's LDAP service and submit the crafted modify request. The ACL module processes the dNSHostName/servicePrincipalName validated-write check while sAMAccountName is already NULL, triggering the NULL pointer dereference.
  4. Crash the directory process: The LDAP worker process terminates. The AD DC automatically restarts it, but the stored object remains unchanged.
  5. Sustain denial of service: Repeatedly send the same malicious LDAP modify request to keep crashing the restarted process, maintaining the directory service in an unavailable state for as long as the requests continue (Red Hat Bugzilla, Red Hat Advisory).

Indicateurs de compromis

  • Logs: Repeated Samba AD DC log entries indicating LDAP worker process crashes or restarts; entries referencing acl.c or segmentation faults in the samba process logs; Samba event logs showing abnormal termination of the LDAP service process.
  • Network: Repeated LDAP modify requests (port 389/636) from the same source IP targeting a computer account's dNSHostName or servicePrincipalName attributes, particularly requests that include a simultaneous delete or empty-replace of sAMAccountName.
  • Process: Frequent unexpected restarts of the Samba LDAP worker process (samba or samba-ad-dc service); process crash dumps or core files generated by the Samba service in the configured crash directory.

Atténuation et solutions de contournement

A patch is available via the Samba project's GitLab merge request (Samba MR #4800); administrators should apply this fix as soon as it is incorporated into an official Samba release. Red Hat Enterprise Linux 6–10 and Red Hat In-Vehicle OS 2 are unaffected because they ship Samba with the AD DC disabled at build time (--without-ad-dc), so no Red Hat-specific remediation is required (Red Hat Advisory). As a workaround, restrict LDAP modify permissions for dNSHostName and servicePrincipalName attributes to only authorized administrators, and implement network-level controls (e.g., firewall rules) to limit LDAP access to trusted hosts. Monitor for repeated LDAP modify attempts targeting these attributes as a potential indicator of attack.

Réactions de la communauté

Red Hat Product Security rated this vulnerability as Moderate impact and confirmed that no Red Hat products are affected due to the AD DC being disabled at build time, crediting researcher Pavel Kopylov with the discovery (Red Hat Advisory). The vulnerability was tracked in Red Hat Bugzilla (BZ#2583971) and the Samba project's own Bugzilla (BZ#16248), with a fix submitted via GitLab merge request. No significant broader media coverage or notable social media commentary has been identified at this time.

Ressources supplémentaires

État de correction de la distribution Linux

Corrigez la disponibilité entre les grandes distributions Linux et leurs versions.

Ubuntu

Inconnu

bionic (esm-infra)

samba

Inconnu

devel

samba

Inconnu

focal (esm-infra)

samba

Inconnu

jammy

samba

Inconnu

noble

samba

Inconnu

resolute

samba

Inconnu

trusty (esm-infra-legacy)

samba

Inconnu

xenial (esm-infra-legacy)

samba

Inconnu

RHEL / CentOS

Affecté

OpenShift

Non affecté

RHEL 8

Non affecté

RHEL 9

Non affecté

RHEL 10

Non affecté

Source: Ce rapport a été généré à l’aide de l’IA

Connexe Samba Vulnérabilités :

CVE ID

Gravité

Partition

Technologies

Nom du composant

Exploit CISA KEV

A corrigé

Date de publication

CVE-2026-6949HIGH7.5
  • Samba logoSamba
  • samba-common-tools-debuginfo
NonOuiNov 16, 2026
CVE-2026-123613MEDIUM6.9
  • Samba logoSamba
  • aws-nitro-enclaves-cli
NonOuiNov 08, 2026
CVE-2026-135107MEDIUM6.5
  • Samba logoSamba
  • ctdb-tests
NonNonNov 26, 2026
CVE-2026-125634MEDIUM6.5
  • Samba logoSamba
  • samba
NonNonNov 25, 2026
CVE-2026-123612MEDIUM4.6
  • Samba logoSamba
  • mesa-libEGL-devel
NonOuiNov 08, 2026

Évaluation gratuite des vulnérabilités

Évaluez votre posture de sécurité cloud

Évaluez vos pratiques de sécurité cloud dans 9 domaines de sécurité afin d’évaluer votre niveau de risque et d’identifier les lacunes dans vos défenses.

Évaluation de la demande

Ressources Wiz supplémentaires

Obtenez une démo personnalisée

Prêt(e) à voir Wiz en action ?

"La meilleure expérience utilisateur que j’ai jamais vue, offre une visibilité totale sur les workloads cloud."
David EstlickRSSI
"Wiz fournit une interface unique pour voir ce qui se passe dans nos environnements cloud."
Adam FletcherChef du service de sécurité
"Nous savons que si Wiz identifie quelque chose comme critique, c’est qu’il l’est réellement."
Greg PoniatowskiResponsable de la gestion des menaces et des vulnérabilités