BlueZ A2DP Stack-based Buffer Overflow Remote Code Execution Vulnerability
Vulnerability Details
This vulnerability allows network-adjacent attackers to execute arbitrary code on affected installations of BlueZ. An attacker must first obtain the ability to pair a malicious Bluetooth device with the target system in order to exploit this vulnerability.
The specific flaw exists within the handling of the stream endpoints. The issue results from the lack of proper validation of the length of user-supplied data prior to copying it to a fixed-length stack-based buffer. An attacker can leverage this vulnerability to execute code in the context of root.
Additional Details
BlueZ has issued an update to correct this vulnerability. More details can be found at:
https://github.com/bluez/bluez/pull/2251
Disclosure Timeline
- 2026-04-08 - Vulnerability reported to vendor
- 2026-08-24 - Coordinated public release of advisory
- 2026-08-24 - Advisory Updated
Credit
p0her (_@p0her_) in TeamH4C