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

State
Published
Severity
6.5 Medium
Published
Nov 27, 2026
Updated
Nov 27, 2026
Reserved
Nov 10, 2026

Read the record on cve.org

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.

ProductVersions
Samba Samba4.5.0 and later Affected
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 Red Hat

Weaknesses

References

Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.

© 2026 NVIDIA, the NVIDIA logo, and NVIDIA Inception are trademarks and/or registered trademarks of NVIDIA Corporation in the U.S. and other countries.