CVE-2026-125627 — Samba
One of 2 Samba vulnerabilities published together by NVD: our article covers all of them.
LinuxOperating systemsIdentity & authVulnerabilitiesSummary
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.
Severity breakdown
Medium · 6.5
An attacker with a normal user account can exploit this over the network, without any user action.
- Attack from
- the network (remotely)
- Attack complexity
- low (no special conditions)
- Login needed
- yes, a normal user account
- User action needed
- no
- Scope
- stays within the vulnerable component
- Impact
- high on availability, none on confidentiality and integrity
Weakness
- CWE-476: NULL Pointer Dereference
Affected and fixed versions
| Product | Affected versions | Fixed in |
|---|---|---|
| Samba | ≥ 4.5.0 | — |
References by type
Patches and fixed releases
Other references
Affected
- Samba
- Red Hat Enterprise Linux 10
- Red Hat Enterprise Linux 6
- Red Hat Enterprise Linux 7
- Red Hat Enterprise Linux 8
What to do
- Follow the vendor advisory and the references below for fixed versions and workarounds.
Frequently asked questions
What is CVE-2026-125627?
A NULL pointer dereference flaw has been found in the vlvvaluecompare() function in vlvpagination.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. Weakness type: NULL Pointer Dereference (CWE-476).
How severe is CVE-2026-125627?
CVE-2026-125627 has a CVSS 3.1 base score of 6.5 (medium), from the CNA (redhat.com). An attacker with a normal user account can exploit this over the network, without any user action.
Is CVE-2026-125627 being exploited?
Not as far as is known: CVE-2026-125627 is not in CISA's Known Exploited Vulnerabilities catalog as of November 29, 2026. EPSS estimates a 0.7% chance that it is exploited in the next 30 days.
Which versions are affected by CVE-2026-125627?
Samba ≥ 4.5.0.
How do I fix CVE-2026-125627?
Follow the advisories and patches linked on this page under References for fixed versions and workarounds.
Timeline & sources
References
Related vulnerabilities & news
- Keycloak Administrative Interface Flaw Enables Unauthorized Group Management
- Alpine Linux Vulnerability Allows Long Password Logins
- SSHole (CVE-2026-123158): OpenSSH password authentication bypass on Linux, exploited in the wild
- Debian Issues Rails Security Update Covering 18 CVEs
- Debian Issues DSA-6668-1 Covering 16 CVEs in the Symfony PHP Framework