Skip to content
OpenAdvisories
High · 7.1 CVE-2023-50229 EUVD-2023-55051GHSA-5p3x-h55j-m7f2

BlueZ Phone Book Access Profile Heap-based Buffer Overflow Remote Code Execution Vulnerability

Published May 3, 2024 · Updated Nov 4, 2025 · Assigned by zdi

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.

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.

Affected products

VendorProductAffectedFixed
BlueZ BlueZ 5.66 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 bluez 5.70-1 —
Debian 13 bluez 5.70-1 —
Debian 12 bluez 5.66-1+deb12u2 —
Debian 11 bluez 5.55-3.1+deb11u2 DLA-3879-1
ReleasePackageFixed inAdvisory
Ubuntu 22.04 LTS bluez 5.64-0ubuntu1.4 USN-7222-1
Ubuntu 20.04 LTS bluez 5.53-0ubuntu3.9 USN-7222-1
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 18.04 LTS bluez No fix yet —
Ubuntu Pro 16.04 LTS bluez No fix yet —
ReleasePackageFixed inAdvisory
RHEL 9 bluez +4 5.72-2.el9 RHSA-2024:9413

AlmaLinux

Errata ↗
ReleasePackageFixed inAdvisory
AlmaLinux 9 bluez +4 5.72-2.el9 ALSA-2024:9413

Rocky Linux

Errata ↗
ReleasePackageFixed inAdvisory
Rocky Linux 9 bluez 5.72-2.el9 RLSA-2024:9413
ReleasePackageFixed inAdvisory
SLES 15 SP5 bluez 5.65-150500.3.6.1 SUSE-SU-2024:0183-1
SLES 15 SP4 bluez 5.62-150400.4.19.1 SUSE-SU-2024:0204-1
SLES 15 SP3 bluez 5.55-150300.3.28.1 SUSE-SU-2024:0182-1
SLES 15 SP2 bluez 5.48-150200.13.30.1 SUSE-SU-2024:0167-1
SLES 15 SP1 bluez 5.48-150000.5.54.1 SUSE-SU-2024:0166-1
Show 14 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES for SAP 15 SP4 bluez 5.62-150400.4.19.1 SUSE-SU-2024:0204-1
SLES for SAP 15 SP3 bluez 5.55-150300.3.28.1 SUSE-SU-2024:0182-1
SLES for SAP 15 SP2 bluez 5.48-150200.13.30.1 SUSE-SU-2024:0167-1
SLES for SAP 15 SP1 bluez 5.48-150000.5.54.1 SUSE-SU-2024:0166-1
SLE Micro 5.5 bluez 5.65-150500.3.6.1 SUSE-SU-2024:0183-1
SLE Micro 5.4 bluez 5.62-150400.4.19.1 SUSE-SU-2024:0204-1
SLE Micro 5.3 bluez 5.62-150400.4.19.1 SUSE-SU-2024:0204-1
SLE HPC 15 SP4 bluez 5.62-150400.4.19.1 SUSE-SU-2024:0204-1
SLE HPC 15 SP3 bluez 5.55-150300.3.28.1 SUSE-SU-2024:0182-1
SLE HPC 15 SP2 bluez 5.48-150200.13.30.1 SUSE-SU-2024:0167-1
SLE HPC 15 SP1 bluez 5.48-150000.5.54.1 SUSE-SU-2024:0166-1
SUSE Manager Server 4.3 bluez 5.62-150400.4.19.1 SUSE-SU-2024:0204-1
SUSE Manager Proxy 4.3 bluez 5.62-150400.4.19.1 SUSE-SU-2024:0204-1
SUSE Enterprise Storage 7.1 bluez 5.55-150300.3.28.1 SUSE-SU-2024:0182-1
ReleasePackageFixed inAdvisory
openSUSE Leap 15.5 bluez 5.65-150500.3.6.1 SUSE-SU-2024:0183-1
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
openSUSE Leap Micro 5.4 bluez 5.62-150400.4.19.1 SUSE-SU-2024:0204-1
openSUSE Leap Micro 5.3 bluez 5.62-150400.4.19.1 SUSE-SU-2024:0204-1

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 3 bluez 5.63-5 —
Azure Linux 2 (CBL-Mariner) bluez 5.63-6 —

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 9 bluez +4 5.72-2.el9 ELSA-2024-9413

Advisories 12

References