{"id":"CVE-2023-50229","state":"PUBLISHED","title":"BlueZ Phone Book Access Profile Heap-based Buffer Overflow Remote Code Execution Vulnerability","description":"BlueZ Phone Book Access Profile Heap-based Buffer Overflow Remote Code Execution Vulnerability. This vulnerability allows network-adjacent attackers to execute arbitrary code on affected installations of BlueZ. User interaction is required to exploit this vulnerability in that the target must connect to a malicious Bluetooth device.\n\nThe specific flaw exists within the handling of the Phone Book Access profile. The issue results from the lack of proper validation of the length of user-supplied data prior to copying it to a fixed-length heap-based buffer. An attacker can leverage this vulnerability to execute code in the context of root. Was ZDI-CAN-20936.","publishedAt":"2024-05-03T02:14:46.646Z","updatedAt":"2025-11-04T16:10:45.761Z","severity":{"score":7.1,"label":"High","version":"3.0","vector":"CVSS:3.0/AV:A/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H","source":"zdi"},"assigner":"zdi","products":["BlueZ BlueZ"],"affected":[{"vendor":"BlueZ","product":"BlueZ","defaultStatus":"unknown","versions":[{"version":"5.66","status":"affected"}]}],"references":["https://www.zerodayinitiative.com/advisories/ZDI-23-1811/","https://github.com/bluez/bluez/commit/5ab5352531a9cc7058cce569607f3a6831464443","https://lists.debian.org/debian-lts-announce/2024/09/msg00022.html"],"weaknesses":["CWE-122"],"ingestedAt":"2026-10-29T20:06:33.064Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2023/50xxx/CVE-2023-50229.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2023-50229","state":"PUBLISHED","datePublished":"2024-05-03T02:14:46.646Z","dateUpdated":"2025-11-04T16:10:45.761Z","assignerShortName":"zdi","assignerOrgId":"99f1926a-a320-47d8-bbb5-42feb611262e","dateReserved":"2023-12-05T16:15:17.545Z"},"containers":{"cna":{"title":"BlueZ Phone Book Access Profile Heap-based Buffer Overflow Remote Code Execution Vulnerability","descriptions":[{"lang":"en","value":"BlueZ Phone Book Access Profile Heap-based Buffer Overflow Remote Code Execution Vulnerability. This vulnerability allows network-adjacent attackers to execute arbitrary code on affected installations of BlueZ. User interaction is required to exploit this vulnerability in that the target must connect to a malicious Bluetooth device.\n\nThe specific flaw exists within the handling of the Phone Book Access profile. The issue results from the lack of proper validation of the length of user-supplied data prior to copying it to a fixed-length heap-based buffer. An attacker can leverage this vulnerability to execute code in the context of root. Was ZDI-CAN-20936."}],"affected":[{"vendor":"BlueZ","product":"BlueZ","defaultStatus":"unknown","versions":[{"version":"5.66","status":"affected"}]}],"references":[{"url":"https://www.zerodayinitiative.com/advisories/ZDI-23-1811/","name":"ZDI-23-1811","tags":["x_research-advisory"]},{"url":"https://github.com/bluez/bluez/commit/5ab5352531a9cc7058cce569607f3a6831464443","name":"vendor-provided URL","tags":["vendor-advisory"]}],"metrics":[{"format":"CVSS","cvssV3_0":{"version":"3.0","vectorString":"CVSS:3.0/AV:A/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H","baseScore":7.1,"baseSeverity":"HIGH"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-122","lang":"en","description":"CWE-122: Heap-based Buffer Overflow","type":"CWE"}]}],"providerMetadata":{"shortName":"zdi","orgId":"99f1926a-a320-47d8-bbb5-42feb611262e","dateUpdated":"2024-05-03T02:14:46.646Z"},"dateAssigned":"2023-12-05T19:37:59.726Z","datePublic":"2023-12-20T09:54:59.369Z","source":{"lang":"en","value":"Lucas Leong (@_wmliang_) of Trend Micro Zero Day Initiative"}},"adp":[{"title":"CISA ADP Vulnrichment","affected":[{"vendor":"bluez","product":"bluez","defaultStatus":"unknown","versions":[{"version":"5.66","status":"affected"}],"cpes":["cpe:2.3:a:bluez:bluez:5.66:*:*:*:*:*:*:*"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2024-06-05T14:55:35.245262Z","id":"CVE-2023-50229","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2024-06-05T14:57:12.121Z"}},{"title":"CVE Program Container","references":[{"url":"https://www.zerodayinitiative.com/advisories/ZDI-23-1811/","name":"ZDI-23-1811","tags":["x_research-advisory","x_transferred"]},{"url":"https://github.com/bluez/bluez/commit/5ab5352531a9cc7058cce569607f3a6831464443","name":"vendor-provided URL","tags":["vendor-advisory","x_transferred"]},{"url":"https://lists.debian.org/debian-lts-announce/2024/09/msg00022.html"}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2025-11-04T16:10:45.761Z"}}]}}}