What’s Vulnerable › Vulnerabilities
CVE-2023-50229: BlueZ Phone Book Access Profile Heap-based Buffer Overflow Remote Code Execution Vulnerability
- Severity: high (CVSS 8.0 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 2.3% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2024-05-03 · updated 2026-06-17
- Weakness: CWE-122
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
- BlueZ: from 5.66 before 5.70 — fixed in 5.70
How to fix
Upgrade to a fixed version: BlueZ 5.70. Check the vendor advisory for mitigations.
References
- https://github.com/bluez/bluez/commit/5ab5352531a9cc7058cce569607f3a6831464443
- 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
- https://www.zerodayinitiative.com/advisories/ZDI-23-1811/
Get alerted when CVE-2023-50229 or the next vulnerability affects your stack