AZL-116342: CVE-2026-125627 affecting package samba 4.18.3-2
A NULL pointer dereference flaw has been found in the vlvvaluecompare() function in vlvpagination.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 Software
Event History
Frequently Asked Questions
Who can exploit this issue?
A low-privileged network attacker or any user able to search the directory can trigger it. The attacker does not need access to modify directory entries.
What LDAP request conditions trigger the crash?
The attacker must issue a Virtual List View search by value that is sorted on an attribute absent from matching entries. It can also be triggered by sorting on an attribute the requester is not permitted to read, because that attribute is removed from the search result.
What is the operational impact of successful exploitation?
The LDAP worker handling the request exits, disconnecting directory clients assigned to that worker. Repeated requests can keep workers from remaining available because replacement delays increase after further crashes, resulting in LDAP service denial of service.
How can administrators determine whether they may be exposed?
Systems using the Samba Virtual List View module and allowing low-privileged users to perform directory searches may be exposed. Searches using Virtual List View sorting on missing or access-restricted attributes are the relevant trigger conditions.