CVE-2026-125627
Awaiting Analysis Awaiting Analysis - Queue

NULL Pointer Dereference in Samba LDAP Service

Vulnerability report for CVE-2026-125627, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-11-27

Last updated on: 2026-11-27

Assigner: redhat-SADP

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-11-27
Last Modified
2026-11-27
Generated
2026-11-27
AI Q&A
2026-11-27
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 2 associated CPEs
Vendor Product Version / Range
samba samba *
samba samba From 4.5.0 (inc) to 4.25.1 (inc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-476 The product dereferences a pointer that it expects to be valid but is NULL.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

CVE-2026-125627 is a NULL pointer dereference flaw in Samba's Virtual List View (VLV) module, specifically in the vlv_value_compare() function. The function fails to check if a sort attribute exists in search results before accessing it. An attacker can exploit this by sending a crafted VLV search request sorted on an attribute that either does not exist in the entries or is inaccessible due to ACL restrictions. This causes the LDAP worker handling the search to crash, disconnecting directory clients and forcing the directory service to replace the worker.

Detection Guidance

Monitor LDAP service crashes or disconnections during VLV searches. Check Samba logs for vlv_value_compare() errors or worker process terminations. Use network traffic analysis to detect repeated LDAP search requests with crafted VLV controls.

Impact Analysis

This vulnerability can lead to a denial-of-service (DoS) condition where the LDAP service becomes unavailable. Repeated crashes of LDAP workers cause increasing delays between restarts, keeping the service down. Authenticated users can exploit this to disrupt directory services, affecting authentication and access to directory resources.

Compliance Impact

This vulnerability primarily impacts availability by causing LDAP service crashes through crafted searches, leading to denial-of-service conditions. It does not directly expose or leak data, so confidentiality or integrity violations are not the primary concern. Compliance impacts would stem from service disruptions affecting access to directory services, which may violate availability requirements in GDPR or HIPAA for systems relying on LDAP for authentication or data access.

Mitigation Strategies

Apply the official Samba patch from the upstream repository or vendor updates. Disable VLV support if not required. Restrict LDAP search permissions to prevent unauthorized VLV searches. Monitor LDAP service stability and restart workers as needed.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-125627. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart

Security Radar

News mentioning this vulnerability
Loading related security news...