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

Aperçu

CVE-2026-6949 is a denial-of-service vulnerability in Samba's DNS server caused by incorrect size calculations when handling TSIG records with compressed DNS names, leading to an out-of-bounds write that can crash the Samba DNS process. A compounding flaw eliminates the authentication requirement, allowing unauthenticated remote attackers to crash the DNS server by sending crafted TSIG packets. The vulnerability was discovered by Arjun Basnet, Douglas Bagnall, and Andrew Tridgell, and was publicly disclosed on July 28, 2026. Affected versions span multiple Samba branches across Ubuntu 22.04 LTS, 24.04 LTS, and 26.04 LTS. Feedly estimates the severity as Medium (Ubuntu Advisory, Feedly).

Détails techniques

The root cause is an incorrect size calculation in Samba's handling of TSIG records that contain compressed DNS names (CWE-787, Out-of-bounds Write). When a TSIG packet with name compression is processed, the DNS server miscalculates the required buffer size, resulting in a write beyond the allocated buffer boundary, which crashes the Samba DNS process. A secondary flaw removes the authentication requirement for triggering this code path, meaning no valid credentials are needed to send a malicious TSIG packet and cause the crash. Technical details were discussed publicly via the oss-security mailing list and covered in a CyCognito threat analysis (Ubuntu Advisory, CyCognito Blog, oss-sec).

Impact

Successful exploitation allows an unauthenticated remote attacker to crash the Samba DNS server process, resulting in a denial of service for all DNS-dependent services on the affected host. In Active Directory environments where Samba acts as a domain controller, a DNS outage can disrupt authentication, group policy application, and domain-joined client connectivity. There is no evidence of code execution or data exfiltration capability associated with this vulnerability; the impact is limited to availability (Ubuntu Advisory, CyCognito Blog).

Exploitabilité

No public proof-of-concept exploit code has been confirmed at this time, and there is no reported evidence of in-the-wild exploitation. The CVE status remains "Reserved" with no official CVSS score published, though Feedly estimates Medium severity. The vulnerability is notable because it requires no authentication, lowering the barrier for exploitation significantly. Detection plugins are available from Nessus (IDs: 330422, 330483, 331556, 331944, 333154, 333275, 333510) and Qualys (IDs: 6284645, 764291, 764294, 764296, 764298, 764301). CISA KEV catalog status and EPSS score are not yet available (Feedly, Tenable).

Étapes d’exploitation

  1. Reconnaissance: Identify internet-facing or network-accessible Samba DNS servers (typically on UDP/TCP port 53) running unpatched versions on Ubuntu 22.04, 24.04, or 26.04 LTS using tools like Nmap or Shodan.
  2. Craft malicious TSIG packet: Construct a DNS query containing a TSIG record with a compressed DNS name (using DNS name compression pointers per RFC 1035) that triggers the incorrect size calculation in Samba's TSIG parsing code.
  3. Send unauthenticated packet: Transmit the crafted packet to the target Samba DNS server without any authentication credentials, exploiting the secondary flaw that removes the authentication requirement for this code path.
  4. Trigger out-of-bounds write: The Samba DNS process miscalculates the buffer size for the compressed name, writes beyond the allocated buffer, and crashes the DNS service.
  5. Achieve denial of service: The Samba DNS process terminates, disrupting DNS resolution and potentially impacting all domain services dependent on the Samba DNS server (Ubuntu Advisory, CyCognito Blog).

Indicateurs de compromis

  • Network: Unexpected or malformed DNS queries on UDP/TCP port 53 containing TSIG records with compressed name fields from external or untrusted sources; repeated DNS queries from a single source IP targeting the Samba DNS server.
  • Logs: Samba DNS process crash entries in system logs (e.g., /var/log/syslog or journalctl) showing segmentation faults or abort signals from the samba or named process; DNS service restart events in rapid succession.
  • Process: Unexpected termination and restart of the Samba DNS daemon (samba-ad-dc or samba); core dump files generated in the Samba working directory following DNS process crashes.
  • File System: Presence of core dump files (e.g., core.*) in /var/lib/samba/ or the configured core dump directory following repeated crashes (Ubuntu Advisory, CyCognito Blog).

Atténuation et solutions de contournement

Ubuntu has released patched Samba package versions addressing CVE-2026-6949: Ubuntu 26.04 LTS (samba 2:4.23.6+dfsg-1ubuntu2.2), Ubuntu 24.04 LTS (samba 2:4.19.5+dfsg-4ubuntu9.7), and Ubuntu 22.04 LTS (samba 2:4.15.13+dfsg-0ubuntu1.13). SUSE and openSUSE have also released security updates (SUSE-SU-2026:3365-1, SUSE-SU-2026:3362-1, openSUSE-SU-2026:21475-1, openSUSE-SU-2026:21540-1). Administrators should apply the standard system update immediately using their distribution's package manager. As a temporary workaround where patching is not immediately possible, restricting access to the DNS port (53) from untrusted networks via firewall rules can reduce exposure (Ubuntu Advisory, SUSE Advisory).

Réactions de la communauté

The vulnerability was discussed on the oss-security mailing list shortly after disclosure, and CyCognito published a dedicated threat analysis blog post highlighting the unauthenticated nature of the attack as a key risk factor. Linux distribution security teams including Ubuntu, SUSE, openSUSE, Slackware, and Debian responded promptly with security advisories and patched packages. The Linux Compatible news aggregator covered the broader Samba patch release under the headline "Samba patches critical domain takeover flaws across all branches," reflecting community awareness of the severity of the overall Samba update batch (oss-sec, CyCognito Blog, Linux Compatible).

Ressources supplémentaires

État de correction de la distribution Linux

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

Debian

Fixé

bookworm

samba

Affecté

sid

samba: 2:4.24.5+dfsg-1

Fixé

trixie

samba: 2:4.22.10+dfsg-0+deb13u2

Fixé

Ubuntu

Fixé

bionic (esm-infra)

samba

Inconnu

devel

samba

Non affecté

focal (esm-infra)

samba

Inconnu

jammy

samba: 2:4.15.13+dfsg-0ubuntu1.13

Fixé

noble

samba: 2:4.19.5+dfsg-4ubuntu9.7

Fixé

resolute

samba: 2:4.23.6+dfsg-1ubuntu2.2

Fixé

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é

Alpine

Fixé

edge

samba: 4.23.10-r0

Fixé

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
  • ctdb-tests
NonOuiNov 16, 2026
CVE-2026-123613MEDIUM6.9
  • Samba logoSamba
  • samba.src
NonOuiNov 08, 2026
CVE-2026-123611MEDIUM6.3
  • Samba logoSamba
  • coreos-installer-bootinfra
NonOuiNov 08, 2026
CVE-2026-123610MEDIUM6.3
  • Samba logoSamba
  • libnetapi
NonOuiNov 08, 2026
CVE-2026-123612MEDIUM4.6
  • Samba logoSamba
  • libnetapi
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