Incident response on call, 24/7: +385 98 1900 984NewIR Retainer: a team on contract before an attack
HR · EN
High 7.5CVE-2026-125628

Samba AD DC: LDAP server type confusion enables denial of service

Published 30/11/2026 · Updated 01/12/2026 · Samba

Summary

A type confusion flaw (CWE-843) exists in ldapsrv_do_call() (ldap_backend.c) in the Samba LDAP server. While checking an unauthenticated connection, the function reads an LDAP extended response as if it were an extended request. Samba versions from 4.7.0rc1 onward are affected. No fixed version is listed in the record.

Per the CVSS vector (7.5, high), the attack is network-based, low complexity, and requires no authentication or user interaction. The attacker sends an extended response as the first LDAP message. The process that accepted the connection also serves other LDAP clients, so it exits and disconnects them. The replacement process crashes when the message is resent, and each subsequent restart is delayed longer.

The result is denial of service: repeating the message keeps the domain controller's LDAP service from staying available. Confidentiality and integrity are not affected. The flaw is not in the CISA KEV catalog, and no EPSS data is available.

Who is affected

Organizations running Samba (4.7.0rc1 and later) as an Active Directory domain controller with a reachable LDAP service. Red Hat states its products are not affected.

What to do

  1. Check the Samba version on domain controllers (e.g. samba --version) and confirm whether the AD DC role is in use.
  2. Follow the official Samba team advisory (bugzilla.samba.org bug 16306, merge request 4819) and apply the fixed release as soon as it is published.
  3. Restrict network access to domain controller LDAP ports (389/636) to trusted networks and clients only.
  4. Monitor logs for repeated Samba LDAP process crashes and restarts as a sign of possible attack.
  5. For Red Hat systems: Red Hat states mitigation is not applicable because its products are not affected. Confirm this at access.redhat.com/security/cve/CVE-2026-125628.

Vendor workaround

Mitigation is not applicable because no Red Hat products are affected.

Original text from the vendor's CVE record.

Affected products and versions

Samba Samba4.7.0rc1 – < *
Red Hat Red Hat Enterprise Linux 10
Red Hat Red Hat Enterprise Linux 6
Red Hat Red Hat Enterprise Linux 6
Red Hat Red Hat Enterprise Linux 7
Red Hat Red Hat Enterprise Linux 8
Red Hat Red Hat Enterprise Linux 9
Red Hat Red Hat OpenShift Container Platform 4
Red Hat Red Hat OpenShift Container Platform 4
Red Hat Red Hat OpenShift Container Platform 5

CVSS vector, explained

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Attack vector
Network (from the internet)
Attack complexity
Low
Privileges required
None (no login)
User interaction
Not required
Scope
Vulnerable component only
Confidentiality
None
Integrity
None
Availability
High impact

Weakness type (CWE)

  • CWE-843 Access of Resource Using Incompatible Type

References

Sources: CVE.org (CNA and CISA ADP), CISA KEV, FIRST EPSS. Always check the vendor's official advisory.