BreachSpiderVerified, not vibes

CVE-2021-3588 in Bluez

Low 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.

Affects 1 product from 1 vendor. Facts below cite their sources.

CVSS 3.13.3
EPSS0.4%
EPSS percentile31th
FixUnknown

Requires local access, low complexity, low privileges required, no user interaction needed, impact contained to the vulnerable component, no integrity impact, no availability impact.

Affected products and versions

VendorProductAffected versions
Bluez Bluez < 5.56

A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.

Fix and vendor advisory

No official vendor advisory link on record. See the CVE record.

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitNot confirmed

Official 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.

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2021-3588
BreachSpider IDBS-2021-GLOBAL-077942-L
CVSS vectorCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
Published2021-06-10
Last modified2026-06-17
Weakness (CWE)
SourceNVD

Weakness definitions

CWE-125: Out-of-Bounds Read

Software reads data past the boundary of an allocated buffer, leaking sensitive information or causing crashes.

CWE-788: CWE-788

Related attack patterns (CAPEC)

CAPEC-540 Overread Buffers via CWE-125

Mapping is CWE to CAPEC per MITRE CAPEC 3.9.

Analysis AI-written, not human-reviewed

A vulnerability in the cli_feat_read_cb() function in src/gatt-database.c of a Bluetooth Low Energy (BLE) stack allows for out-of-bounds read access due to improper bounds checking on the 'offset' variable.

An attacker can exploit this vulnerability by sending a specially crafted GATT read request with an 'offset' value that exceeds the bounds of the target array. This could lead to information disclosure or potentially more severe issues depending on the context and memory layout.

Questions

What is CVE-2021-3588?

A vulnerability in the cli_feat_read_cb() function in src/gatt-database.c of a Bluetooth Low Energy (BLE) stack allows for out-of-bounds read access due to improper bounds checking on the 'offset' variable.

What is the CVSS score for CVE-2021-3588?

CVE-2021-3588 has CVSS 3.3 (Low). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N. EPSS: 0.4%.

Is CVE-2021-3588 actively exploited?

No confirmed active exploitation of CVE-2021-3588 as of 2026-09-25.

How do I remediate CVE-2021-3588?

Priority: HIGH.

What systems are affected by CVE-2021-3588?

CVE-2021-3588 affects Bluez Bluez.

For developers and AI agents

Run this check from your own code or agent

REST API

curl -s https://breachspider.com/api/v1/assets/correlate-cves \
 -H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
 -H "Content-Type: application/json" \
 -d '{"assets":[{"asset_id":"dev-1","vendor":"Bluez","product":"Bluez","version":"1.0"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.