# CVE-2021-3588: bluetooth: The cli_feat_read_cb() function in src/gatt-database.c does not perform bounds checks on the 'offset' variable before...

CVE-2021-3588 is fixed in 7 products on 1 platform, first by bluetooth 5.53-0ubuntu3.2, released June 9, 2021. It is not reported as exploited. Patch Radar priority: Routine.

- Web page: https://patchblox.com/security/cve/CVE-2021-3588
- Priority: Routine
- CVSS: n/a (Medium)
- EPSS: 0.0045
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: Jun 9, 2021

## Description

The cli_feat_read_cb() function in src/gatt-database.c does not perform bounds checks on the 'offset' variable before using it as an index into an array for reading.

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | bluetooth Ubuntu 20.04 LTS (focal) | 5.53-0ubuntu3.2 | [bluetooth 5.53-0ubuntu3.2](https://patchblox.com/security/data/fix/linux/ubuntu-focal-bluetooth-5.53-0ubuntu3.2.md) | Jun 9, 2021 |
| Linux | bluez Ubuntu 20.04 LTS (focal) | 5.53-0ubuntu3.2 | [bluez 5.53-0ubuntu3.2](https://patchblox.com/security/data/fix/linux/ubuntu-focal-bluez-5.53-0ubuntu3.2.md) | Jun 9, 2021 |
| Linux | bluez-cups Ubuntu 20.04 LTS (focal) | 5.53-0ubuntu3.2 | [bluez-cups 5.53-0ubuntu3.2](https://patchblox.com/security/data/fix/linux/ubuntu-focal-bluez-cups-5.53-0ubuntu3.2.md) | Jun 9, 2021 |
| Linux | bluez-hcidump Ubuntu 20.04 LTS (focal) | 5.53-0ubuntu3.2 | [bluez-hcidump 5.53-0ubuntu3.2](https://patchblox.com/security/data/fix/linux/ubuntu-focal-bluez-hcidump-5.53-0ubuntu3.2.md) | Jun 9, 2021 |
| Linux | bluez-obexd Ubuntu 20.04 LTS (focal) | 5.53-0ubuntu3.2 | [bluez-obexd 5.53-0ubuntu3.2](https://patchblox.com/security/data/fix/linux/ubuntu-focal-bluez-obexd-5.53-0ubuntu3.2.md) | Jun 9, 2021 |
| Linux | bluez-tests Ubuntu 20.04 LTS (focal) | 5.53-0ubuntu3.2 | [bluez-tests 5.53-0ubuntu3.2](https://patchblox.com/security/data/fix/linux/ubuntu-focal-bluez-tests-5.53-0ubuntu3.2.md) | Jun 9, 2021 |
| Linux | libbluetooth3 Ubuntu 20.04 LTS (focal) | 5.53-0ubuntu3.2 | [libbluetooth3 5.53-0ubuntu3.2](https://patchblox.com/security/data/fix/linux/ubuntu-focal-libbluetooth3-5.53-0ubuntu3.2.md) | Jun 9, 2021 |

---

Data as of 2026-11-08T13:06:02Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.
