Skip to main content

Samba CVE-2026-125627

| EUVDEUVD-2026-137041 MEDIUM
NULL Pointer Dereference (CWE-476)
2026-11-27 redhat GHSA-rqqr-8675-76rj
6.5
CVSS 3.1 · Vendor: redhat
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Authenticate as low-privileged directory user
  2. Delivery
    Send VLV search sorted on an absent/unreadable attribute
  3. Exploit
    Trigger NULL pointer dereference in vlv_value_compare()
  4. Execution
    Crash LDAP worker and disconnect its clients
  5. Impact
    Repeat searches to sustain directory denial of service

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A10:2025 - Mishandling of Exceptional Conditions
ASVS 5.0
V16 - Security Logging and Error Handling Null pointer safety, defensive checks
MITRE ATT&CK

1 technique across 1 tactic: Impact

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Requires Samba deployed as an Active Directory Domain Controller exposing LDAP with the Virtual List View (VLV) extension in use. The attacker must have a low-privileged but authenticated directory account capable of performing searches (PR:L). The trigger is specific: a VLV search-by-value sorted on an attribute that the matching entries do not possess, or sorted on an attribute the attacker lacks read permission for (the server removes that attribute from the result and the comparison then operates on the missing value). Limiting factors: valid directory credentials are needed (not anonymous/unauthenticated), the directory must run in AD DC/LDAP mode, and impact is availability-only - there is no read or write of directory data. No special user interaction is required beyond submitting the search.

Impact

This is a pure availability vulnerability: the input CVSS vector (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H) confirms no confidentiality or integrity impact (C:N/I:N) and availability-only damage (A:H), yielding a medium base score of 6.5. The signals are consistent rather than conflicting: network-reachable (AV:N), low attack complexity (AC:L), and no user interaction (UI:N) make it easy to trigger, but PR:L means the attacker must hold a valid low-privileged directory account able to run searches, which is the main brake on real-world severity. The vuln.today Decision label is 'this_month' (not act_now/emergency), aligning with a serviceable-but-not-critical DoS. KEV is not present in the input, so there is no confirmed active exploitation; EPSS is not provided and cannot be cited; no PoC or exploit code is referenced (only vendor advisories and the Samba fix merge request). Net: a genuine, repeatable denial-of-service against the directory service - the description notes each crash lengthens worker-replacement backoff, degrading availability cumulatively - but it is an authenticated DoS with no data-compromise path, so it is a real maintenance-window priority rather than a drop-everything emergency. Note a data caveat: the flaw is in Samba code (vlv_pagination.c), yet the only CPE provided is red_hat_enterprise_linux_6 - verify actual affected Samba/distribution versions with the vendor.

Exploit ScenarioDerived

An attacker holding a low-privileged account on a Samba Active Directory Domain Controller issues an LDAP Virtual List View (VLV) search-by-value sorted on an attribute that the matching entries do not have (or that the attacker is not permitted to read, so the server strips it from the result). The vlv_value_compare() function dereferences the missing sort value as a NULL pointer, crashing the LDAP worker and disconnecting its clients; repeating the search keeps workers crashing and the directory service unavailable. No public exploit is identified at time of analysis, and with AV:N/AC:L the request is trivial to craft once the attacker is authenticated.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.7% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Nov 27, 2026

A NULL pointer dereference in Samba's Virtual List View pagination code (vlv_value_compare() in vlv_pagination.c) allows a low-privileged, authenticated directory user to repeatedly terminate the LDAP worker handling their search, disconnecting every client served by that worker and, with repeated searches, keeping the LDAP service from staying available. The assessed vector (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H, 6.5) confirms availability-only impact, with no confidentiality or integrity effect and no access to directory data. Exposure requires Samba running as an Active Directory Domain Controller with the Virtual List View extension in use; no public exploit has been identified at time of analysis, and an upstream fix is tracked in Samba merge request 4801 and bug 16296.

RemediationAI

No exact fixed release version is given in the provided data: the fix is tracked as an upstream Samba merge request (https://gitlab.com/samba-team/samba/-/merge_requests/4801) tied to Samba bug 16296, so an upstream fix is available as a PR/commit while a released patched version is not independently confirmed - administrators should apply the upstream patch or a vendor build that includes it and track Red Hat's advisory (https://access.redhat.com/security/cve/CVE-2026-125627) and Bugzilla 2585306 for the version that ships the correction. The provided sources do not document a workaround or configuration toggle that disables the vulnerable comparison. Note that the CPE lists Red Hat Enterprise Linux 6, a platform well past end of life, so remediation there realistically means moving to a supported Samba build containing the fix rather than waiting for backported packages. Because exploitation requires an authenticated account able to perform LDAP searches against a domain controller with VLV in use, constraining which accounts hold directory search rights limits who can reach the flaw, but this follows from the stated exploitation prerequisites and is not presented as a vendor-sanctioned mitigation.

Affected VersionsENISA

Samba 4.5.0 <*

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Virtual List View (VLV) is an LDAP control (RFC 2891) that lets a client request a sorted, server-side windowed view of a result set, identified by a sort key attribute and an assertion value rather than by an offset. The affected code lives in Samba's vlv_pagination.c, part of the AD DC LDAP server stack. Per the report, vlv_value_compare() consumes the sort value taken from a search result without verifying that the result still carries the sort attribute; the value is absent when the matching entries simply do not have that attribute, and it is also absent when access controls strip an attribute the requester is not permitted to read, in which case the comparison proceeds on the missing value. This is a CWE-476 NULL pointer dereference: the LDAP worker process handling the search exits, its connected directory clients are dropped, and the service spawns a replacement worker; each additional crash of the same kind lengthens the delay before that worker is replaced, so sustained repetition degrades LDAP availability. The assessment is explicit that the impact is availability-only (C:N/I:N/A:H) with no read or write of directory data, and that valid low-privileged directory credentials plus AD DC/LDAP mode with VLV in use are prerequisites. The available sources do not describe additional trigger mechanics beyond the missing or ACL-removed sort attribute, nor do they identify particular Samba release branches as fixed.

Know when Samba gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (redhat) PRIMARY 6.5 MEDIUM
AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
vuln.today AI 6.5 MEDIUM

Network-reachable LDAP search (AV:N) that is simple to craft (AC:L) but requires an authenticated low-privileged directory account (PR:L); impact is worker crash only, so C:N/I:N/A:H.

3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
Red Hat 6.5 MEDIUM

Primary rating from Vendor (redhat).

CVSS VectorVendor: redhat

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

DescriptionCVE.org

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.

Threat Intelligence Overview

EPSS Score
0.7%
Top 49% exploitable
Prevalence
High
Samba is widely deployed enterprise software; this DoS requires AD DC/LDAP mode
Social Media
1
Sightings
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.7%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
High
Technical Impact
Partial

Priority Score

33
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +32
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

A null pointer dereference occurs when a program attempts to access memory through a pointer that has been set to NULL (address 0x0).

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

More in Samba

View all
CVE-2017-7494 CRITICAL POC
9.8 May 30

Samba since version 3.5.0 and before 4.6.4, 4.5.10 and 4.4.14 is vulnerable to remote code execution vulnerability, allo

CVE-2012-1182 CRITICAL POC
10.0 Apr 10

The RPC code generator in Samba 3.x before 3.4.16, 3.5.x before 3.5.14, and 3.6.x before 3.6.4 does not implement valida

CVE-2015-0240 CRITICAL POC
10.0 Feb 24

The Netlogon server implementation in smbd in Samba 3.5.x and 3.6.x before 3.6.25, 4.0.x before 4.0.25, 4.1.x before 4.1

CVE-2016-2118 HIGH POC
7.5 Apr 12

The MS-SAMR and MS-LSAD protocol implementations in Samba 3.x and 4.x before 4.2.11, 4.3.x before 4.3.8, and 4.4.x befor

CVE-2013-4124 MEDIUM POC
5.0 Aug 06

Integer overflow in the read_nttrans_ea_list function in nttrans.c in smbd in Samba 3.x before 3.5.22, 3.6.x before 3.6.

CVE-2014-3560 HIGH
7.9 Aug 06

NetBIOS name services daemon (nmbd) in Samba 4.0.x before 4.0.21 and 4.1.x before 4.1.11 allows remote attackers to exec

CVE-2023-34966 HIGH
7.5 Jul 20

An infinite loop vulnerability was found in Samba's mdssvc RPC service for Spotlight. Rated high severity (CVSS 7.5), th

CVE-2023-34967 MEDIUM
5.3 Jul 20

A Type Confusion vulnerability was found in Samba's mdssvc RPC service for Spotlight. Rated medium severity (CVSS 5.3),

CVE-2012-0870 HIGH
7.9 Feb 23

Heap-based buffer overflow in process.c in smbd in Samba 3.0, as used in the file-sharing service on the BlackBerry Play

CVE-2015-7540 HIGH
7.5 Dec 29

The LDAP server in the AD domain controller in Samba 4.x before 4.1.22 does not check return values to ensure successful

CVE-2017-15275 HIGH
7.5 Nov 27

Samba before 4.7.3 might allow remote attackers to obtain sensitive information by leveraging failure of the server to c

CVE-2017-14746 CRITICAL
9.8 Nov 27

Use-after-free vulnerability in Samba 4.x before 4.7.3 allows remote attackers to execute arbitrary code via a crafted S

Vendor StatusVendor

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy