CVE-2023-50229
JSON

7.1high

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

Severity
7.1high CVSS:3.0 by zdi
Exploit likelihood
1.36% (higher than 72% of CVEs)
Published
Last changed
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

Product or packageVersionsReported by
BlueZ BlueZ5.66, from 5.66 before 5.70CVE List, NVD

All scores

zdi7.1high CVSS:3.0CVSS:3.0/AV:A/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
NVD8.0high CVSS:3.1CVSS:3.1/AV:A/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Classification

CWE-122

SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.

What each source says

CVE List

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.

NVD (es)

Vulnerabilidad de ejecución remota de código de desbordamiento de búfer de almacenamiento dinámico del perfil de acceso a la guía telefónica de BlueZ. Esta vulnerabilidad permite a atacantes adyacentes a la red ejecutar código arbitrario en instalaciones afectadas de BlueZ. Se requiere la interacción del usuario para aprovechar esta vulnerabilidad, ya que el objetivo debe conectarse a un dispositivo Bluetooth malicioso. La falla específica existe en el manejo del perfil de acceso a la agenda telefónica. El problema se debe a la falta de una validación adecuada de la longitud de los datos proporcionados por el usuario antes de copiarlos en un búfer basado en montón de longitud fija. Un atacante puede aprovechar esta vulnerabilidad para ejecutar código en el contexto de la raíz. Era ZDI-CAN-20936.

References

Sources

SourceRecordLicence
CVE ListCVE-2023-50229 changed 2025-11-04CVE Terms of Use
NVDCVE-2023-50229 changed 2026-06-17Public domain