CVE-2026-125628 — Samba
Summary
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.
Severity breakdown
High · 7.5
An attacker without an account can exploit this over the network, without any user action.
- Attack from
- the network (remotely)
- Attack complexity
- low (no special conditions)
- Login needed
- no
- User action needed
- no
- Scope
- stays within the vulnerable component
- Impact
- high on availability, none on confidentiality and integrity
Weakness
- CWE-843: Access of Resource Using Incompatible Type ('Type Confusion')
Affected and fixed versions
| Product | Affected versions | Fixed in |
|---|---|---|
| Samba | ≥ 4.7.0rc1 | — |
References by type
Patches and fixed releases
Other references
Affected
- Samba
- Red Hat Enterprise Linux 10
- Red Hat Enterprise Linux 6
- Red Hat Enterprise Linux 7
- Red Hat Enterprise Linux 8
What to do
- Check whether you run an affected product or version and apply the vendor's update or mitigation.
- Follow the vendor advisory and the references below for fixed versions and workarounds.
Frequently asked questions
What is CVE-2026-125628?
A type confusion has been found in the ldapsrvdocall() function in ldapbackend.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. Weakness type: Access of Resource Using Incompatible Type ('Type Confusion') (CWE-843).
How severe is CVE-2026-125628?
CVE-2026-125628 has a CVSS 3.1 base score of 7.5 (high), from the CNA (redhat.com). An attacker without an account can exploit this over the network, without any user action.
Is CVE-2026-125628 being exploited?
Not as far as is known: CVE-2026-125628 is not in CISA's Known Exploited Vulnerabilities catalog as of December 2, 2026. EPSS estimates a 1.0% chance that it is exploited in the next 30 days.
Which versions are affected by CVE-2026-125628?
Samba ≥ 4.7.0rc1.
How do I fix CVE-2026-125628?
Follow the advisories and patches linked on this page under References for fixed versions and workarounds.
Timeline & sources
References
Related vulnerabilities & news
- CVE-2026-140330 — Red Hat OpenShift Container Platform 4
- Ubuntu Ships Log4j 2 Fixes for Three CVEs, Including a TLS Hostname Check Flaw in the Socket Appender
- FreeIPA NT Hash Flaw Enables NTLM Pass-the-Hash Authentication [CVE-2026-108122]
- 389 Directory Server Vulnerability Enables Unauthorized Access to Sensitive Data
- CVE-2026-107934 — Red Hat Enterprise Linux 10