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

Vulnerability · Reported by NVD · · CWE-476

Severity
Medium Risk score 65/100
CVSS
6.5 v3.1 · from NVD
Exploit chance (EPSS)
0.75% Higher than 51% of CVEs
Known exploited
No Not in CISA KEV

Summary

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.

How this vulnerability can be exploited

This is a NULL pointer dereference flaw (CWE-476). An attacker can exploit this vulnerability remotely over the network, with a low-privileged account, and without any action from a user. Attack complexity is low, so no special conditions are needed. If successful, the attacker could crash or disrupt the service.

Is it being exploited?

The EPSS model estimates a 0.75% chance this CVE will be exploited in the next 30 days, which is low and higher than 51% of all published CVEs.

Patch priority and what to do

Patch during routine updates. Lower severity, but keep it on your list. 1) Check whether you run the affected product and version. 2) Apply the vendor update or patch listed in the advisory. 3) Until patched, restrict network access to the service (firewall, VPN, WAF rules). 4) Review logs for signs of exploitation since the publication date.

CVSS vector

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

See what each part means in the official CVSS calculator ↗

Tags

CVE-2026-125627

Sources & references

How this data is collected: methodology & sources.

Run this software? Get free alerts for new vulnerabilities →

Need to block attackers? Free hourly IOC blocklists (IPs, domains, URLs, hashes) →

Open the live threat dashboard →

Subscribe via RSS.