Independent & educational platform Not a government body. No link or affiliation with any government organisation. Made for learning only. Test only systems you own or are authorised to test. Become a Partner or Sponsor → Full disclaimer

CVE-2023-34966

high

An infinite loop vulnerability was found in Samba's mdssvc RPC service for Spotlight.

Vendor / product: 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.

CVSS
7.5
7.5 (CVSS v3.1)
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Severity source: NVD CVSS v3.1 (nvd@nist.gov)
Timeline (UTC)
Published: 2023-07-20 15:15
Modified: 2026-11-07 07:16
NVD status: Modified
Last synced 4 days ago
Verified against the source API 2026-11-07 07:45 UTC
Exploitation
Not listed in CISA KEV (as of last catalog sync)
Absence from KEV does not mean a CVE is not exploited. Exploitation status: unknown (no authoritative evidence in our sources).

Affected products

samba / samba <4.16.11, ≥4.17.0 <4.17.10, ≥4.18.0 <4.18.5
fedoraproject / fedora 37, 38
redhat / enterprise_linux 8.0, 9.0
debian / debian_linux 11.0, 12.0

Weakness classification (CWE)

Source: NVD / CISA. “NVD-CWE-Other” and “NVD-CWE-noinfo” mean NVD could not assign a specific weakness.

Mitigation & advisories

Vendor advisory: https://www.samba.org/samba/security/CVE-2023-34966
Vendor advisory: https://www.samba.org/samba/security/CVE-2023-34966

References

Data sources

NVD CVE API 2.0 — fetched 2026-11-07 07:45 UTC · record ↗

Learn the basics

Understanding CVEs and CVSS Scores

Related CVEs