# CVE-2026-125628: Samba: samba4: extended response type confusion in ldapsrv_do_call crashes the ad dc ldap worker

- Severity: High 7.5 (CVSS:3.1, scored by redhat) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.05%, higher than 65% of CVEs (2026-12-01)
- Published: 2026-11-30T19:52:08.123Z
- Modified: 2026-12-01T14:18:07.780Z
- Weaknesses: CWE-843
- Assigned by: redhat

## Description

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.

(As written by CVE List.)

## Affected

- samba: from 4.7.0rc1 before *
- samba4: no versions given
- openshift/ose-rhel-coreos-8: no versions given
- openshift/ose-rhel-coreos-9: no versions given
- openshift/ose-rhel-coreos-10: no versions given

## References

- <https://access.redhat.com/security/cve/CVE-2026-125628> (vdb-entry)
- <https://bugzilla.redhat.com/show_bug.cgi?id=2587434> (issue-tracking)
- <https://bugzilla.samba.org/show_bug.cgi?id=16306>
- <https://gitlab.com/samba-team/samba/-/merge_requests/4819>

## Sources

- CVE List: [CVE-2026-125628](https://www.cve.org/CVERecord?id=CVE-2026-125628), CVE Terms of Use, modified 2026-11-30
- NVD: [CVE-2026-125628](https://nvd.nist.gov/vuln/detail/CVE-2026-125628), Public domain, modified 2026-12-01

---

Page: https://cve.day/CVE-2026-125628 · Whole record: https://cve.day/CVE-2026-125628.json · Rebuilt by cve.day 2026-12-01T14:32:16.553Z
