Security Resilience

CVE-2023-34966

DoS in Samba ≤ 4.16.11

High EPSSDoS
Published
20 July 2023
Modified
21 November 2024
Patch / advisory
CVSS Score v3.1 7.5
Click a component to see what it means
Raw vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS Score 0.62 99.2th percentile
Risk Priority 81 floored blend · peak EPSS

CVSS and EPSS are reproduced from their sources (NVD, FIRST EPSS). Risk Priority is our own derived reading, not an NVD score.

Summary

CVE-2023-34966 is a high-severity Infinite Loop (CWE-835) vulnerability in Samba Samba. Its CVSS base score is 7.5 (High).

Operationally, exploitation aligns with the MITRE ATT&CK technique Data Obfuscation (T1001); ranked in the top 0.8% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog.

Deeper analysis AI-assisted summary

Synthesised by an AI model from the NVD description and linked references — a reading aid, not an authoritative source.

CVE-2023-34966 is an infinite loop vulnerability in Samba's mdssvc RPC service used for Spotlight indexing. The flaw resides in the core unmarshalling function sl_unpack_loop(), which fails to validate a client-supplied count field for an array-like structure in incoming Spotlight mdssvc RPC packets; supplying a value of zero causes the function to loop indefinitely and consume 100% CPU. The affected component is the Samba server implementation of the mdssvc protocol.

An unauthenticated remote attacker can exploit the issue by sending a single malformed RPC request over the network. Because the CVSS vector indicates no privileges or user interaction are required, the attack results in a denial-of-service condition that renders the Samba service unresponsive while the CPU remains saturated.

Red Hat has published multiple errata (RHSA-2023:6667, RHSA-2023:7139, RHSA-2024:0423, RHSA-2024:0580, and RHSA-2024:4101) that deliver patched Samba packages addressing the vulnerability.

The EPSS score has remained in the 0.14–0.16 range since disclosure, indicating moderate but not sharply increasing exploitation interest.

EU & UK References

Vulnerability Data

An infinite loop vulnerability was found in Samba's mdssvc RPC service for Spotlight. When parsing Spotlight mdssvc RPC packets sent by the client, the core unmarshalling function sl_unpack_loop() did not validate a field in the network packet that contains the…

more

count of elements in an array-like structure. By passing 0 as the count value, the attacked function will run in an endless loop consuming 100% CPU. This flaw allows an attacker to issue a malformed RPC request, triggering an infinite loop, resulting in a denial of service condition.

CWE(s)

Related Threats

MITRE ATT&CK Enterprise Techniques

T1001 Data Obfuscation Command And Control
Adversaries may obfuscate command and control traffic to make it more difficult to detect.
T1003.003 NTDS Credential Access
Adversaries may attempt to access or create a copy of the Active Directory domain database in order to steal credential information, as well as obtain other information about domain members such as devices, users, and access rights.
T1003.005 Cached Domain Credentials Credential Access
Adversaries may attempt to access cached domain credentials used to allow authentication to occur in the event a domain controller is unavailable.
T1003.008 /etc/passwd and /etc/shadow Credential Access
Adversaries may attempt to dump the contents of <code>/etc/passwd</code> and <code>/etc/shadow</code> to enable offline password cracking.
T1007 System Service Discovery Discovery
Adversaries may try to gather information about registered local system services.
T1011.001 Exfiltration Over Bluetooth Exfiltration
Adversaries may attempt to exfiltrate data over Bluetooth rather than the command and control channel.
Derived from this CVE’s CWE(s) via the direct CWE→ATT&CK cross-walk.

CVEs Like This One

CVE-2023-34967Same product: Debian Debian Linux
CVE-2023-3255Same product: Fedoraproject Fedora
CVE-2023-34968Same product: Debian Debian Linux
CVE-2023-43786Same product: Fedoraproject Fedora
CVE-2023-2602Same product: Debian Debian Linux
CVE-2023-2156Same product: Debian Debian Linux
CVE-2025-37859Same product: Debian Debian Linux
CVE-2023-2879Same product: Debian Debian Linux
CVE-2025-38727Same product: Debian Debian Linux
CVE-2023-52635Same product: Debian Debian Linux

Affected Assets

samba
samba
≤ 4.16.11 · 4.17.0 — 4.17.10 · 4.18.0 — 4.18.5
fedoraproject
fedora
37, 38
redhat
enterprise linux
8.0, 9.0
debian
debian linux
11.0, 12.0

Mitigating Controls

Likely Mitigating Controls AI

Per-CVE control mapping for this CVE has not run yet; the list below is derived from the weakness types (CWEs) cited in the NVD entry.

addresses: CWE-835

Enables transfer to alternate site if an infinite loop at the primary renders processing unavailable.

addresses: CWE-835

Detects and mitigates infinite loops that produce sustained resource consumption.

Mitigating Controls (NIST CSF 2.0) AI

Derived directly from the weakness types (CWEs) cited in the NVD entry via our AI-authored CWE→CSF cross-walk (authority under review) — links open the control.

ID.RA-01 partial match
blocks

Static analysis and vuln scanning during asset assessment can detect unreachable loop exits.

PR.PS-06 partial match
blocks

Secure SDLC practices (reviews, testing, static analysis) directly prevent introduction of infinite-loop defects.

Mitigating Controls (ISO/IEC 27001:2022 Annex A) AI

Derived directly from the weakness types (CWEs) cited in the NVD entry via our AI-authored CWE→ISO cross-walk (authority under review) — links open the control.

removes
removes
removes
removes
removes

References