Skip to content
DayZeroHub
Medium Not yet writtenCVSS 6.5CVE-2026-125627

CVE-2026-125627: Samba: samba4: null dereference in vlv_value_compare crashes the ad dc ldap worker

Samba Samba

Preliminary notice: published right away from the original source data, without editorial write-up. It will shortly be replaced by a written and reviewed version.

Summary

CVE-2026-125627: medium-severity vulnerability (CVSS 6.5) in Red Hat Red Hat Enterprise Linux 6.

What happened

Original description from the source: A **NULL pointer dereference** flaw has been found in the vlv_value_compare() function in vlv_pagination.c of the Virtual List View module in the **Samba** package. The function uses the sort value from the search result with no check that the result still contains that attribute. A low-privileged network attacker or user who can search the directory sends a Virtual List View search by value, sorted on an attribute the matching entries do not have. The LDAP worker that handles the search exits, which disconnects the directory clients that were using that worker, and the directory service starts a replacement worker. Another search of the same kind crashes the worker that accepts it, and each further crash waits longer before that worker is replaced, so repeating the search keeps the LDAP service from staying available. The same crash follows a search sorted on an attribute the attacker is not allowed to read. The directory removes that attribute from the result, and the comparison uses the missing value.

Why it matters

Medium severity, CVSS 6.5.

Affected products and versions

Red Hat Red Hat Enterprise Linux 6

ProductVersionsFixed in
Samba Samba4.5.0—
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——
Red Hat Red Hat OpenShift Container Platform 5——

Action recommended by the source

See the official references for the fix or mitigation.

Information taken from the source or the vendor. Verify it at the original link before acting.

Sources and references

Weaknesses (CWE): CWE-476

Relevant change history

  1. Published

    Preliminary advisory published.