Vulnerability · CVE-2023-34966
An infinite loop vulnerability was found in Samba's mdssvc RPC service for Spotlight.
Published Jul 20, 2023 · catalog updated Nov 7, 2026 · An infinite loop vulnerability
Last checked Nov 8, 2026. A connected source was read within the last 7 days.
Check this week
CVE-2023-34966 is not in CISA KEV. FIRST estimates a 62.40% chance of exploitation in the next 30 days. Check whether you run An infinite loop vulnerability.
Gaps on this record
- The stored product name is a package slug. The name on this page is taken from the title (An infinite loop vulnerability).
- No vendor fix or required action is stored. Compare the linked advisory before you change production.
Same product and reporting
- CVE-2026-58224 · Medium
- CVE-2023-3347 · Medium
- CVE-2023-34968 · Medium
- CVE-2023-34967 · Medium
- CVE-2022-2127 · Medium
- Severity
- High7.5
- Known exploitation
- Not in CISA/VulnCheck KEV
- EPSS
- 62.40%
- Remediation
- Version ranges on file
- Affected products
- cpe debian/debian linux · cpe fedoraproject/fedora · cpe redhat/enterprise linux · cpe samba/samba
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.
Are you affected?
Enter the version you run. The result uses only the ranges stored on this record.
The check returns affected, not affected, or incomplete. It does not guess a version that is missing from the record.
- cpe debian/debian linux11.0
- cpe debian/debian linux12.0
- cpe fedoraproject/fedora37
- cpe redhat/enterprise linux8.0
- cpe redhat/enterprise linux9.0
- cpe samba/samba< 4.16.11
- cpe samba/samba< 4.17.10
- cpe samba/samba< 4.18.5
How to fix CVE-2023-34966
Upgrade
CVE-2023-34966 lists a fix boundary at 4.16.11. Compare the installed build with that boundary before you change production.
Version check
Affected < 4.16.11
Advisory
Open the cve_org record and follow its fix.
Official advisories
What to do
Three questions, each answered from this record only. Confirm the vendor advisory before you patch.
Should you patch?
CVE-2023-34966 is not in CISA KEV. FIRST estimates a 62.40% chance of exploitation in the next 30 days. Check whether you run An infinite loop vulnerability.
Which versions are affected?
Compare what you have installed with debian/debian linux 11.0; debian/debian linux 12.0; redhat/enterprise linux 8.0; redhat/enterprise linux 9.0. Compare the installed version with the linked vendor advisory before you change production.
What should an analyst verify?
CWE-835: Infinite Loop. EPSS 62.40%. There is no CISA KEV listing. No Exploit-DB or Metasploit reference is linked. Use the source links for the original advisory.
Code
The project this record applies to. Exploit listings stay in References.
No public source repository is identified for this product.
Timeline
Detection, updates, and resolution for this record.
Jul 20, 2023 · NIST NVD
Detected
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
Nov 7, 2026 · NIST NVD
Updated
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
Sources
- CVE.orgVulnerability recordCVE-2023-34966
Official CVE identifier
cve.org - FIRST EPSSExploitation probabilityCVE-2023-34966
30-day exploitation probability 62.40%
first.org - NIST NVDVulnerability recordCVE-2023-34966
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
nvd.nist.gov
References
Freshness
Last verified in this catalog Nov 8, 2026. Significant claims (KEV, EPSS, CVSS, affected ranges) come from the source rows above — open the original publisher for the authoritative advisory.
- FIRST EPSSNov 8, 2026
- CVE.orgNov 7, 2026
- NIST NVDNov 7, 2026