CVE-2021-3588
NixOS vulnerability analysis and mitigation

Overview

The vulnerability CVE-2021-3588 was discovered in BlueZ, the canonical bluetooth tools and system daemons package for Linux. The issue was identified on January 4, 2021, and officially assigned a CVE ID on June 8, 2021. The vulnerability exists in the cli_feat_read_cb() function within the src/gatt-database.c file, where there is a failure to perform bounds checks on the 'offset' variable before using it as an array index (CVE Mitre, Debian Tracker).

Technical details

The vulnerability stems from a buffer out-of-bounds read issue in the cli_feat_read_cb() function. The function uses an unchecked offset variable for array indexing, where both len and sizeof() are unsigned and offset is an external input without validation. This could allow a malicious GATT client to cause out-of-bound read operations on memory locations after the given device_state::cli_feat pointer (GitHub Issue).

Impact

The vulnerability could potentially lead to unauthorized access to memory locations, allowing attackers to read sensitive information from the affected system. While this is considered a low severity issue with a CVSS 3.3 score, it still represents a security concern for systems running the affected versions of BlueZ (Ubuntu Security).

Exploitability

The vulnerability can be exploited by a malicious GATT client by sending specially crafted offset values to trigger out-of-bounds read operations. The attack requires the attacker to have access to the Bluetooth interface of the affected system (GitHub Issue).

Mitigation and workarounds

The vulnerability was fixed in BlueZ version 5.56 and later releases. Users are advised to upgrade to version 5.63 or newer to address this issue. The fix implements proper validation checks for the offset variable before performing array operations (Gentoo Security).

Additional resources


SourceThis report was generated using AI

Related NixOS vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-75874CRITICAL10
  • NixOS logoNixOS
  • cpe:2.3:a:mozilla:firefox
NoYesAug 18, 2026
CVE-2026-74990CRITICAL9.8
  • NixOS logoNixOS
  • cpe:2.3:a:mozilla:firefox
NoYesAug 18, 2026
CVE-2026-74989CRITICAL9.8
  • NixOS logoNixOS
  • cpe:2.3:a:mozilla:firefox
NoYesAug 18, 2026
CVE-2026-74988CRITICAL9.8
  • NixOS logoNixOS
  • thunderbird
NoYesAug 18, 2026
CVE-2026-74987CRITICAL9.8
  • NixOS logoNixOS
  • MozillaFirefox-branding-upstream
NoYesAug 18, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management