CVE-2026-125627

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.

Statement

Red Hat Product Security has rated this vulnerability with a Moderate security impact. This vulnerability affects Samba's AD DC Virtual List View handling.

An authenticated directory user who can search at least one object can exploit the flaw in the default configuration of an AD DC.

A (Availability): High. The attacker can fault each LDAP worker. The prefork master replaces a worker, and each further exit of that worker waits longer, up to the maximum backoff. While the attacker continues, the LDAP workers can be kept stopped.

The vulnerable code was introduced in samba version 4.5.0 when Virtual List View support was added. All versions of Samba from 4.5.0 are affected.
Red Hat Enterprise Linux 6, 7, 8, 9, and 10, along with Red Hat In-Vehicle Operating System 2, ship RHEL builds of Samba compiled without the AD DC ldb modules (--without-ad-dc), so the vulnerable code is absent and those streams are not affected.

Likewise, Red Hat Enterprise Linux CoreOS (RHCOS) does not ship Samba packages by default, while Red Hat OpenShift Container Platform images consume Samba directly from RHEL builds, making them not affected.

Mitigation

Mitigation is not applicable because no Red Hat products are affected.

Common Vulnerability Scoring System (CVSS) Score Details

Info alert:Important note

CVSS scores for open source components depend on vendor-specific factors (e.g. version or build chain). Therefore, Red Hat's score and impact rating can be different from NVD and other vendors. Red Hat remains the authoritative CVE Naming Authority (CNA) source for its products and services (see Red Hat classifications).

The following CVSS metrics and score provided are preliminary and subject to review.

CVSS v3 Score Breakdown

Red HatNVDcve.org
Base Score6.5N/AN/A
Attack VectorNetworkN/AN/A
Attack ComplexityLowN/AN/A
Privileges RequiredLowN/AN/A
User InteractionNoneN/AN/A
ScopeUnchangedN/AN/A
ConfidentialityNoneN/AN/A
Integrity ImpactNoneN/AN/A
Availability ImpactHighN/AN/A

Vector

Red Hat: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Understanding the Weakness (CWE)

Availability

Technical Impact: DoS: Crash, Exit, or Restart

NULL pointer dereferences usually result in the failure of the process unless exception handling (on some platforms) is available and implemented. Even when exception handling is being used, it can still be very difficult to return the software to a safe state of operation.

Integrity,Confidentiality

Technical Impact: Execute Unauthorized Code or Commands; Read Memory; Modify Memory

In rare circumstances, when NULL is equivalent to the 0x0 memory address and privileged code can access it, then writing or reading memory is possible, which may lead to code execution.

Frequently Asked Questions

Want to get errata notifications? Sign up here.