Skip to content
Emerging threatsHigh

CVE-2023-34966Samba Vulnerability

samba: infinite loop in mdssvc RPC service for spotlight

Published Jul 20, 2023 · Updated Nov 27, 2026 · Also known as CLSA-2023-1691576181, CLSA-2023-1691576572, CLSA-2024-1724260726, DEBIAN-CVE-2023-34966, ECHO-5d53-654c-e8e2, UBUNTU-CVE-2023-34966, USN-7582-1

Key Facts

Patch immediately
  • CVE-2023-34966 is a high-severity vulnerability (CVSS 7.5 v3.1) affecting Samba, Debian Linux, Fedora (Fedoraproject) and 22 more products.
  • It is not listed in any known-exploited vulnerabilities catalog. No public exploit code is known.
  • EPSS estimates a 63% probability of exploitation in the next 30 days.
  • Fixed versions are available, including ctdb 2:4.3.11+dfsg-0ubuntu0.16.04.34+esm2, ctdb 2:4.3.11+dfsg-0ubuntu0.16.04.34+tuxcare.els5, ctdb 2:4.7.6+dfsg~ubuntu-0ubuntu2.29+esm1.
  • Brandefense priority: patch immediately, because it is very likely to be exploited soon.

Scores

CVSS v3.1

7.5

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

EPSS (30-day exploit likelihood)

63%

Higher than 99.2% of all scored CVEs

Exploit maturity

None known

ATLAS score

31/100

Publication score, see How it works

Exploitation Verdict

KEV listed

Not listed

Federal due date

None

No federal due date

Ransomware use

Not reported

Attributed actors

None named

Exploit & Defence Guidance

Exploit maturity

None known

Public exploit code

0

Proof-of-concept links

In-the-wild evidence

0

Reports of active use

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.

Affected Products

756 affected entries in total
ProductAffected versionsFixed in
SambaSambaSee advisory4.16.11
Debian LinuxDebian11.0, 12.0n/a
FedoraFedoraproject37, 38n/a
Enterprise LinuxRedhat8.0, 9.0n/a
8Enterprise LinuxSee advisoryn/a
20 more affected products in the full CVE brief

Patched Releases

ctdb

2:4.3.11+dfsg-0ubuntu0.16.04.34+esm2, 2:4.3.11+dfsg-0ubuntu0.16.04.34+tuxcare.els5, 2:4.7.6+dfsg~ubuntu-0ubuntu2.29+esm1, 2:4.7.6+dfsg~ubuntu-0ubuntu2.29+tuxcare.els3, 4.10.16-25.el7_9.tuxcare.els1, 4.13.13+git.643.8caa136952b-150200.3.26.3, 4.13.3-5.el8.4.tuxcare.els6, 4.14.5-7.el8.5.tuxcare.els6, 4.14.5-9.el8.5.tuxcare.els1, 4.15.13+git.621.c8ae836ff82-3.85.1, 4.15.13+git.663.9c654e06cdb-150300.3.57.5, 4.15.13+git.663.9c654e06cdb-150400.3.28.1, 4.17.9+git.367.dae41ffdd1f-150500.3.5.1, 4.18.5+git.313.c8e274c7852-1.1

ctdb-pcp-pmda

4.15.13+git.663.9c654e06cdb-150400.3.28.1, 4.17.9+git.367.dae41ffdd1f-150500.3.5.1, 4.18.5+git.313.c8e274c7852-1.1

ctdb-tests

4.10.16-25.el7_9.tuxcare.els1, 4.13.3-5.el8.4.tuxcare.els6

evolution-mapi

3.28.3-8.el8, 3.40.1-6.el9

evolution-mapi-langpacks

3.28.3-8.el8, 3.40.1-6.el9

libdcerpc-binding0

4.13.13+git.643.8caa136952b-150200.3.26.3

libdcerpc0

4.13.13+git.643.8caa136952b-150200.3.26.3

libndr-krb5pac0

4.13.13+git.643.8caa136952b-150200.3.26.3

libndr-nbt0

4.13.13+git.643.8caa136952b-150200.3.26.3

libndr-standard0

4.13.13+git.643.8caa136952b-150200.3.26.3

libndr1

4.13.13+git.643.8caa136952b-150200.3.26.3

libnetapi

2:4.17.10-0.amzn2023.0.1, 4.18.6-100.el9

libnetapi-devel

2:4.17.10-0.amzn2023.0.1, 4.18.6-100.el9

libnetapi0

4.13.13+git.643.8caa136952b-150200.3.26.3

libnss-winbind

2:4.3.11+dfsg-0ubuntu0.14.04.20+esm13, 2:4.3.11+dfsg-0ubuntu0.16.04.34+esm2, 2:4.3.11+dfsg-0ubuntu0.16.04.34+tuxcare.els5, 2:4.7.6+dfsg~ubuntu-0ubuntu2.29+esm1, 2:4.7.6+dfsg~ubuntu-0ubuntu2.29+tuxcare.els3

libpam-smbpass

2:4.3.11+dfsg-0ubuntu0.14.04.20+esm13

libpam-winbind

2:4.3.11+dfsg-0ubuntu0.14.04.20+esm13, 2:4.3.11+dfsg-0ubuntu0.16.04.34+esm2, 2:4.3.11+dfsg-0ubuntu0.16.04.34+tuxcare.els5, 2:4.7.6+dfsg~ubuntu-0ubuntu2.29+esm1, 2:4.7.6+dfsg~ubuntu-0ubuntu2.29+tuxcare.els3

libparse-pidl-perl

2:4.3.11+dfsg-0ubuntu0.14.04.20+esm13, 2:4.3.11+dfsg-0ubuntu0.16.04.34+esm2, 2:4.3.11+dfsg-0ubuntu0.16.04.34+tuxcare.els5, 2:4.7.6+dfsg~ubuntu-0ubuntu2.29+esm1, 2:4.7.6+dfsg~ubuntu-0ubuntu2.29+tuxcare.els3

libsamba-credentials0

4.13.13+git.643.8caa136952b-150200.3.26.3

libsamba-errors0

4.13.13+git.643.8caa136952b-150200.3.26.3

libsamba-hostconfig0

4.13.13+git.643.8caa136952b-150200.3.26.3

libsamba-passdb0

4.13.13+git.643.8caa136952b-150200.3.26.3

libsamba-policy-devel

4.15.13+git.621.c8ae836ff82-3.85.1, 4.15.13+git.663.9c654e06cdb-150300.3.57.5, 4.15.13+git.663.9c654e06cdb-150400.3.28.1, 4.17.9+git.367.dae41ffdd1f-150500.3.5.1, 4.18.5+git.313.c8e274c7852-1.1

libsamba-policy-python3-devel

4.15.13+git.621.c8ae836ff82-3.85.1, 4.15.13+git.663.9c654e06cdb-150300.3.57.5, 4.15.13+git.663.9c654e06cdb-150400.3.28.1, 4.17.9+git.367.dae41ffdd1f-150500.3.5.1, 4.18.5+git.313.c8e274c7852-1.1

libsamba-policy0-python3

4.15.13+git.621.c8ae836ff82-3.85.1, 4.15.13+git.663.9c654e06cdb-150300.3.57.5, 4.15.13+git.663.9c654e06cdb-150400.3.28.1, 4.17.9+git.367.dae41ffdd1f-150500.3.5.1, 4.18.5+git.313.c8e274c7852-1.1

Timeline

  1. Publicly disclosed

    Jul 20, 2023

  2. Last updated

    Nov 27, 2026

Weakness Type

  • CWE-835 Loop with Unreachable Exit Condition

References

15 more references in the full CVE brief

FAQ

Common Questions.

Is CVE-2023-34966 On Your Attack Surface?

Brandefense matches it against the products discovered on your perimeter and opens a finding the day a CVE like this is listed.

Request A Demo

Figures as of Dec 4, 2026. Compiled by Brandefense technologies from public vulnerability catalogs; scoring as described in How it works.

To report an error, contact Brandefense.