CVE-2023-34966Samba: infinite loop in mdssvc rpc service for spotlight
- 7.5HighCVSS base score
- 62.4%Exploitation in 30 daysEPSS · top 0.8% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
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.
Timeline
ID reserved
By redhat
- 43 days later
· 43 days later
Published
- 3 years later
· 3 years later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| redhatCNA (assigner) | 3.1 | High7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVDNVD · Modified | 3.1 | High7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
- EPSS (exploitation in 30 days)
- 62.4% · top 0.8% of all CVEs (17 Nov 2026)
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 7.5.
Affected products
Red Hat · Red Hat Enterprise Linux 8
- unaffected 0:4.18.6-1.el8 – < *
Red Hat · Red Hat Enterprise Linux 8
- unaffected 0:4.18.6-1.el8 – < *
Red Hat · Red Hat Enterprise Linux 8.6 Extended Update Support
- unaffected 0:4.15.5-15.el8_6 – < *
Red Hat · Red Hat Enterprise Linux 8.8 Extended Update Support
- unaffected 0:4.17.5-5.el8_8 – < *
Red Hat · Red Hat Enterprise Linux 9
- unaffected 0:4.18.6-100.el9 – < *
Red Hat · Red Hat Enterprise Linux 9
- unaffected 0:4.18.6-100.el9 – < *
Red Hat · Red Hat Enterprise Linux 9.2 Extended Update Support
- unaffected 0:4.17.5-105.el9_2 – < *
Red Hat · Red Hat Virtualization 4 for Red Hat Enterprise Linux 8
- unaffected 0:4.15.5-15.el8_6 – < *
Red Hat · Red Hat Enterprise Linux 6
All versions: unknown
Red Hat · Red Hat Enterprise Linux 6
All versions: unknown
Red Hat · Red Hat Enterprise Linux 7
All versions: unknown
All versions: unknown
What to do
Workaround: As a possible workaround, disable Spotlight by removing all configuration stanzas ("spotlight=yes|true") that enable Spotlight .
References
References12
- RHSA-2023:6667 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- RHSA-2023:7139 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- RHSA-2024:0423 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- RHSA-2024:0580 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- RHSA-2024:4101 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- https://access.redhat.com/security/cve/CVE-2023-34966 (opens in a new tab)vdb-entryx_refsource_REDHATx_transferred
- RHBZ#2222793 (opens in a new tab)issue-trackingx_refsource_REDHATx_transferred
- https://www.samba.org/samba/security/CVE-2023-34966 (opens in a new tab)x_transferred
- https://lists.fedoraproject.org/archives/list/[email protected]/message/BPCSGND7LO467AJGR5DYBGZLTCGTOBCC/ (opens in a new tab)x_transferred
- https://lists.fedoraproject.org/archives/list/[email protected]/message/OT74M42E6C36W7PQVY3OS4ZM7DVYB64Z/ (opens in a new tab)x_transferred
- https://security.netapp.com/advisory/ntap-20230731-0010/ (opens in a new tab)x_transferred
- https://www.debian.org/security/2023/dsa-5477 (opens in a new tab)x_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2023-39005 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2023-34966)Record last updated .