CVE-2023-34967
Samba vulnerability analysis and mitigation

Overview

A Type Confusion vulnerability (CVE-2023-34967) was discovered in Samba's mdssvc RPC service for Spotlight. The vulnerability was found in all versions of Samba prior to 4.18.5, 4.17.10, and 4.16.11. 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 (Samba Advisory).

Technical details

The vulnerability stems from a lack of type checking in callers of the dallocvalueforkey() function, which returns the object associated with a key. This can trigger a crash in tallocget_size() when talloc detects that the passed-in pointer is not a valid talloc pointer. The vulnerability has been assigned a CVSS v3.1 base score of 5.3 MEDIUM with vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L (NVD).

Impact

Since RPC worker processes are 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. This can result in a denial of service condition for legitimate users (Samba Advisory).

Mitigation and workarounds

As a possible workaround, administrators can disable Spotlight by removing all configuration stanzas that enable Spotlight ("spotlight = yes|true"). For a permanent fix, users should upgrade to Samba versions 4.18.5, 4.17.10, or 4.16.11 which contain patches addressing this vulnerability (Samba Advisory).

Additional resources


SourceThis report was generated using AI

Related Samba vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-10230CRITICAL10
  • SambaSamba
  • samba-winbind-krb5-locator-debuginfo
NoYesNov 07, 2025
CVE-2020-25720HIGH7.5
  • SambaSamba
  • samba-winbind-libs-32bit
NoYesNov 17, 2024
CVE-2025-0620MEDIUM4.9
  • SambaSamba
  • samba-common
NoYesJun 06, 2025
CVE-2025-9640MEDIUM4.3
  • SambaSamba
  • libwbclient-devel
NoYesOct 15, 2025
CVE-2025-58160LOW2.3
  • RustRust
  • glycin-loaders
NoYesAug 29, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management