{"schemaVersion":3,"id":"CVE-2023-50230","aliases":["UBUNTU-CVE-2023-50230","DEBIAN-CVE-2023-50230"],"status":"published","duplicateOf":null,"title":null,"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-20938.","dates":{"published":"2024-05-03T02:14:47.428Z","modified":"2025-11-04T16:10:46.714Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":8,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"NVD","vector":"CVSS:3.1/AV:A/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.0","versionLabel":"v3.0","source":"CVE.org","score":7.1,"severity":"high","vector":"CVSS:3.0/AV:A/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":8,"severity":"high","vector":"CVSS:3.1/AV:A/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","exploitability":5.4,"impact":9.8,"computed":true},{"version":"3.0","versionLabel":"v3.0","source":"OSV · Ubuntu","score":7.1,"severity":"high","vector":"CVSS:3.0/AV:A/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H","exploitability":3.1,"impact":9.8,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":8,"severity":"high","vector":"CVSS:3.1/AV:A/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","exploitability":5.4,"impact":9.8,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":8,"severity":"high","vector":"CVSS:3.1/AV:A/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"3.0","versionLabel":"v3.0","source":"NVD","score":7.1,"severity":"high","vector":"CVSS:3.0/AV:A/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.01493,"percentile":0.73764,"severity":"low","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.01493},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.01493,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.01493,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.01493,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.01493,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.01493,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.01493,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.01493,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.01493,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.01493,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.01493,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.01493,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.01493,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.01493,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.01493,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.01493,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.01493,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.01493,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.01493,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.01493,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.01493,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.01493,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.01493,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.01493,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.01493,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.01493,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.01493,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.01493,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.01493,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.01493,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.01493,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.01493,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.01493,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.01493,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.01493,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.01493,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.01493,"percentile":0.73764}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.01493,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.01493,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.01493,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.01493,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.01493,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.01493,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.01493,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.01493,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.01493,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.01493,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.01493,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.01493,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.01493,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.01493,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.01493,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.01493,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.01493,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.01493,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.01493,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.01493,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.01493,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.01493,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.01493,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.01493,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.01493,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.01493,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.01493,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.01493,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.01493,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.01493,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.01493,"percentile":0.73764}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-122","name":"Heap-based Buffer Overflow","description":"A heap overflow condition is a buffer overflow, where the buffer that can be overwritten is allocated in the heap portion of memory, generally meaning that the buffer was allocated using a routine such as malloc().","type":"weakness","status":"Draft","abstraction":"Variant","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/122.html"}],"affected":[{"vendor":"bluez","product":"bluez","name":"bluez","label":"bluez","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"5.66","noFixRecorded":false,"fixedIn":null},{"text":"≥ 5.66, < 5.70","noFixRecorded":false,"fixedIn":null}],"versionsText":"5.66 | ≥ 5.66, < 5.70","eol":null,"hubHref":"/vendor/bluez/bluez"},{"vendor":"debian","product":"bluez","name":"bluez","label":"bluez","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/bluez","purlType":"deb","versions":[{"text":"< 5.66-1+deb12u2","noFixRecorded":false,"fixedIn":null},{"text":"< 5.70-1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 5.66-1+deb12u2 | < 5.70-1","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"bluez","name":"bluez","label":"bluez","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/bluez","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null},{"text":"< 5.53-0ubuntu3.9","noFixRecorded":false,"fixedIn":null},{"text":"< 5.64-0ubuntu1.4","noFixRecorded":false,"fixedIn":null}],"versionsText":"All versions (No fix recorded) | < 5.53-0ubuntu3.9 | < 5.64-0ubuntu1.4","eol":null,"hubHref":null}],"affectedCount":3,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://www.zerodayinitiative.com/advisories/ZDI-23-1812/","label":"www.zerodayinitiative.com/advisories/ZDI-23-1812/","hostname":"www.zerodayinitiative.com","tags":["X Research Advisory","REPORT","Third Party Advisory"]},{"url":"https://github.com/bluez/bluez/commit/5ab5352531a9cc7058cce569607f3a6831464443","label":"github.com/bluez/bluez/commit/5ab5352531a9cc7058cce569607f3a6831464443","hostname":"github.com","tags":["Vendor Advisory","Patch"]},{"url":"https://lists.debian.org/debian-lts-announce/2024/09/msg00022.html","label":"lists.debian.org/debian-lts-announce/2024/09/msg00022.html","hostname":"lists.debian.org","tags":[]},{"url":"https://ubuntu.com/security/CVE-2023-50230","label":"ubuntu.com/security/CVE-2023-50230","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2023-50230","label":"www.cve.org/CVERecord?id=CVE-2023-50230","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://ubuntu.com/security/notices/USN-7222-1","label":"ubuntu.com/security/notices/USN-7222-1","hostname":"ubuntu.com","tags":["Advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2023-50230","label":"security-tracker.debian.org/tracker/CVE-2023-50230","hostname":"security-tracker.debian.org","tags":["Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-50230","label":"nvd.nist.gov/vuln/detail/CVE-2023-50230","hostname":"nvd.nist.gov","tags":["Oval","Advisory"]}],"lineage":{"upstream":[],"downstream":["DLA-3879-1","RHSA-2024:9413","SUSE-SU-2024:0166-1","SUSE-SU-2024:0167-1","SUSE-SU-2024:0182-1","SUSE-SU-2024:0183-1","SUSE-SU-2024:0204-1","USN-7222-1"],"duplicates":[],"related":["SUSE-SU-2024:0166-1","SUSE-SU-2024:0167-1","SUSE-SU-2024:0182-1","SUSE-SU-2024:0183-1","SUSE-SU-2024:0204-1","USN-7222-1"]},"timeline":[{"kind":"published","date":"2024-05-03T02:14:47.428Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2025-11-04T16:10:46.714Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":32,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-20T07:30:51.419Z","stale":false,"partial":false}}