CVE-2023-34966: Samba: infinite loop in mdssvc rpc service for spotlight
Vulnerability summary
CVE-2023-34966 is a high (CVSS 7.5) Loop with Unreachable Exit Condition vulnerability in debian debian_linux. EPSS estimates a 62.40% chance of exploitation in the next 30 days, higher than 99.1% of scored vulnerabilities.
Severe, CVSS 7.5 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 62% (FIRST, 03-11-2026)
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 15 · Related 8Timeline
- 20-07-2023PublishedVulnerability first disclosed.
- 20-11-2025Last modifiedVulnerability information updated.
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.
CVSS metrics
5 scores · 5 sources · 1 version- OSV · Red hatEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- OSV · UbuntuEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- OSV · DebianEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- NVDNIST7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS trend
Probability
62.40%
Chance of exploitation in the next 30 days
Percentile
99%
Versus all other CVEs
30-day change
No change 0.00 pp
From 62.40% on 04-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
Redhat60 products
- enterprise_linux8.0 | 9.0
- ctdb< 0:4.17.5-105.el9_2
- ctdb-debuginfo< 0:4.17.5-105.el9_2
- libnetapi< 0:4.17.5-105.el9_2
- libnetapi-debuginfo< 0:4.17.5-105.el9_2
Debian2 products
- samba< 2:4.17.10+dfsg-0+deb12u1 | < 2:4.18.5+dfsg-1
- debian_linuxEOL11.0 | 12.0
Fedoraproject1 product
- fedoraEOL37 | 38
Samba1 product
- samba< 4.16.11 | ≥ 4.17.0, < 4.17.10 | ≥ 4.18.0, < 4.18.5
Ubuntu1 product
- samba< 2:4.3.11+dfsg-0ubuntu0.14.04.20+esm13 | < 2:4.3.11+dfsg-0ubuntu0.16.04.34+esm2 | < 2:4.7.6+dfsg~ubuntu-0ubuntu2.29+esm1 | < 2:4.15.13+dfsg-0ubuntu0.20.04.3 | < 2:4.15.13+dfsg-0ubuntu1.2
5 vendors · 65 products
References
21 links- bugzilla.redhat.com/show_bug.cgi?id=2222793Issue TrackingX Refsource REDHATREPORTThird Party Advisory
- lists.fedoraproject.org/archives/…X Transferred
- lists.fedoraproject.org/archives/…X Transferred
Show all 21 references
- security.netapp.com/advisory/ntap-20230731-0010/X Transferred
- www.debian.org/security/2023/dsa-5477X Transferred