CVE-2023-34967: Samba: type confusion in mdssvc rpc service for spotlight

CVE-2023-34967 affects 169 listed versions of Samba in the Dawnsentry catalogue.

5.3CVSS medium
None knownexploitation
61%EPSS (next 30 days)
20 July 2023published

Affected products and versions

The versions in the Dawnsentry catalogue this CVE affects, judged from the vendor's own advisory where there is one, otherwise from the CVE record and NVD, as each version's own page says.

Samba

169 of 250 listed versions are affected. Fixed in 4.18.5, 4.17.10, 4.16.11. The newest release, 4.25.1, is not affected.

4.18.4 4.18.3 4.18.2 4.18.1 4.18.0 4.17.9 4.17.8 4.17.7 4.17.6 4.17.5 4.17.4 4.17.3 4.17.2 4.17.1 4.17.0 4.16.10 4.16.9 4.16.8 4.16.7 4.16.6 4.16.5 4.16.4 4.16.3 4.16.2 4.16.1 4.16.0 4.15.13 4.15.12 4.15.11 4.15.10 4.15.9 4.15.8 4.15.7 4.15.6 4.15.5 4.15.4 4.15.3 4.15.2 4.15.1 4.15.0 4.14.14 4.14.13 4.14.12 4.14.11 4.14.10 4.14.9 4.14.8 4.14.7 4.14.6 4.14.5 4.14.4 4.14.3 4.14.2 4.14.1 4.14.0 4.13.17 4.13.16 4.13.15 4.13.14 4.13.13 and 109 more

What it is

A Type Confusion vulnerability was found in Samba's mdssvc RPC service for Spotlight. When parsing Spotlight mdssvc RPC packets, one encoded data structure is a key-value style dictionary where the keys are character strings, and the values can be any of the supported types in the mdssvc protocol. Due to a lack of type checking in callers of the dalloc_value_for_key() function, which returns the object associated with a key, a caller may trigger a crash in talloc_get_size() when talloc detects that the passed-in pointer is not a valid talloc pointer. With an RPC worker process shared among multiple client connections, a malicious client or attacker can trigger a process crash in a shared RPC mdssvc worker process, affecting all other clients this worker serves.

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L (NVD)

Published by Red Hat on 20 July 2023. Last changed 26 November 2026.

Sources

Check one version you run: look CVE-2023-34967 up, or pick a product and version in the quick lookup.

Updated 1 December 2026.