# CVE-2026-125627: Samba: samba4: null dereference in vlv\_value\_compare crashes the ad dc ldap worker

- Priority: **Routine**
- Reason: Not severe (CVSS 6.5, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-11-27 · Modified: 2026-11-27
- Aliases: UBUNTU-CVE-2026-125627, DEBIAN-CVE-2026-125627
- Record: https://cvemate.com/vulnerability/CVE-2026-125627 · JSON: https://cvemate.com/vulnerability/CVE-2026-125627/json

## Description

```text
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.
```

## Signals

- CVSS: 6.5 medium (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- EPSS: 0.749%, percentile 56.276%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- debian samba (Debian): All versions (No fix recorded)
- ubuntu samba (Ubuntu): All versions (No fix recorded)
- samba samba: ≥ 4.5.0 (No fix recorded)

## References

- <https://access.redhat.com/security/cve/CVE-2026-125627>
- <https://bugzilla.redhat.com/show_bug.cgi?id=2585306>
- <https://bugzilla.samba.org/show_bug.cgi?id=16296>
- <https://gitlab.com/samba-team/samba/-/merge_requests/4801>
- <https://ubuntu.com/security/CVE-2026-125627>
- <https://www.cve.org/CVERecord?id=CVE-2026-125627>
- <https://security-tracker.debian.org/tracker/CVE-2026-125627>

---

Data as of 2026-12-05T03:24:00.848Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
