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

- Severity: Medium 6.5 (CVSS:3.1, scored by redhat) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.75%, higher than 56% of CVEs (2026-12-01)
- Published: 2026-11-27T05:46:33.371Z
- Modified: 2026-11-27T17:17:37.250Z
- Weaknesses: CWE-476
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: redhat

## 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.

(As written by CVE List.)

## Affected

- samba: from 4.5.0 before *
- samba4: no versions given
- openshift/ose-rhel-coreos-8: no versions given
- openshift/ose-rhel-coreos-9: no versions given
- openshift/ose-rhel-coreos-10: no versions given

## References

- <https://access.redhat.com/security/cve/CVE-2026-125627> (vdb-entry)
- <https://bugzilla.redhat.com/show_bug.cgi?id=2585306> (issue-tracking)
- <https://bugzilla.samba.org/show_bug.cgi?id=16296>
- <https://gitlab.com/samba-team/samba/-/merge_requests/4801>

## Sources

- CVE List: [CVE-2026-125627](https://www.cve.org/CVERecord?id=CVE-2026-125627), CVE Terms of Use, modified 2026-11-27
- NVD: [CVE-2026-125627](https://nvd.nist.gov/vuln/detail/CVE-2026-125627), Public domain, modified 2026-11-27

---

Page: https://cve.day/CVE-2026-125627 · Whole record: https://cve.day/CVE-2026-125627.json · Rebuilt by cve.day 2026-11-27T17:32:21.569Z
