CVE-2021-3588
memory contents disclosure in cli_feat_read_cb
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.
Attack profile
How easy it is to exploit
- Attack vector
- Local
- Complexity
- Low
- Privileges needed
- Low
- User interaction
- None
What an attacker can affect
- Confidentiality
- Low
- Integrity
- None
- Availability
- None
Exploit likelihood
What each source reports
CVE List Score used
3.3
memory contents disclosure in cli_feat_read_cb
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.
- Record
CVE-2021-3588- CVSS 3.1
- 3.3 Low
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N - Weakness
- CWE-788, CWE-125
- Updated
- 2026-11-02
EUVDEUVD-2021-26896
3.3
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.
- Record
EUVD-2021-26896- CVSS 3.1
- 3.3 Low
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N - Updated
- 2026-11-03
GitHub AdvisoriesGHSA-3h8m-q4x3-3fhw
3.3
The cli_feat_read_cb() function in src/gatt-database.c does not perform bounds checks on the ...
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.
- Record
GHSA-3h8m-q4x3-3fhw- CVSS 3.1
- 3.3 Low
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N - Weakness
- CWE-125
- Updated
- 2026-11-02
NVD
3.3
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.
- Record
CVE-2021-3588- CVSS 3.1
- 3.3 Low
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N - CVSS 2.0
- 2.1 Low
AV:L/AC:L/Au:N/C:P/I:N/A:N - Weakness
- CWE-125, CWE-788
- Updated
- 2026-11-02
OSVAZL-7183
3.3
CVE-2021-3588 affecting package bluez for versions less than 5.63-1
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.
- Record
AZL-7183- CVSS 3.1
- 3.3 Low
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N - Updated
- 2026-11-02
OSV
3.3
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.
- Record
CVE-2021-3588- CVSS 3.1
- 3.3 Low
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N - Updated
- 2026-11-02
Show 8 moreShow less
OSVDEBIAN-CVE-2021-3588
3.3
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.
- Record
DEBIAN-CVE-2021-3588- CVSS 3.1
- 3.3 Low
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N - Updated
- 2026-11-02
OSVOESA-2021-1254
3.3
bluez security update
This package provides all utilities for use in Bluetooth applications. The BLUETOOTH trademarks are owned by Bluetooth SIG, Inc., U.S.A.
Security Fix(es):
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.(CVE-2021-3588)
- Record
OESA-2021-1254- CVSS 3.1
- 3.3 Low
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N - Updated
- 2026-11-02
OSVUBUNTU-CVE-2021-3588
3.3
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.
- Record
UBUNTU-CVE-2021-3588- CVSS 3.1
- 3.3 Low
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N - Updated
- 2026-11-02
OSVMGASA-2021-0281 No score
Updated bluez packages fix security vulnerability
Bluetooth LE and BR/EDR secure pairing in Bluetooth Core Specification 2.1 through 5.2 may permit a nearby man-in-the-middle attacker to identify the Passkey used during pairing (in the Passkey authentication procedure) by reflection of the public key and the authentication evidence of the initiating device, potentially permitting this attacker to complete authenticated pairing with the responding device using the correct Passkey for the pairing session. The attack methodology determines the Passkey value one bit at a time (CVE-2020-26558).
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 (CVE-2021-3588).
- Record
MGASA-2021-0281- Updated
- 2026-11-02
OSVopenSUSE-SU-2021:2459-1 No score
Security update for bluez
This update for bluez fixes the following issues:
- CVE-2021-3588: Fixed a missing bounds checks inside cli_feat_read_cb() function in src/gatt-database.c (bsc#1187165)
- Record
openSUSE-SU-2021:2459-1- Updated
- 2026-11-02
OSVopenSUSE-SU-2024:12446-1 No score
bluez-5.65-4.1 on GA media
These are all security issues fixed in the bluez-5.65-4.1 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2024:12446-1- Updated
- 2026-11-02
OSVSUSE-SU-2021:2459-1 No score
Security update for bluez
This update for bluez fixes the following issues:
- CVE-2021-3588: Fixed a missing bounds checks inside cli_feat_read_cb() function in src/gatt-database.c (bsc#1187165)
- Record
SUSE-SU-2021:2459-1- Updated
- 2026-11-02
OSVUSN-4989-1 No score
bluez vulnerabilities
It was discovered that BlueZ incorrectly checked certain permissions when pairing. A local attacker could possibly use this issue to impersonate devices. (CVE-2020-26558)
Jay LV discovered that BlueZ incorrectly handled redundant disconnect MGMT events. A local attacker could use this issue to cause BlueZ to crash, resulting in a denial of service, or possibly execute arbitrary code. This issue only affected Ubuntu 18.04 LTS and Ubuntu 20.04 LTS. (CVE-2020-27153)
Ziming Zhang discovered that BlueZ incorrectly handled certain array indexes. A local attacker could use this issue to cause BlueZ to crash, resulting in a denial of service, or possibly obtain sensitive information. This issue only affected Ubuntu 20.04 LTS and Ubuntu 20.10. (CVE-2021-3588)
- Record
USN-4989-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
bluezAzure Linux:2 |
before 5.63-1 | 5.63-1 |
bluezDebian:12 |
before 5.55-3.1 | 5.55-3.1 |
bluezDebian:13 |
before 5.55-3.1 | 5.55-3.1 |
bluezDebian:14 |
before 5.55-3.1 | 5.55-3.1 |
bluezMageia:7 From an advisory covering 2 CVEs |
before 5.54-1.2.mga7 | 5.54-1.2.mga7 |
bluezMageia:8 From an advisory covering 2 CVEs |
before 5.55-3.1.mga8 | 5.55-3.1.mga8 |
bluezopenEuler:20.03-LTS-SP1 |
before 5.54-3.oe1 | 5.54-3.oe1 |
bluezSUSE:Linux Enterprise Module for Basesystem 15 SP3 |
before 5.55-3.6.1 | 5.55-3.6.1 |
bluezSUSE:Linux Enterprise Module for Desktop Applications 15 SP3 |
before 5.55-3.6.1 | 5.55-3.6.1 |
bluezSUSE:Linux Enterprise Workstation Extension 15 SP3 |
before 5.55-3.6.1 | 5.55-3.6.1 |
Show 5 moreShow less
| Package | Affected | Fixed |
|---|---|---|
bluezUbuntu:20.04:LTS |
before 5.53-0ubuntu3.2, plus listed versions 5.50-0ubuntu45.51-0ubuntu15.51-0ubuntu25.52-0ubuntu15.52-0ubuntu2 Show 4 moreShow less5.53-0ubuntu15.53-0ubuntu25.53-0ubuntu35.53-0ubuntu3.1 |
5.53-0ubuntu3.2 |
bluezUbuntu:18.04:LTS From an advisory covering 3 CVEs |
before 5.48-0ubuntu3.5, plus listed versions 5.46-0ubuntu35.46-0ubuntu45.48-0ubuntu35.48-0ubuntu3.15.48-0ubuntu3.25.48-0ubuntu3.35.48-0ubuntu3.4 |
5.48-0ubuntu3.5 |
bluezUbuntu:20.04:LTS From an advisory covering 3 CVEs |
before 5.53-0ubuntu3.2, plus listed versions 5.50-0ubuntu45.51-0ubuntu15.51-0ubuntu25.52-0ubuntu15.52-0ubuntu2 Show 4 moreShow less5.53-0ubuntu15.53-0ubuntu25.53-0ubuntu35.53-0ubuntu3.1 |
5.53-0ubuntu3.2 |
bluezopenSUSE:Leap 15.3 |
before 5.55-3.6.1 | 5.55-3.6.1 |
bluezopenSUSE:Tumbleweed From an advisory covering 4 CVEs |
before 5.65-4.1 | 5.65-4.1 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, facts | ||
| aliases, published | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2021-3588 is a low vulnerability (CVSS 3.3) in Bluez, published June 10, 2021. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.45%, the 39th percentile. Fixed in bluez 5.63-1.
References
github.com/bluez/bluez/issues/70
security.gentoo.org/glsa/202209-16
nvd.nist.gov/vuln/detail/CVE-2021-3588
github.com/advisories/GHSA-3h8m-q4x3-3fhw
security-tracker.debian.org/tracker/CVE-2021-3588
advisories.mageia.org/MGASA-2021-0281.html
Show 14 moreShow less
bugs.mageia.org/show_bug.cgi?id=29140
ubuntu.com/security/notices/USN-4989-1
openeuler.org/en/security/safety-bulletin/detail.html?id=openEuler-SA-2021-1254
suse.com/support/update/announcement/2021/suse-su-20212459-1
bugzilla.suse.com/1187165
suse.com/security/cve/CVE-2021-3588
ubuntu.com/security/CVE-2021-3588
cve.org/CVERecord?id=CVE-2021-3588
ubuntu.com/security/CVE-2020-26558
ubuntu.com/security/CVE-2020-27153
lists.opensuse.org/archives/list/[email protected]/thread/FD7KE3RMFCUKN7TQCYXDCNJGFVIORKJL
suse.com/security/cve/CVE-2016-9801
suse.com/security/cve/CVE-2016-9918
suse.com/security/cve/CVE-2021-0129