CVE-2026-125627
published medium CVSS 3.1 · 6.5Samba: samba4: null dereference in vlv_value_compare crashes the ad dc ldap worker
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Samba | — | sambaSamba · 4.5.0 and later · Other versions: unaffected | Affected | Not stated | redhat |
| Red Hat Enterprise Linux | 6, 7, 8, 9, 10 | samba | Unaffected | Not required | redhat |
| Red Hat Enterprise Linux | 6 | samba4 | Unaffected | Not required | redhat |
| Red Hat | — | openshift/ose-rhel-coreos-8Red Hat OpenShift Container Platform 4 | Unaffected | Not required | redhat |
| Amazon Linux | AL2 | Release evaluation | Not Affected; Pending Fix | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Red Hat | — | openshift/ose-rhel-coreos-9Red Hat OpenShift Container Platform 4 | Unaffected | Not required | redhat |
| Red Hat | — | openshift/ose-rhel-coreos-10Red Hat OpenShift Container Platform 5 | Unaffected | Not required | redhat |
Show 1 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Red Hat | — | openshift/ose-rhel-coreos-9Red Hat OpenShift Container Platform 5 | Unaffected | Not required | 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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 6.5 / 10
- Severity
- medium
- Provider
- redhat · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Samba | Samba | 4.5.0 and later (affected · semver)Default: unaffected | redhat · cna |
| Red Hat | Red Hat Enterprise Linux 10 | Default: unaffected | redhat · cna |
| Red Hat | Red Hat Enterprise Linux 6 | Default: unaffected | redhat · cna |
| Red Hat | Red Hat Enterprise Linux 6 | Default: unaffected | redhat · cna |
| Red Hat | Red Hat Enterprise Linux 7 | Default: unaffected | redhat · cna |
| Red Hat | Red Hat Enterprise Linux 8 | Default: unaffected | redhat · cna |
| Red Hat | Red Hat Enterprise Linux 9 | Default: unaffected | redhat · cna |
| Red Hat | Red Hat OpenShift Container Platform 4 | Default: unaffected | redhat · cna |
| Red Hat | Red Hat OpenShift Container Platform 4 | Default: unaffected | redhat · cna |
| Red Hat | Red Hat OpenShift Container Platform 5 | Default: unaffected | redhat · cna |
| Red Hat | Red Hat OpenShift Container Platform 5 | Default: unaffected | redhat · cna |
Weaknesses
1- CWE-476 NULL Pointer Dereference
References
4- https://access.redhat.com/security/cve/CVE-2026-125627
- RHBZ#2585306 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
Provider assertions
2redhat · cna
Samba: samba4: null dereference in vlv_value_compare crashes the ad dc ldap worker
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 420d6061afd13e6fda31c981cfb0d16e034fdfdc7eff2ac079789312f808e92c
- Ingested
- 27 Nov 2026, 16:31:48 UTC
- Source record
- Official CVE record