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

Published Nov 27, 2026
·
Updated

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

1 affected component
Samba Samba

Event History

Nov 27, 2026
CVE Published
via MITRE·05:46 AM
Data Sourced
via MITRE·05:46 AM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Which Samba deployments are exposed?

Samba Active Directory Domain Controller LDAP services using the Virtual List View module are exposed when an attacker can perform directory searches. The attack targets LDAP workers that process Virtual List View searches by value.

2

What access does an attacker need to trigger the denial of service?

The attacker needs low-privileged network access or an account able to search the directory. No user interaction is required.

3

How can the LDAP worker be crashed?

An attacker sends a Virtual List View search by value sorted on an attribute that matching entries do not contain. The same condition can be triggered by sorting on an attribute the attacker cannot read, because that attribute is removed from the search results before comparison.

4

What is the operational effect of repeated exploitation?

Each malicious search terminates the LDAP worker handling it and disconnects clients using that worker. Although Samba starts a replacement worker, the replacement delay increases after further crashes, allowing repeated requests to prevent LDAP service from remaining available.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203