CVE-2026-125628: Samba: samba4: extended response type confusion in ldapsrv_do_call crashes the ad dc ldap worker
CVE-2026-125628 affects 237 listed versions of Samba in the Dawnsentry catalogue.
Affected products and versions
The versions in the Dawnsentry catalogue this CVE affects, judged from the vendor's own advisory where there is one, otherwise from the CVE record and NVD, as each version's own page says.
Samba
237 of 250 listed versions are affected. No fixed release is named. The newest release, 4.25.1, is affected too.
4.25.1 4.25.0 4.24.8 4.24.7 4.24.6 4.24.5 4.24.4 4.24.3 4.24.2 4.24.1 4.24.0 4.23.13 4.23.12 4.23.11 4.23.10 4.23.9 4.23.8 4.23.7 4.23.6 4.23.5 4.23.4 4.23.3 4.23.2 4.23.1 4.23.0 4.22.11 4.22.10 4.22.9 4.22.8 4.22.7 4.22.6 4.22.5 4.22.4 4.22.3 4.22.2 4.22.1 4.22.0 4.21.10 4.21.9 4.21.8 4.21.7 4.21.6 4.21.5 4.21.4 4.21.3 4.21.2 4.21.1 4.21.0 4.20.8 4.20.7 4.20.6 4.20.5 4.20.4 4.20.3 4.20.2 4.20.1 4.20.0 4.19.9 4.19.8 4.19.7 and 177 more
What it is
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.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H (Red Hat)
Published by Red Hat on 30 November 2026. Last changed 1 December 2026.
Sources
Check one version you run: look CVE-2026-125628 up, or pick a product and version in the quick lookup.
Updated 2 December 2026.