Description
A heap-based buffer overflow was discovered in bluetoothd in BlueZ through 5.48. There isn't any check on whether there is enough space in the destination buffer. The function simply appends all data passed to it. The values of all attributes that are requested are appended to the output buffer. There are no size checks whatsoever, resulting in a simple heap overflow if one can craft a request where the response is large enough to overflow the preallocated buffer. This issue exists in service_attr_req gets called by process_request (in sdpd-request.c), which also allocates the response buffer.
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.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | bluez | 5.54-1 | — |
| Debian 13 | bluez | 5.54-1 | — |
| Debian 12 | bluez | 5.54-1 | — |
| Debian 10 | bluez | 5.50-1.2~deb10u3 | DLA-3157-1 |
| Debian 9 | bluez | 5.43-2+deb9u5 | DLA-2827-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 18.04 LTS | bluez | 5.48-0ubuntu3.7 | USN-5183-1 |
Show 1 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 16.04 LTS | bluez | 5.37-0ubuntu5.3+esm5 | USN-7265-1 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 SP2 | bluez | 5.48-150200.13.8.1 | SUSE-SU-2022:3691-1, SUSE-SU-2022:2948-1 |
| SLES 15 SP1 | bluez | 5.48-150000.5.34.1 | SUSE-SU-2022:3687-1, SUSE-SU-2022:2864-1 |
| SLES 15 | bluez | 5.48-150000.5.34.1 | SUSE-SU-2022:3687-1, SUSE-SU-2022:2864-1 |
| SLES 12 SP5 | bluez | 5.13-5.26.1 | SUSE-SU-2022:2900-1 |
| SLES 12 SP4 | bluez | 5.13-5.26.1 | SUSE-SU-2022:2900-1 |
Show 17 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 12 SP3 | bluez | 5.13-5.26.1 | SUSE-SU-2022:2900-1 |
| SLES 12 SP2 | bluez | 5.13-5.26.1 | SUSE-SU-2022:2900-1 |
| SLES for SAP 15 SP2 | bluez | 5.48-150200.13.8.1 | SUSE-SU-2022:3691-1, SUSE-SU-2022:2948-1 |
| SLES for SAP 15 SP1 | bluez | 5.48-150000.5.34.1 | SUSE-SU-2022:3687-1, SUSE-SU-2022:2864-1 |
| SLES for SAP 15 | bluez | 5.48-150000.5.34.1 | SUSE-SU-2022:3687-1, SUSE-SU-2022:2864-1 |
| SLES for SAP 12 SP5 | bluez | 5.13-5.26.1 | SUSE-SU-2022:2900-1 |
| SLES for SAP 12 SP4 | bluez | 5.13-5.26.1 | SUSE-SU-2022:2900-1 |
| SLE HPC 15 SP2 | bluez | 5.48-150200.13.8.1 | SUSE-SU-2022:3691-1, SUSE-SU-2022:2948-1 |
| SLE HPC 15 SP1 | bluez | 5.48-150000.5.34.1 | SUSE-SU-2022:3687-1, SUSE-SU-2022:2864-1 |
| SLE HPC 15 | bluez | 5.48-150000.5.34.1 | SUSE-SU-2022:3687-1, SUSE-SU-2022:2864-1 |
| SUSE OpenStack Cloud Crowbar 9 | bluez | 5.13-5.26.1 | SUSE-SU-2022:2900-1 |
| SUSE OpenStack Cloud 9 | bluez | 5.13-5.26.1 | SUSE-SU-2022:2900-1 |
| SUSE Manager Server 4.1 | bluez | 5.48-150200.13.8.1 | SUSE-SU-2022:3691-1, SUSE-SU-2022:2948-1 |
| SUSE Manager Retail Branch Server 4.1 | bluez | 5.48-150200.13.8.1 | SUSE-SU-2022:3691-1, SUSE-SU-2022:2948-1 |
| SUSE Manager Proxy 4.1 | bluez | 5.48-150200.13.8.1 | SUSE-SU-2022:3691-1, SUSE-SU-2022:2948-1 |
| SUSE Enterprise Storage 7 | bluez | 5.48-150200.13.8.1 | SUSE-SU-2022:3691-1, SUSE-SU-2022:2948-1 |
| SUSE Enterprise Storage 6 | bluez | 5.48-150000.5.34.1 | SUSE-SU-2022:3687-1, SUSE-SU-2022:2864-1 |
Amazon Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Amazon Linux 2 | bluez +4 | 5.44-7.amzn2.0.3 | ALAS2-2023-2309 |
Advisories 10
- USN-7265-1 bluez vulnerabilities Ubuntu Security Notices (USN) · Jun 25, 2026
- USN-5183-1 bluez vulnerability Ubuntu Security Notices (USN) · Apr 27, 2026
- DLA-3157-1 bluez - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DLA-2827-1 bluez - security update Debian Security (DSA / DLA) · Mar 9, 2026
- SUSE-SU-2022:2900-1 Security update for bluez SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2022:2948-1 Security update for bluez SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2022:2864-1 Security update for bluez SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2022:3691-1 Security update for bluez SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2022:3687-1 Security update for bluez SUSE / openSUSE Security Updates · Feb 4, 2026
- ALAS2-2023-2309 Moderate: bluez security update (Amazon Linux 2) Amazon Linux Security Center (ALAS) · Oct 19, 2023