CVE-2026-125627
JSON

6.5medium

Samba: samba4: null dereference in vlv_value_compare crashes the ad dc ldap worker

Severity
6.5medium CVSS:3.1 by redhat
Exploit likelihood
0.75% (higher than 56% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
redhat

Description

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.

Affected

Product or packageVersionsReported by
sambafrom 4.5.0 before *CVE List
samba4Not specifiedCVE List
openshift/ose-rhel-coreos-8Not specifiedCVE List
openshift/ose-rhel-coreos-9Not specifiedCVE List
openshift/ose-rhel-coreos-10Not specifiedCVE List

Classification

CWE-476

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-125627 changed 2026-11-27CVE Terms of Use
NVDCVE-2026-125627 changed 2026-11-27Public domain