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

- Severity: Medium 5.3 (CVSS:3.1, scored by redhat) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 61.4%, higher than 99% of CVEs (2026-12-01)
- Published: 2023-07-20T14:57:45.624Z
- Modified: 2026-11-26T17:17:02.143Z
- Weaknesses: CWE-843
- Assigned by: redhat

## Description

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.

(As written by CVE List.)

## Affected

- samba: no versions given (not affected: from 0:4.18.6-1.el8 before *; from 0:4.15.5-15.el8_6 before *; from 0:4.17.5-5.el8_8 before *; from 0:4.18.6-100.el9 before *)
- samba4: no versions given
- samba samba: before 4.16.11; from 4.17.0 before 4.17.10; from 4.18.0 before 4.18.5
- fedoraproject fedora: 37; 38
- redhat enterprise_linux: 8.0; 9.0
- debian debian_linux: 11.0; 12.0

## Every score

- redhat: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L`
- NVD: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L`

## References

- <https://access.redhat.com/errata/RHSA-2023:6667> (third-party-advisory, vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2023:7139> (third-party-advisory, vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2024:0423> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2024:0580> (vendor-advisory)
- <https://access.redhat.com/security/cve/CVE-2023-34967> (third-party-advisory, vdb-entry)
- <https://bugzilla.redhat.com/show_bug.cgi?id=2222794> (issue-tracking)
- <https://www.samba.org/samba/security/CVE-2023-34967.html> (vendor-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/BPCSGND7LO467AJGR5DYBGZLTCGTOBCC/>
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/OT74M42E6C36W7PQVY3OS4ZM7DVYB64Z/>
- <https://security.netapp.com/advisory/ntap-20230731-0010/>
- <https://www.debian.org/security/2023/dsa-5477>

## Sources

- CVE List: [CVE-2023-34967](https://www.cve.org/CVERecord?id=CVE-2023-34967), CVE Terms of Use, modified 2026-11-26
- NVD: [CVE-2023-34967](https://nvd.nist.gov/vuln/detail/CVE-2023-34967), Public domain, modified 2026-11-26

---

Page: https://cve.day/CVE-2023-34967 · Whole record: https://cve.day/CVE-2023-34967.json · Rebuilt by cve.day 2026-11-26T17:17:36.197Z
