CVE-2023-50229BlueZ Phone Book Access Profile Heap-based Buffer Overflow Remote Code Execution…
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. The 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.
What to do
Fixed builds are available from AlmaLinux, Debian, Red Hat, Rocky Linux, Ubuntu: see the table below for the fixed version per release.
Ubuntu has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.04 | bluez | Not affected vulnerable_code_not_present | ||
| Ubuntu 25.10 | bluez | Not affected vulnerable_code_not_present | ||
| Ubuntu 24.04 | bluez | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | bluez | Fixed | 5.64-0ubuntu1.4 | UBUNTU-CVE-2023-50229 |
| Ubuntu 20.04 | bluez | Fixed | 5.53-0ubuntu3.9 | UBUNTU-CVE-2023-50229 |
| Ubuntu 18.04 | bluez | Fix pending | UBUNTU-CVE-2023-50229 | |
| Ubuntu 16.04 | bluez | Fix pending | UBUNTU-CVE-2023-50229 | |
| Debian 14 | bluez | Fixed | 5.70-1 | DEBIAN-CVE-2023-50229 |
| Debian 13 | bluez | Fixed | 5.70-1 | DEBIAN-CVE-2023-50229 |
| Debian 12 | bluez | Fixed | 5.66-1+deb12u2 | DEBIAN-CVE-2023-50229 |
| Red Hat Enterprise Linux 10 | bluez | Not affected | ||
| Red Hat Enterprise Linux 10 | bluez-cups | Not affected | ||
| Red Hat Enterprise Linux 10 | bluez-libs | Not affected | ||
| Red Hat Enterprise Linux 10 | bluez-libs-devel | Not affected | ||
| Red Hat Enterprise Linux 10 | bluez-obexd | Not affected | ||
| Red Hat Enterprise Linux 9 | bluez | Fixed | 0:5.72-2.el9 | RHSA-2024:9413 |
| Red Hat Enterprise Linux 9 | bluez-cups | Fixed | 0:5.72-2.el9 | RHSA-2024:9413 |
| Red Hat Enterprise Linux 9 | bluez-libs | Fixed | 0:5.72-2.el9 | RHSA-2024:9413 |
| Red Hat Enterprise Linux 9 | bluez-libs-devel | Fixed | 0:5.72-2.el9 | RHSA-2024:9413 |
| Red Hat Enterprise Linux 9 | bluez-obexd | Fixed | 0:5.72-2.el9 | RHSA-2024:9413 |
| Red Hat Enterprise Linux 8 | bluez | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 8 | bluez-cups | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 8 | bluez-hid2hci | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 8 | bluez-libs | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 8 | bluez-libs-devel | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 8 | bluez-obexd | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | bluez | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 7 | bluez-cups | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 7 | bluez-hid2hci | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 7 | bluez-libs | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 7 | bluez-libs-devel | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | bluez | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | bluez-alsa | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | bluez-compat | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | bluez-cups | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | bluez-gstreamer | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | bluez-libs | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | bluez-libs-devel | Will not fix Out of support scope | ||
| AlmaLinux 9 | bluez | Fixed | 5.72-2.el9 | ALSA-2024:9413 |
| AlmaLinux 9 | bluez-cups | Fixed | 5.72-2.el9 | ALSA-2024:9413 |
| AlmaLinux 9 | bluez-libs | Fixed | 5.72-2.el9 | ALSA-2024:9413 |
| AlmaLinux 9 | bluez-libs-devel | Fixed | 5.72-2.el9 | ALSA-2024:9413 |
| AlmaLinux 9 | bluez-obexd | Fixed | 5.72-2.el9 | ALSA-2024:9413 |
| Rocky Linux 9 | bluez | Fixed | 0:5.72-2.el9 | RLSA-2024:9413 |
What the vendor says
As published in the CVE record by zdi, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- BlueZ: affected: 5.66
Vendor advisories:
References
- https://www.zerodayinitiative.com/advisories/ZDI-23-1811/
- https://github.com/bluez/bluez/commit/5ab5352531a9cc7058cce569607f3a6831464443
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.