7.5

CVE-2023-34966: Samba: infinite loop in mdssvc rpc service for spotlight

Modified
AliasesRHSA-2024:4101UBUNTU-CVE-2023-34966DEBIAN-CVE-2023-34966
Published 20-07-2023Last modified 20-11-2025

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.

Priority
Prioritisesevere

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?
CVSS score
7.5/10
010
High · v3.1 (CVE.org)
EPSS score
62.40%
0%100%
Critical · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 15 · Related 8

Timeline

  1. 20-07-2023
    PublishedVulnerability first disclosed.
  2. 20-11-2025
    Last 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

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

04-10-202603-11-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

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
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
Show all 21 references