CVE-2023-34966 in Debian Linux and 3 more products
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 count of elements in an array-like structure. By passin...
Affects 4 products from 4 vendors. Facts below cite their sources.
Remotely exploitable over the network, low complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, no confidentiality impact, no integrity impact, full availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Debian | Debian Linux | 11.0 12.0 |
| Fedoraproject | Fedora | 37 38 |
| Redhat | Enterprise Linux | 8.0 9.0 |
| Samba | Samba | < 4.16.11 ≥ 4.17.0, < 4.17.10 ≥ 4.18.0, < 4.18.5 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official description
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 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.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2023-34966 |
|---|---|
| BreachSpider ID | BS-2023-GLOBAL-178494-H |
| CVSS vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| Published | 2023-07-20 |
| Last modified | 2026-11-26 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-835: CWE-835
Analysis AI-written, not human-reviewed
An infinite loop vulnerability exists in Samba's mdssvc RPC service for Spotlight, which can be exploited by sending a specially crafted packet with a count value of 0, leading to high CPU consumption.
The vulnerability is triggered when the sl_unpack_loop() function in the mdssvc RPC service does not validate the count field in the network packet, allowing an attacker to send a packet with a count value of 0, causing the function to enter an infinite loop.
Questions
What is CVE-2023-34966?
An infinite loop vulnerability exists in Samba's mdssvc RPC service for Spotlight, which can be exploited by sending a specially crafted packet with a count value of 0, leading to high CPU consumption.
What is the CVSS score for CVE-2023-34966?
CVE-2023-34966 has CVSS 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H. EPSS: 62.9%.
Is CVE-2023-34966 actively exploited?
No confirmed active exploitation of CVE-2023-34966 as of 2026-11-27.
How do I remediate CVE-2023-34966?
Priority: HIGH. Advisory: https://access.redhat.com/errata/RHSA-2023:6667
What systems are affected by CVE-2023-34966?
CVE-2023-34966 affects Debian Debian Linux; Fedoraproject Fedora; Redhat Enterprise Linux; Samba Samba.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Debian","product":"Debian Linux","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-11-26.