Skip to content
Memory corruption Advisory Advanced CVE-2026-19774

BlueZ A2DP Stack-based Buffer Overflow Remote Code Execution Vulnerability

The BlueZ A2DP stack mishandles stream endpoints by copying user-supplied data into a fixed-length stack buffer without validating its length. A network-adjacent attacker who can pair a malicious Bluetooth device could exploit this to execute arbitrary code as root.

p0her in TeamH4C Follow

Originally disclosed on Zero Day Initiative

High 7.1 View original

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.

p0her (_@p0her_) in TeamH4C, on the Zero Day Initiative

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely a missing length check before copying attacker-controlled stream endpoint data into a fixed-size stack buffer.

Impact

An attacker could execute arbitrary code with root privileges on affected installations, but must first pair a malicious Bluetooth device with the target system.

What the attacker needed

Network-adjacent access; pair a malicious Bluetooth device

The fix

BlueZ issued an update to correct this vulnerability.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

A program that handles Bluetooth audio streams takes data from a connected device and copies it into a small, fixed-size area of memory without checking how much data is coming. If too much data is sent, it spills over into other memory and can let an attacker run their own commands. The attacker first needs to pair a malicious Bluetooth device with the victim's system.

What is Memory corruption?

Native code reads or writes memory it should not: overflows, use-after-free, type confusion. The core of browser, kernel and parser bugs.

More from Zero Day Initiative

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Memory corruption

The lesson behind this report.

Native code reads or writes memory it should not: overflows, use-after-free, type confusion. The core of browser, kernel and parser bugs.