Skip to content
OpenAdvisories
High · 7.1 CVE-2023-51596 EUVD-2023-56308GHSA-82h5-h894-mpr2

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

Published May 3, 2024 · Updated Aug 2, 2024 · 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-20939.

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 No fix yet —
Debian 13 bluez No fix yet —
Debian 12 bluez No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 bluez No fix yet —
Ubuntu 26.04 LTS bluez No fix yet —
Ubuntu 25.10 bluez No fix yet —
Ubuntu 24.04 LTS bluez No fix yet —
Ubuntu 22.04 LTS bluez No fix yet —
Show 3 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 20.04 LTS bluez No fix yet —
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

Oracle Linux

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

Advisories 5

References