Exploited now
Vulnerability WatchVulnerabilities, exploits & advisories — updated every 15 minutes
Alerts

Home › CVE › Linux

CVE-2026-125628 — Samba

High · CVSS 7.5EPSS 1.0% First seen November 30, 2026
LinuxOperating systemsIdentity & authVulnerabilities

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.

Description: NIST National Vulnerability Database (public domain)

Severity breakdown

High · 7.5 CVSS 3.1 base score from the CNA (redhat.com)

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

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

Weakness

  • CWE-843: Access of Resource Using Incompatible Type ('Type Confusion')

Affected and fixed versions

ProductAffected versionsFixed in
Samba≥ 4.7.0rc1—

From the vendor's CVE record; confirm with the vendor advisory before relying on a version number.

References by type

Patches and fixed releases

Other references

Details from NVD (public domain).

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