Read the docs
TI-2021-18068 Aliases CVE-2021-41229

Memory leak in BlueZ

Priority LOW 31CWE-400Published · Updated

Key facts

Attack vector
Adjacent network
Privileges required
None
User interaction
None
Attack complexity
Low
Impact type
Denial of service
Confidentiality · integrity · availability
None · None · High
Fix status
Partial Red Hat: 3 fixed, 2 without a fix

Attack profile from CVSS 3.1 · NVD. Fix status from CNA and Red Hat. Impact type from CWE-400.

Summary

BlueZ is a Bluetooth protocol stack for Linux. In affected versions a vulnerability exists in sdp_cstate_alloc_buf which allocates memory which will always be hung in the singly linked list of cstates and will not be freed. This will cause a memory leak over time. The data can be a very large object, which can be caused by an attacker continuously sending sdp packets and this may cause the service of the target device to crash.

Why it matters now

EPSS 0.01184 67th percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by NVD
Fix Partial Red Hat: 1 advisoryRed Hat: 3 fixed, 2 without a fix

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
BlueZbluez= 5.58—No fix listedCNA
  • bluez VendorBlueZ Affected = 5.58 Fixed in — No fix listed CNA

CPE configurations NVD · 3

CPEVersionsRoleVendor
cpe:2.3:a:bluez:bluez:5.58:*:*:*:*:*:*:*5.58VulnerableBlueZ
cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*9.0VulnerableDebian
cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*10.0VulnerableDebian
  • cpe:2.3:a:bluez:bluez:5.58:*:*:*:*:*:*:* Versions 5.58 Vulnerable ·BlueZ
  • cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:* Versions 9.0 Vulnerable ·Debian
  • cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:* Versions 10.0 Vulnerable ·Debian

Remediation

Red Hat 1 advisory

  • RHSA-2022:2081 Released 2022-05-10 · Red Hat rating Low
    bluez security update
    • Red Hat Enterprise Linux AppStream (v. 8) bluez-cups-5.56-3.el8
    • Red Hat Enterprise Linux BaseOS (v. 8) bluez-5.56-3.el8, bluez-hid2hci-5.56-3.el8, bluez-libs-5.56-3.el8 +1
    • Red Hat Enterprise Linux CRB (v. 8) bluez-libs-devel-5.56-3.el8

Vendor assessments

Red Hat

Red Hat rating: Low. Red Hat's page for this CVE →

ProductStatusPlan or fix
Red Hat Enterprise Linux 6AffectedNo fix planned: Out of support scope
Red Hat Enterprise Linux 7AffectedNo fix planned: Out of support scope
Red Hat Enterprise Linux AppStream (v. 8)Fixed RHSA-2022:2081
Red Hat Enterprise Linux BaseOS (v. 8)Fixed RHSA-2022:2081
Red Hat Enterprise Linux CRB (v. 8)Fixed RHSA-2022:2081
Not affected: 1 product
  • Red Hat Enterprise Linux 9

Timeline

  1. 2026-10-02 Threatist record created from CVE-2021-41229

References

  • TI-2020-16504 In BlueZ before 5.55, a double free was found in the gatttool disconnect_cb() routine… CVSS 3.1HIGH 8.6
  • TI-2024-08171 Improper access control in BlueZ CVSS 3.1HIGH 8.8
  • TI-2022-00141 Memory corruption in bluez CVSS 3.1HIGH 8.8
  • TI-2021-19345 An issue was discovered in gatt-database.c in BlueZ 5.61. CVSS 3.1CRITICAL 9.1
  • TI-2019-06435 A heap-based buffer overflow was discovered in bluetoothd in BlueZ through 5.48. CVSS 3.1HIGH 8.8
  • TI-2023-27461 Heap-based buffer overflow in BlueZ CVSS 3.1HIGH 8.0
See all 36 →

Sources