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

CVE-2026-125627 affects 250 listed versions of Samba in the Dawnsentry catalogue.

6.5CVSS medium
None knownexploitation
under 1%EPSS (next 30 days)
27 November 2026published

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

250 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 190 more

What it is

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.

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H (Red Hat)

Published by Red Hat on 27 November 2026. Last changed 27 November 2026.

Sources

Check one version you run: look CVE-2026-125627 up, or pick a product and version in the quick lookup.

Updated 2 December 2026.